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.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

docsgen-0.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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