Questions tagged [epydoc]

Epydoc is a tool for generating API documentation for Python modules, based on their docstrings.

Automatic reference documentation generator. Epydoc processes Python modules and docstrings to generate formatted API documentation, in the form of HTML pages. Epydoc can be used via a command-line interface (epydoc.cli) and a graphical interface (epydoc.gui). Both interfaces let the user specify a set of modules or other objects to document, and produce API documentation using the following steps:

  1. Extract basic information about the specified objects, and objects that are related to them (such as the values defined by a module). This can be done via introspection, parsing, or both:
    • Introspection imports the objects, and examines them directly using Python's introspection mechanisms.
    • Parsing reads the Python source files that define the objects, and extracts information from those files.
  2. Combine and process that information.
    • Merging: Merge the information obtained from introspection & parsing each object into a single structure.
    • Linking: Replace any "pointers" that were created for imported variables with the documentation that they point to.
    • Naming: Assign unique canonical names to each of the specified objects, and any related objects.
    • Docstrings: Parse the docstrings of each of the specified objects.
    • Inheritance: Add variables to classes for any values that they inherit from their base classes.
  3. Generate output. Output can be generated in a variety of formats:
    • An webpage.
    • A document (which can be rendered as a PDF file)
    • A plaintext description.
35 questions
0
votes
1 answer

epydoc executes python file

i have a python file with several classes in it and wanted to use epydoc to create a documentation from my comments. So i do on console on my Debian wheezy system: epydoc --html storage_config_tool.py -o ~/ It always executes the python application…
boFFeL
  • 31
  • 5
0
votes
1 answer

Documenting tags in between paragraphs in Pythons Epydoc

I'm writing documentation for methods in python that is supposed to be available for end users to read through. I'm using Epydoc field tags to document the argument based on requirements given to me, and am trying to put the parameter description in…
Christian Boler
  • 151
  • 2
  • 17
0
votes
1 answer

How to make epydoc show parameters in function prototype?

Using epydoc, version 3.0.1. I tried this simple thing : def SetNetwork(self, PyLabNetwork net): """ Set the net !!! @param self: How long they should think. @type self: C{int} or L{PyLabNetwork} @param net: How long they should…
Gauthier Boaglio
  • 10,054
  • 5
  • 48
  • 85
0
votes
0 answers

epydoc warning with @abstractproperry

I dont what I am missing but the following code: from abc import ABCMeta, abstractproperty class Abstra(object): __metaclass__ = ABCMeta def __init__(self): self.var = 77 @abstractproperty def varb(self): ''' …
Parham
  • 3,157
  • 4
  • 31
  • 44
0
votes
3 answers

Run epydoc and/or pylint builders from scons file

How would I create builders that runs epydoc or/and pylint from a scons built?
Sardathrion - against SE abuse
  • 17,269
  • 27
  • 101
  • 156
1 2
3