-
Committer:
Vincent Ladeuil
-
Date:
2010-05-06 14:16:12 UTC
-
mto:
(5355.1.1 integration)
-
mto:
This revision was merged to the branch mainline in
revision
5356.
-
Revision ID:
v.ladeuil+lp@free.fr-20100506141612-vdyb537gh3788ppq
Implement the section generation.
* bzrlib/tests/doc_generate/builders/test_texinfo.py:
(TestSections): Add a basic test for all supported sections.
* bzrlib/doc_generate/writers/texinfo.py:
(TexinfoTranslator.__init__): Add attributes for sections.
(TexinfoTranslator.visit_section)
(TexinfoTranslator.depart_section): Track the section level.
(TexinfoTranslator.visit_title): title is used for sections.
(TexinfoTranslator.depart_Text): text shold not be emitted while
in title.