This project has been archived by its maintainers, and is no longer receiving any updates.
This is a Python package for automatically building the documentation pages to document a given Python package using Sphinx. gendocs allows users to keep all of their documentation directly within their packages as pages are generated directly from the docstrings in the code!
Connections
Want to see examples? Check out one of the following projects which use gendocs:
PVGeo: A Python package for visualizing geophysical data in VTK and ParaView
ESPA Tools: A Python package for simple loading of Landsat imagery as NumPy arrays
Get Started
Install gendocs from PyPI:
$ pip install gendocs
Usage
Already have a Python package in need of automatic documentation? Follow these steps.
This generator is built for Sphinx (RST) documentation. To document your package, setup sphinx and a conf.py then add the following somewhere near the top of your conf.py:
# Import the package to document:
import wonderfulpackage
# Automatically generate documentation pages
from gendocs import Generator
Generator().DocumentPackages(wonderfulpackage)
That’s it! That code block above is all you need to do to document your package(s) thoroughly. Now you can build the Sphinx documentation, and all docs pages will be automatically generated.
Let People Know
If your project generates documentation automatically, please add a badge to your project to let people know! We hope that these badges will stir curiosity, involvement, and community contributions to the gendocs package.
Markdown:
[](https://gendocs.readthedocs.io/en/latest/)
RST / Sphinx:
.. image:: https://img.shields.io/badge/docs%20by-gendocs-blue.svg
:target: https://gendocs.readthedocs.io/en/latest/
:alt: Documentation Built by gendocs
Contribute
Check out gendocs of GitHub to Contribute and make automatic documentation even better!
Release files for gendocs 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gendocs-0.4.0.tar.gz | 8.1 kB | Details |
Release files / gendocs-0.4.0.tar.gz
| Download URL | gendocs-0.4.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2658cf14fbce025c05443d470456135f4ec6156cbfab27149b9541f3cc687d46
|
|
BLAKE2b-256 checksum How to use checksums |
b2561b5587b42d7ed92a21055bccf355b6470bd042fe042ccfdc8b1b7bda5fb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14
|