'How to generate documentation using Pydoc

I need to generate documentation from comments using pydoc. What are the basic steps to do that?



Solution 1:[1]

Alternatively, if you want a simple text file instead of HTML, you can redirect the console output to a file with this simple command:

$ pydoc myproject > helpfile.txt

This file can be printed or uploaded to Github without too much additional effort.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 clemens