usage: sphinx-apidoc [OPTIONS] -o [EXCLUDE_PATTERN, ...] Look recursively in for Python modules and packages and create one reST file with automodule directives per package in the . The s can be file and/or directory patterns that will be excluded from generation. Note: By default this script will not overwrite already created files. positional arguments: module_path path to module to document exclude_pattern fnmatch-style file and/or directory patterns to exclude from generation options: -h, --help show this help message and exit --version show program's version number and exit -o DESTDIR, --output-dir DESTDIR directory to place all output -q no output on stdout, just warnings on stderr -d MAXDEPTH, --maxdepth MAXDEPTH maximum depth of submodules to show in the TOC (default: 4) -f, --force overwrite existing files -l, --follow-links follow symbolic links. Powerful when combined with collective.recipe.omelette. -n, --dry-run run the script without creating files -e, --separate put documentation for each module on its own page -P, --private include "_private" modules --tocfile TOCFILE filename of table of contents (default: modules) -T, --no-toc don't create a table of contents file -E, --no-headings don't create headings for the module/package packages (e.g. when the docstrings already contain them) -M, --module-first put module documentation before submodule documentation --implicit-namespaces interpret module paths according to PEP-0420 implicit namespaces specification -s SUFFIX, --suffix SUFFIX file suffix (default: rst) --remove-old Remove existing files in the output directory that were not generated -F, --full generate a full project with sphinx-quickstart -a, --append-syspath append module_path to sys.path, used when --full is given -H HEADER, --doc-project HEADER project name (default: root module name) -A AUTHOR, --doc-author AUTHOR project author(s), used when --full is given -V VERSION, --doc-version VERSION project version, used when --full is given -R RELEASE, --doc-release RELEASE project release, used when --full is given, defaults to --doc-version extension options: --extensions EXTENSIONS enable arbitrary extensions --ext-autodoc enable autodoc extension --ext-doctest enable doctest extension --ext-intersphinx enable intersphinx extension --ext-todo enable todo extension --ext-coverage enable coverage extension --ext-imgmath enable imgmath extension --ext-mathjax enable mathjax extension --ext-ifconfig enable ifconfig extension --ext-viewcode enable viewcode extension --ext-githubpages enable githubpages extension Project templating: -t TEMPLATEDIR, --templatedir TEMPLATEDIR template directory for template files For more information, visit .