Chalice route reStructuredText autodoc directive for docutils/Sphinx.
Project description
Chalicedoc makes documenting Chalice applications easier.
This module adds a “chalice” domain for reStructuredText, which can be used by Sphinx/docutils to autogenerate documentation of your chalice routes using the docstrings in your Chalice app.
Usage (Sphinx)
Usage is simple. First, you must include the chalicedoc module in your extensions list in conf.py:
extensions = [
...,
'chalicedoc',
]
Next, within your .rst source, use the “chalice:project” directive to scan your app for docstrings:
.. chalice:project:: path/to/chalice/project
This will product output as follows:
The title will be adapted from the chalice app_name
The docstring of your module will be included as a summary
For each route:
The path will be added as a section title
The method will be added as a section subtitle
The docstring of the corresponding function will be used as the section content
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chalicedoc-0.3.tar.gz.
File metadata
- Download URL: chalicedoc-0.3.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288b31d803644173acefbacf0f8e37eeeb1c4a24c89f5f59d1cb92d66c72e357
|
|
| MD5 |
7fdf3097405199dcde5761ed46b447be
|
|
| BLAKE2b-256 |
f9d56bd578e85f122911bf10051a68ff2aa42dca7615350f7a7439aaebaff98a
|
File details
Details for the file chalicedoc-0.3-py2.py3-none-any.whl.
File metadata
- Download URL: chalicedoc-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
627bcd5b28fff9f7172bf54c6a55ce3ce01198026424d583ae415b331255f707
|
|
| MD5 |
0cf312fa6e88071e9404c2785b8c243a
|
|
| BLAKE2b-256 |
001d30609f4b23aab4ab78985eda469be3b7c03e7d2f066a0f73c8541a2476fb
|