Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdoc3/pdoc
:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://github.com/pdoc3/pdoc
api-documentation docs docs-generator docstring docstring-documentation docstrings documentation documentation-dumper documentation-generator documentation-tool generator hacktoberfest pdoc python python3
Last synced: 2 days ago
JSON representation
:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
- Host: GitHub
- URL: https://github.com/pdoc3/pdoc
- Owner: pdoc3
- License: agpl-3.0
- Created: 2019-01-02T02:32:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T06:47:58.000Z (4 months ago)
- Last Synced: 2024-10-29T15:38:11.106Z (about 1 month ago)
- Topics: api-documentation, docs, docs-generator, docstring, docstring-documentation, docstrings, documentation, documentation-dumper, documentation-generator, documentation-tool, generator, hacktoberfest, pdoc, python, python3
- Language: Python
- Homepage: https://pdoc3.github.io/pdoc/
- Size: 1.79 MB
- Stars: 1,128
- Watchers: 10
- Forks: 145
- Open Issues: 115
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- best-of-python-dev - GitHub - 37% open · ⏱️ 11.03.2024): (Documentation)
README
[![](https://i.imgur.com/kQOtbBk.png)](https://pdoc3.github.io/pdoc/)
pdoc
====
[![Build Status](https://img.shields.io/github/actions/workflow/status/pdoc3/pdoc/ci.yml?branch=master&style=for-the-badge)](https://github.com/pdoc3/pdoc/actions)
[![Code Coverage](https://img.shields.io/codecov/c/gh/pdoc3/pdoc.svg?style=for-the-badge)](https://codecov.io/gh/pdoc3/pdoc)
[![pdoc3 on PyPI](https://img.shields.io/pypi/v/pdoc3.svg?color=blue&style=for-the-badge)](https://pypi.org/project/pdoc3)
[![package downloads](https://img.shields.io/pypi/dm/pdoc3.svg?color=skyblue&style=for-the-badge)](https://pypi.org/project/pdoc3)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/kernc?color=pink&style=for-the-badge)](https://github.com/sponsors/kernc)Auto-generate API documentation for Python 3+ projects.
[**Project website**](https://pdoc3.github.io/pdoc/)
[Documentation]
[Documentation]: https://pdoc3.github.io/pdoc/doc/pdoc/
Installation
------------$ pip install pdoc3
Usage
-----
Pdoc will accept a Python module file, package directory or an import path.$ pdoc your_project
See `pdoc --help` for more command-line switches and the [documentation]
for more usage examples.Features
--------
* Simple usage. Generate sensible API (+ prose) documentation without any
special configuration.
* Support for common [docstrings formats] (Markdown, numpydoc, Google-style docstrings),
LaTeX math, and some [reST directives].
* Support for [PEP 484] and [PEP 526] type annotations.
* pdoc respects [`__all__`] when present.
* Docstrings for overridden class members are [inherited] if unspecified.
* Support for documenting module, class, and instance [_variables_] by traversing ASTs.
* Automatic [cross-linking] of referenced identifiers.
* Overriding docstrings generation with special module-level [`__pdoc__` dictionary].
* Easily extended and [customized templates].
* Built-in [development web server] for near-instant preview of rendered docstrings.The above features are explained in more detail in pdoc's [documentation]
(generated with pdoc).[docstrings formats]: https://pdoc3.github.io/pdoc/doc/pdoc/#supported-docstring-formats
[reST directives]: https://pdoc3.github.io/pdoc/doc/pdoc/#supported-rest-directives
[PEP 484]: https://www.python.org/dev/peps/pep-0484/
[PEP 526]: https://www.python.org/dev/peps/pep-0526/
[`__all__`]: https://pdoc3.github.io/pdoc/doc/pdoc/#what-objects-are-documented
[inherited]: https://pdoc3.github.io/pdoc/doc/pdoc/#docstrings-inheritance
[_variables_]: https://pdoc3.github.io/pdoc/doc/pdoc/#docstrings-for-variables
[cross-linking]: https://pdoc3.github.io/pdoc/doc/pdoc/#linking-to-other-identifiers
[`__pdoc__` dictionary]: https://pdoc3.github.io/pdoc/doc/pdoc/#overriding-docstrings-with-__pdoc__
[customized templates]: https://pdoc3.github.io/pdoc/doc/pdoc/#custom-templates
[development web server]: https://pdoc3.github.io/pdoc/doc/pdoc/#command-line-interfaceDevelopment
-----------
Check [CONTRIBUTING.md](CONTRIBUTING.md) for hacking details.