Menu

Commit [r11274]  Maximize  Restore  History

checkapidoc: deal with the two cases of `__init__.py` files

- if only the module itself is documented (e.g. `trac_mimeview`) and no
.rst files for submodules are present, we include the re-exported symbols
as well (this was the behavior so far for `__init__.py` files)
- when submodules are also documented (e.g. `trac_util.rst` and the various
`trac_util_*.rst` files), we only consider the symbols defined in
`__init__.py`, as for a normal module

cboos 2012-09-04

changed /trunk/doc/utils/checkapidoc.py
/trunk/doc/utils/checkapidoc.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB