Edgewall Software

Changes between Version 17 and Version 18 of TracDev/ApiDocs


Ignore:
Timestamp:
Feb 16, 2015, 8:57:14 AM (9 years ago)
Author:
figaro
Comment:

Reordered paragraph to match with table structure and removed caveat.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiDocs

    v17 v18  
    3737    //In italic: corresponds to the latest revision on the branch.//
    3838
     39For now, the two sets of documentations are complementary. Because epydoc is no longer maintained, the Sphinx documentation will take precedence.
     40
     41 apidoc :: Semi-automatic API documentation, generated using [http://sphinx.pocoo.org Sphinx]. \\
     42   Sphinx offers fine-grained control over the generated documentation and the order in which it appears. We've also written additional explanations and examples not present in the code. Therefore, this documentation reads better than the purely auto-generated manual. The downside is that we don't have yet full coverage of the API. //(introduced in Trac 1.0, work in progress)//
     43
    3944 apiref :: Full API reference, generated using [http://epydoc.sourceforge.net/ epydoc]. \\
    4045   With epydoc, the entirety of the API is covered, but there is less control over the generated output, as it only shows what is present in the source code. The documentation has a more auto-generated feel.
    4146
    42  apidoc :: Semi-automatic API documentation, generated using [http://sphinx.pocoo.org Sphinx]. \\
    43    Sphinx offers fine-grained control over the generated documentation and the order in which it appears. We've also written additional explanations and examples not present in the code. Therefore, this documentation reads better than the purely auto-generated manual. The downside is that we don't have yet full coverage of the API. //(work in progress)//
    44 
    45 For now, the two sets of documentations are complementary. Because epydoc is no longer maintained, the Sphinx documentation will take precedence.
    46 
    47 Note that starting from Trac 1.0, the quality of the generated documentation is gradually improved, because it was the release where this documentation method was introduced.
    48 
    4947== Generating the documentation
    50 
    51 === Epydoc — `make apiref`
    52 
    53 Once you have installed `epydoc`, go to your Trac trunk checkout and do:
    54 {{{
    55 $ make apiref
    56 }}}
    57 This will generate the `epydoc` documentation in `./build/doc/epydoc`, start with the `index.html` page.
    58 
    59 Note that while installing epydoc with `easy_install` might work on Linux (not tested), on Windows you should rather download and execute the Windows installer.
    6048
    6149=== Sphinx — `make apidoc`
     
    117105 * ..   autofunction :: validate_page_name
    118106}}}
     107
     108=== Epydoc — `make apiref`
     109
     110Once you have installed `epydoc`, go to your Trac trunk checkout and do:
     111{{{
     112$ make apiref
     113}}}
     114This will generate the `epydoc` documentation in `./build/doc/epydoc`, start with the `index.html` page.
     115
     116Note that while installing epydoc with `easy_install` might work on Linux (not tested), on Windows you should rather download and execute the Windows installer.
     117