Skip to main content

a tool to check/update simple file/shell examples in documentation

Project description


re-render examples in documentation

regendoc copies examples from documentation into custom folders and renders it

.. code:: python

   # content of

   def test_fun():

.. code:: text

   $ pytest
   ============================= 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 .                                                             [100%]

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regendoc-0.9.0.tar.gz (15.4 kB view hashes)

Uploaded source

Built Distribution

regendoc-0.9.0-py3-none-any.whl (12.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page