Skip to main content

Sphinx extension for documenting your Pyramid APIs.

Project description

pyramid_autodoc

Sphinx extension for documenting your Pyramid APIs.

Install

pip install pyramid_autodoc

Getting Started

To use pyramid_autodoc you just need to add it to the extensions section of your Sphinx conf.py file:

# conf.py
extensions = [..., 'pyramid_autodoc']

Then just create a new .rst document that uses the pyramid-autodoc directive and provide the path to your Pyramid’s .ini file. Here is an example:

Welcome to my Pyramid app's API docs
====================================

These are the best APIs in the world!

.. pyramid-autodoc::
   :ini: /path/to/development.ini

Then you can just run your sphinx-build command and it will autogenerate API documentation from your Pyramid routes and view docstrings.

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

pyramid_autodoc-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file pyramid_autodoc-0.0.2.tar.gz.

File metadata

File hashes

Hashes for pyramid_autodoc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2e79432c68157fb539d5bcba6a2a45abd854e208615780a64f6dcecd352a7a4e
MD5 feb6297bba86b784ec0da3bc69427df2
BLAKE2b-256 5d35a442daa9b8ebf9b1b6f0dcfba3c5400a3a42b9cc2f7ab8d30e7bb0d4d7dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page