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
File details
Details for the file pydoc_fork-3.1.9-py3-none-any.whl
.
File metadata
- Download URL: pydoc_fork-3.1.9-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c23965659560ff96f5567273a4468f24c622e24c3798570af23db8329939416d |
|
MD5 | c78ae09036db8d441821271a8b2da521 |
|
BLAKE2b-256 | 32ba98daba0fbead37f6f51f2015949d45fd2152123065f163b76953ba1ed5de |