跳转到主要内容

检查/更新文档中简单文件/外壳示例的工具

项目描述

regendoc

重新渲染文档中的示例

regendoc 将文档中的示例复制到自定义文件夹并渲染

.. code:: python

   # content of example.py

   def test_fun():
      pass


.. code:: text

   $ pytest example.py
   ============================= test session starts ==============================
   platform linux -- Python 3.9.7, pytest-6.3.0.dev685+g581b021aa.d20210918, py-1.10.0, pluggy-1.0.0
   rootdir: /path/to/example
   plugins: hypothesis-6.14.8
   collected 1 item

   example.py .                                                             [100%]

   ============================== 1 passed in 0.01s ===============================

项目详情


下载文件

下载适合您平台文件的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

regendoc-0.9.0.tar.gz (15.4 kB 查看哈希值)

上传时间:

构建分布

regendoc-0.9.0-py3-none-any.whl (12.9 kB 查看哈希值)

上传时间: Python 3

由以下支持