Skip to main content

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.

Metadata

Release files for gen-doc 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gen-doc 0.1.4
File Size Uploaded
gen_doc-0.1.4.tar.gz 22.8 kB Details

Release files / gen_doc-0.1.4.tar.gz

Download URL gen_doc-0.1.4.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
85de47e1ccaf474cbf306092e3b4dccf904290db1d5e0224b47fc1ca83543f75
BLAKE2b-256 checksum
How to use checksums
00388e050d4beb119d2a733c3500851fcb2a61eba058c71b3cc3c6397a6af3e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

3 release files

0.0.3

1 release file

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page