Skip to main content

Module for build 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

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:
  --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.2.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gen_doc-0.1.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file gen_doc-0.1.2.tar.gz.

File metadata

  • Download URL: gen_doc-0.1.2.tar.gz
  • Upload date:
  • Size: 19.2 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

Hashes for gen_doc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 522093de955ea1bcd0d1136924379bb3f10da154c8bb826003d1a415a975e8fc
MD5 e897e66ae5a552641880bd9ac3cd5e96
BLAKE2b-256 50b7516aa58a32b0a5ddb8c098852f988d8926c8aa4b6e9e8d04494551f2f795

See more details on using hashes here.

File details

Details for the file gen_doc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gen_doc-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.7 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

Hashes for gen_doc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8465446a2dbb8afad91cf55f2b57a7b7a9d26cc742e9fb0fbcf88fd6696ac34
MD5 4361f216dd32d76407e0038198c8d977
BLAKE2b-256 74d608b1123140d987fb958cd2cd19267da1e2682df527249e953767dfe651c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page