Library to generate documentation
Project description
gen_doc
- Library to generate documentation
Installation
pip install gen_doc
What it does?
- aggregates all
.py
files into one or multiple.md
files, keeping the same hierarchy - collects all classes and methods with their information
- parses
google
&sphinx
py docstrings.
How to use:
- install the library
- in your project directory open the terminal
- run the command
gen_doc init
- adjust config file accordingly
- run the command
gen_doc build -c
Details
General
Usage: gen_doc [OPTIONS] COMMAND [ARGS]...
Utility for generating project documentation from docstrings
Options:
-v, --version Get library version
-i, --init Init gen_doc config with default parameters
-b, --build Build documentation by config
--help Show this message and exit.
Commands:
build Build documentation
init To init config file in order to generate documentation.
Init
Usage: gen_doc init [OPTIONS]
To init config file in order to generate documentation.
Options:
-f, --file-config TEXT Config file name [default: gen_doc.yaml]
-o, --overwrite To overwrite, in case file already exists
--help Show this message and exit.
Build
Usage: gen_doc build [OPTIONS] [[py]]
Build documentation
Options:
-sm, --save-mode [md] Save mode
-hi, --hierarchically Extract with the same hierarchy
-o, --overwrite To overwrite, in case file already exists
-p2r, --path-to-root TEXT Path to the directory for which documentation
should be compiled
-p2s, --path-to-save TEXT Path to the directory where the documentation
should be saved
-f2s, --file-to-save TEXT Path to the directory where the documentation
should be saved
-c, --config Use config to build documentation.
-f, --file-config TEXT Config file name [default: gen_doc.yaml]
--help Show this message and exit.
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
gen_doc-0.1.3.tar.gz
(23.0 kB
view details)
Built Distribution
gen_doc-0.1.3-py3-none-any.whl
(30.1 kB
view details)
File details
Details for the file gen_doc-0.1.3.tar.gz
.
File metadata
- Download URL: gen_doc-0.1.3.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20dd326c1efa5681838570f7644ea8519f3f9797ef7f65507580da736f3996e2 |
|
MD5 | c2a50d2105a253135c1c0daee66b2109 |
|
BLAKE2b-256 | 67a38dba76fd51eb2b7e2b4f0ea7712b4386e4b35e170efbe59d7e8294971380 |
File details
Details for the file gen_doc-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: gen_doc-0.1.3-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1861e6b1a6defcd6eb14d4337db586825f949e68be0f4c2c57941a0b8c0b403a |
|
MD5 | 2b29d07d86b6ca8610ae358bd36dd6ff |
|
BLAKE2b-256 | 9fe176730a26f1da14b4aa8dda0aa342d12dea7e686ba4846bcefc6fd1b1eff4 |