PYDOCTOR(1)
β¨ PYDOCTOR β¨
okay so bestie, welcome to the User Commands section of the manual, and lemme tell you about pydoctor π
πΈ NAME πΈ
pydoctor β an API documentation generator for Python. that's it, that's the vibe π«Ά
π SYNOPSIS π
pydoctor [options]
that's literally the whole thing. just options. she's low maintenance like that β¨
π¦ DESCRIPTION π¦
Pydoctor is an API documentation generator that works primarily by static analysis. no cap.
she was written primarily to replace epydoc for the purposes of the Twisted project, because epydoc has difficulties with zope.interface π but bestie, she can be used for non-Zope Python code as well. she's not gatekeeping π
π OPTIONS π
-h,--helpβ show this help message and exit. iconic. the classic. π«Ά-c CONFIGFILE,--config=CONFIGFILEβ Use config from this file. note that any command line options override settings from the file, so the command line is the main character here π-p INPUTPICKLE,--input-pickle=INPUTPICKLEβ Load the system from this pickle file. default: none, meaning a blank system is created instead π-o OUTPUTPICKLE,--output-pickle=OUTPUTPICKLEβ Save the system to this pickle file. default: none, so the system is not saved by default. she's keeping her secrets π--extra-system=SYS:URLPREFIXβ Look for objects in this system too. links to these objects will haveURLPREFIXprepended to them β¨--system-class=SYSTEMCLASSβ A dotted name of the class to use to make a system.--project-name=PROJECTNAMEβ The project name, appears in the html.--project-url=PROJECTURLβ The project url, appears in the html if given.--project-base-dir=PROJECTBASEDIRECTORYβ Absolute path to the base directory of the project. source links will be computed based on this value.--testingβ Don't complain if the run doesn't have any effects. no drama mode π--pdbβ Like py.test's--pdb.--make-htmlβ Produce html output.--serverβ Serve HTML on a local server.--server-port=SERVER_PORTβ The port for--serverto use.--local-onlyβ Bind the server to localhost only. she stays home π--facing-path=FACING_PATHβ Set up a VHostMonster, with all the confusion that implies π--editβ When serving HTML, allow editing.--no-checkβ When serving HTML and allow editing, don't check all docstrings first.--add-package=PACKAGEDIRβ Add a package to the system. Can be repeated to add more than one package. the more the merrier π--add-module=MODULEβ Add a module to the system. Can be repeated.--prepend-package=PREPENDEDPACKAGEβ Pretend that all packages are within this one. can be used to document part of a package β¨--resolve-aliasesβ This updates references to classes imported from a module into which they were imported, to references to where they are defined. she's putting things back where they belong π--abbreviate-specialcase=ABBREVMAPPINGβ This is a comma-separated list ofkey=valuepairs. where any key corresponds to a module name and value is the desired abbreviation. This can be used to resolve conflicts with abbreviation where you have two or more modules that start with the same letter. Example:twistedcaldav=tcd. π--docformat=DOCFORMATβ Which epydoc-supported format docstrings are assumed to be in.--html-subject=HTMLSUBJECTSβ The fullName of object to generate API docs for. default: everything. she's an overachiever, she ate π--html-summary-pagesβ Only generate the summary pages.--html-write-function-pagesβ Make individual HTML files for every function and method. They're not linked to in any pydoctor-generated HTML, but they can be useful for third-party linking. iykyk π₯--html-output=HTMLOUTPUTβ Directory to save HTML files to. default'apidocs'.--html-writer=HTMLWRITERβ Dotted name of html writer class to use. default'pydoctor.nevowhtml.NevowWriter', which requires Divmod Nevow to be installed π--html-viewsource-base=HTMLSOURCEBASEβ This should be the path to the trac browser for the top of the svn checkout we are documenting part of.--html-use-sorttableβ Use the sorttable JS library to make tables of package, module and class contents sortable β¨--html-use-splitlinksβ Generate (unobstrusive) JavaScript to allow class methods to be shown either in one table per base class or in one big table.--html-shorten-listsβ Generate (unobstrusive) JavaScript to hide some of the entries in long lists of e.g. subclasses.--livecheckβ Import and examine the modules too. XXX not working right now π bestie she's going through something, be gentle-v,--verboseβ Be noisier. Can be repeated for more noise. π£οΈ-q,--quietβ Be quieter. π€«--autoβ Automagic mode: analyze all modules and packages in the current working directory and run a local server that allows examination and editing of the docstrings. main character energy fr fr β¨--verbose-about=stageβ Be noiser during a particular stage of generation.
π SEE ALSO π
- Homepage:
http://launchpad.net/pydoctorπ¦ - Other Python API documentation generators:
epydoc(1),pydoc(1)π
π LICENSE π
pydoctor is licensed under the simplified BSD license.
β AUTHORS β
pydoctor was written and is maintained by Michael Hudson.
This manual page was written by Jelmer Vernooij <jelmer@debian.org>, for the Debian project (and may be used by others).
and that's the whole page bestie!! this was pydoctor version 0.3, dated December 2010, from the User Commands manual, page PYDOCTOR(1). slay, go document something gorgeous π
β¨π«Ά
π¦ where this page comes from
- debian bookworm: pydoctor 22.9.1-4 Β· MIT
- debian trixie: pydoctor 24.11.2-1 Β· MIT
- ubuntu jammy: pydoctor 21.12.1-1 Β· MIT
- ubuntu noble: pydoctor 23.9.1-1 Β· MIT
- ubuntu questing: pydoctor 24.11.2-1
- ubuntu resolute: pydoctor 25.4.0-2 Β· MIT
- ubuntu stonking: pydoctor 25.4.0-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms