Skip to main content

Fork of cpython's pydoc module to do just html document generation

Project description

pydoc_fork

A fork of pydoc to optimize it for generating, on a build server, html documentation for a python library you wrote

Less ambitious than the very good pdoc3 and easier to use than Sphinx

Installation

Requires Python 3.8+

pip install pydoc_fork

# or virtual environment access
pipenv install pydoc_fork

# WARNING- installation by pipx will only allow for doc generation of the python standard library!
pipx install pydoc_fork

Usage

# Generate HTML for all modules and submodules from source code
pydoc_fork my_module --output docs --document_internals

# Generate HTML for a module that is importable, e.g. sys
pydoc_fork sys --output docs

Docs

pydoc_fork documented in several ways:

Credits

Forked from pydoc in python 3.10.

That code is governed by the cpython license

I picked a MIT license, but I'm no lawyer, the cpython license probably governs in any conflict.

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

pydoc_fork-3.3.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

pydoc_fork-3.3.0-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file pydoc_fork-3.3.0.tar.gz.

File metadata

  • Download URL: pydoc_fork-3.3.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pydoc_fork-3.3.0.tar.gz
Algorithm Hash digest
SHA256 ac35a98faad5731263dbdcc0cc8fbe3cd085bc7d71df54eb19c1fbda835aab0f
MD5 2b311421c990c963986154b2675fd7dd
BLAKE2b-256 af80d3e988bdb729df73ad388ce0bf21e82c13adf0d84c8e58b7729748c2cab8

See more details on using hashes here.

File details

Details for the file pydoc_fork-3.3.0-py3-none-any.whl.

File metadata

  • Download URL: pydoc_fork-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pydoc_fork-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f4cbd6cf81648f296b257a768ad28ef550487c2adcf9b85a8a0d7eba6c8f005
MD5 2fd8c1eb62dfcb03bd3cf40a37ee3771
BLAKE2b-256 57d4a0f742c96437675d9442cf711aae1c858b4f106115541fc8884b74692118

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