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.6+, according to vermin

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 python 3.10. https://github.com/python/cpython/blob/3.10/Lib/pydoc.py

That code is governed by this license https://github.com/python/cpython/blob/main/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.2.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

pydoc_fork-3.2.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydoc_fork-3.2.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for pydoc_fork-3.2.0.tar.gz
Algorithm Hash digest
SHA256 1699f058c26ad5ac666ea47fe657373f105b4726f33caccbe2a1d968c62f373d
MD5 09615547e3d4281deb1305e54bb82f5f
BLAKE2b-256 bbaf17b026466ee6193922ea7257c2b92b7a763d7a9abdbbb094b5f0a529b6d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydoc_fork-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for pydoc_fork-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97f6f10f249a476a22a9868ff4c06dd71d4cbfed40063631a273782c1c336b1e
MD5 07d02f76a8dc530dc07ddd7deff2e12f
BLAKE2b-256 1381095edea47cc7d73dfa1a53441cb12c07c52addd1e9fdf4cdb8918d0fd8cb

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