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.14-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydoc_fork-3.1.14-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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 321d5907dc2165eee919b7484430b38d91796e264bf43e84fc287e591133b3ee
MD5 fe308757d236221a1f373317ba522006
BLAKE2b-256 ca9e8a60aa063f31b45c89147e69a1d79ecba92d4135fb0a5de75feb88e44832

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