API doc generator.
Project description
This is 'pydoctor', an API documentation generator that works by
static analysis.
It was written primarily to replace epydoc for the purposes of the
Twisted project as epydoc has difficulties with zope.interface. If it
happens to work for your code too, that's a nice bonus :)
pydoctor puts a fair bit of effort into resolving imports and
computing inheritance hierarchies and, as it aims at documenting
Twisted, knows about zope.interface's declaration API and can present
information about which classes implement which interface, and vice
versa.
The default HTML generator requires Twisted.
There are some more notes in the doc/ subdirectory.
Sphinx Integration
------------------
HTML generator will also generate a Sphinx objects inventory using the
following mapping:
* packages, modules -> py:mod:
* classes -> py:class:
* functions -> py:func:
* methods -> py:meth:
* attributes -> py:attr:
Configure Sphinx intersphinx extension:
intersphinx_mapping = {
'pydoctor': ('http://domain.tld/api', None),
}
Use external references::
:py:func:`External API <pydoctor:pydoctor.model.Documentable.reparent>`
:py:mod:`pydoctor:pydoctor`
:py:mod:`pydoctor:pydoctor.model`
:py:func:`pydoctor:pydoctor.driver.getparser`
:py:class:`pydoctor:pydoctor.model.Documentable`
:py:meth:`pydoctor:pydoctor.model.Documentable.reparent`
:py:attr:`pydoctor:pydoctor.model.Documentable.kind`
It can link to external API documentation using Sphinx objects inventory using
the following cumulative configuration option::
--intersphinx=http://sphinx-doc.org/objects.inv
static analysis.
It was written primarily to replace epydoc for the purposes of the
Twisted project as epydoc has difficulties with zope.interface. If it
happens to work for your code too, that's a nice bonus :)
pydoctor puts a fair bit of effort into resolving imports and
computing inheritance hierarchies and, as it aims at documenting
Twisted, knows about zope.interface's declaration API and can present
information about which classes implement which interface, and vice
versa.
The default HTML generator requires Twisted.
There are some more notes in the doc/ subdirectory.
Sphinx Integration
------------------
HTML generator will also generate a Sphinx objects inventory using the
following mapping:
* packages, modules -> py:mod:
* classes -> py:class:
* functions -> py:func:
* methods -> py:meth:
* attributes -> py:attr:
Configure Sphinx intersphinx extension:
intersphinx_mapping = {
'pydoctor': ('http://domain.tld/api', None),
}
Use external references::
:py:func:`External API <pydoctor:pydoctor.model.Documentable.reparent>`
:py:mod:`pydoctor:pydoctor`
:py:mod:`pydoctor:pydoctor.model`
:py:func:`pydoctor:pydoctor.driver.getparser`
:py:class:`pydoctor:pydoctor.model.Documentable`
:py:meth:`pydoctor:pydoctor.model.Documentable.reparent`
:py:attr:`pydoctor:pydoctor.model.Documentable.kind`
It can link to external API documentation using Sphinx objects inventory using
the following cumulative configuration option::
--intersphinx=http://sphinx-doc.org/objects.inv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydoctor-0.6b1.tar.gz
(102.3 kB
view details)
File details
Details for the file pydoctor-0.6b1.tar.gz
.
File metadata
- Download URL: pydoctor-0.6b1.tar.gz
- Upload date:
- Size: 102.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7306d86287fe7f4fd2c4b98d48f96eb28c7f6956e79b950eb9c78e3a2b66c8ba |
|
MD5 | 2725b45375c433e558dce6ad127d1148 |
|
BLAKE2b-256 | d8c2faa465399783b33d83abc1a6a076f8f3b5129eff03d5f61d326e434ce092 |