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 have URLPREFIX prepended 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 --server to 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 of key=value pairs. 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 🌈


πŸ’œ 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