Python to MD documentation generator
Project description
docpy
This package auto-generates Markdown documentation from Python files.
Installation
This package is installed using pip:
pip install docpy
Usage
This package is used from the command line:
docpy ...
The package help entry is given below.
usage: docpy [-h] [-a APPEND] [-o OUT] [-s SUB] [-t TEMP] ...
generate Markdown documentation for Python files
positional arguments:
files files to be documented
optional arguments:
-h, --help show this help message and exit
-a APPEND, --append APPEND
file to which to append generated Markdown
-o OUT, --output OUT file to save generated Markdown to
-s SUB, --sub SUB file with ::DOCUMENTATION:: tag to replace Markdown
-t TEMP, --template TEMP
template file with ::DOCUMENTATION:: tag, needs OUT
argument
Templates
You can define a Markdown template in which your documentation will be placed using the -t flag, which must be used in conjunction with the -o flag. In your template, just put ::DOCUMENTATION:: where you want the documentation to be placed. For example,
# This is a markdown file.
My docs are below:
::DOCUMENTATION::
_this concludes the documentation._
Changelog
v0.1.1:
- Fixed formatting error in docstrings
v0.1.0:
- Initial release
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 docpy-0.1.1.tar.gz.
File metadata
- Download URL: docpy-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c51adab89d33859c62f2fc1f1ccccfc7eb79d6f67a22c574d6d1f975d34b5136
|
|
| MD5 |
b82aca0e5e67060b32cdd105aaf300a3
|
|
| BLAKE2b-256 |
bc82bec5e8c480dc40ff8a3bbbe8e9653b16e0cf7b5fb1b632db84c175279473
|
File details
Details for the file docpy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: docpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8033bbc9e98169a00efb36aac2633dd9e78d15bddaa76c0f8e51ebe443db943
|
|
| MD5 |
a6f32185529b1296deb027f0896e6ed5
|
|
| BLAKE2b-256 |
38dcff1299b59b5ad0cecc6f4a81c0c316a0111215fdcc2e3e6671396076d8aa
|