Skip to main content

DocsGen is a Python library that generates docs for python libs.

Project description

Documentation

  • DocsGen is a Python library that generates documentation for Python libraries.

  • Library Features:

    • Generates documentation in markdown format.
    • Simple to use.
    • Automatic documentation generation.
    • Supports creating examples for usage.

Example to load the library

from docsgen import *

DocsGen (class)


DocsGen.__init__ (method)

Description: Constructor for DocsGen.

Arguments:

lib_name: str 
directory_path: str 

Example for use:

docsgen = DocsGen(lib_name, directory_path)

DocsGen.write_documentation (method)

Description: Method to write the documentation.

Arguments:

This function has no arguments.

Returns:

NoneType

Returns Description: Returns nothing.

Example for use:

docsgen = DocsGen(lib_name, directory_path)
docsgen.write_documentation()

Command Line Interface (CLI)

To use the library's CLI, execute the following command:

docsgen lib_name, dir

This command generates documentation for the specified library (lib_name) located in the specified directory (dir).

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

docsgen-0.0.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

docsgen-0.0.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file docsgen-0.0.2.tar.gz.

File metadata

  • Download URL: docsgen-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for docsgen-0.0.2.tar.gz
Algorithm Hash digest
SHA256 917ec542a519d39f6d9a6fbf044d6b5ea7ca362cebf87216205df3ab1d31be5b
MD5 7bc1965a783646c30a19c6fecea3a933
BLAKE2b-256 f46c2208b093a8c4b913c130bee74cdb2a70a5f504c7d7a710dbfb02b74fadaa

See more details on using hashes here.

File details

Details for the file docsgen-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: docsgen-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for docsgen-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09b106aba1d5d25011ac097aabaff991ed96beba9a5f7bf17461b0a939ca91f2
MD5 7756f921fe925bfd43aa7039ada02d48
BLAKE2b-256 3ba2fcc215a921b7ff8a008ca25b02b68c4b7441845cca19c509cf270b90bec7

See more details on using hashes here.

Supported by

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