21
loading...
This website collects cookies to deliver better user experience
pdoc
, a lightweight documentationPython package pdoc
provides types, functions, and a command-line interface for accessing public documentation of Python modules, and for presenting it in a user-friendly, industry-standard open format. It is best suited for small- to medium-sized projects with tidy, hierarchical APIs.
pip
package, so a simple command-line installation will have you up and running in seconds. pdoc
is a lightweight alternative to Sphinx with minimal cognitive overhead. If you love Markdown
you'll probably love pdoc
. And if you don't love it, you'll like it.pdoc --PDF <filename>
pdoc --HTML <filename>
LaTeX
document that would make Donald Knuth smile. You can even push it to the arXiv and pretend you're a physicist.pdoc
to auto-generate the HTML documentation for the game. A few tweaks and it was fit to publish on the logline website.The overview effect is a cognitive shift in awareness reported by some astronauts during spaceflight, often while viewing the Earth from outer space.
pdoc
is how lightweight and fast it makes the docgen process. You can use it as part of an iterative development workflow --- to take a periodic birds-eye view of your code and survey the big picture.pdoc
, you're probably on the right path. Otherwise, it can help weed out faulty logic or potential missteps before they sabotage your script.