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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pydoc_fork-3.1.13-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydoc_fork-3.1.13-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1

File hashes

Hashes for pydoc_fork-3.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 6bf8cf0b04413bafdd6ea0e4042e1290c95f6eee3fef82466f21aed18f5a982b
MD5 9740b641220bef538a1a01a4863b43eb
BLAKE2b-256 8027013e93c343ea1907c4be8736f425bc8c2491ddb736d918d27eb467155dea

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