Why does epydoc render one of my epytext-formatted docstrings as plaintext? How can I exclude a specific object from the generated documentation?. The epytext markup language is used by epydoc to parse docstrings and create In particular, the following docstring generates an error, since the sublist is not . Epydoc can automatically generate a variety of graphs, including class tress, package trees, uml class graphs, and import graphs. These graphs may be.

Author: Mooguzahn Gardagis
Country: Netherlands
Language: English (Spanish)
Genre: Medical
Published (Last): 10 July 2008
Pages: 393
PDF File Size: 3.97 Mb
ePub File Size: 11.24 Mb
ISBN: 237-4-77225-199-7
Downloads: 5239
Price: Free* [*Free Regsitration Required]
Uploader: Nanris

This page explains how to use and navigate the webpage produced by epydoc.

python – How to generate pdf with epydoc? – Stack Overflow

This tag has the following syntax: A new interpreted text role will be created external-api: The following example shows how literal blocks can be used:. How to generate pdf with epydoc? The style option specifies whether packages should be displayed in a tree, or using nested UML symbols.

Epydoc can also be accessed programmatically; see epydoc’s API documentation for more information. No descr, No type If you’d like more fine-grained control over what gets checked, or you would like to check other fields such as the author or versionthen you should use the DocChecker class directly. The paragraph may be indented more than the list item’s bullet; often, the paragraph is intended two or three characters, so that its left margin lines up with the right side of the bullet.

Its paragraph is indented 7 spaces. Objects can be specified using dotted names such as ” os. This helps Epydoc to create relative urls: Section 2 This is a paragraph in section 2. This is another paragraph. This paragraph ends with two colons, but does not introduce a literal block:: Symbols Symbols are used to insert special characters in your documentation.


Epydoc also includes a graphical interface, for systems where command line interfaces are not convenient such as Windows.

No descr, No type.

The Epytext Markup Language

This option may be repeated to include multiple graph types in the output. In particular, loading the page ” redirect.

If you want to create indexed terms in reStructuredText modules, you can use the generae interpreted text role. A list of the modules that should be checked.

All of the blocks contained by a field must all have equal indentation, and that indentation must be greater than or equal to the indentation of the field’s tag. On Windows, this script is named epydoc.

This option was added in svn revisionand is not yet available in the most recent release. The command line interface, which is accessed via a script named epydoc or epydoc.

Epydoc: What’s New

The age of the fox in years “”” [ This may decrease the amount of information that epydoc can extract from your project. If you’d like more fine-grained control over what gets gneerate, or you would like to check other fields such as the author or versionthen you should use the DocChecker class directly.

These tags can be used to present groups eoydoc related items in geerate logical way. Improvements to Output Generation New output formats: Can be a URL, the name of a module or class, or one of the special names “trees. Configuration files, specified using the –config option, may be used to specify both the list of objects to document, and the options that should be used to document them.

The following example illustrates how fields can be used: For example, the following command generates API documentation for the existing regular expression package rewhich uses plaintext markup: The complete list of command line options is available in the Command Line Usage section. Follow the on-screen instructions. The following example which has an unusually high ratio of documentaiton to code illustrates some of the basic features of epytext: If you want to force Epydoc to classify as instance variable one whose default value is set at class level, you can describe it using the tag ivar in the context of a variable docstring:.


Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. Literal blocks are used to represent “preformatted” text.

What’s New in Epydoc

Doctest blocks may not contain blank lines. Graphs are generated using the Graphviz dot executable.

Note that the paragraph may be indented more than the bullet. Sections A section consists of a heading followed by one or genwrate child blocks.

Use the Sourceforge bug tracker to report bugs. Fields must be placed at the end of gennerate docstring, after the description of the object. Once you have added all of the modules that you wish to document, press the Start button. Epydoc uses that formatting and structure to produce nicely formatted API documentation.

See the Release Notes on SourceForge.