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

# or for global, isolated, access-- probably doesn't work!
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.8-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydoc_fork-3.1.8-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.7

File hashes

Hashes for pydoc_fork-3.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7c5b1c67393481b03d22e19e56f4520bff2909360e75337346e87633cbcc96a6
MD5 869f9622a7afa60c875ca6c600d1915c
BLAKE2b-256 a6a9adb1b9fd8d007ea43bcb0e15716ea5b9c95aa65c87afb100ddacbe2c6be1

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