On Feb 19, 2008 6:17 PM, "Jürgen Waser" <Jue...@gm...> wrote:
> I have a 2 questions regarding output to LATEX:
The latex writer is not as fully developed as I would like -- if
anyone wants to volunteer to work on it, I'd be happy to provide
support. :)
> 1. There are no private methods listed in my output, even though I get them
> when exporting to HTML. Am I doing something wrong? Is it working for anybody
> else?
It looks to me like applying the following change to
epydoc/docwriter/latex.py should do the right thing:
===================================================================
--- docwriter/latex.py (revision 1727)
+++ docwriter/latex.py (working copy)
@@ -128,7 +128,7 @@
def __init__(self, docindex, **kwargs):
self.docindex = docindex
# Process keyword arguments
- self._show_private = kwargs.get('private', 0)
+ self._show_private = kwargs.get('show_private', 0)
self._prj_name = kwargs.get('prj_name', None) or 'API Documentation'
self._crossref = kwargs.get('crossref', 1)
self._index = kwargs.get('index', 1)
> 2. Is there an option to omit the documentation of base classes at all?
> (I don't want to show any inherited elements)
Not currently, but it wouldn't be that hard to add. The 'listed'
inheritance mode is too verbose for your code base? Suggested name
for this inheritance mode, to go along with 'listed' and 'grouped' and
'included'? Perhaps 'hidden' or 'skipped'?
-Edward
|