Enhance xml to rst converter

Fixes a number of issues:
- Headings underliners now have the correct length
- Newline+Tabs in descriptions are replaced by two newlines to make a proper paragraph
- [br] are replaced by two newlines, making a proper paragraph
- Properly parse internal hyperlinks in constants description
- Fix broken internal links due to missing newlines
- Show method header even when it has no description, to have something to reference in hyperlinks
This commit is contained in:
Rémi Verschelde
2016-02-07 12:07:24 +01:00
parent c512dbfe5a
commit 47e5a5fd74
2 changed files with 51 additions and 26 deletions

View File

@@ -38,7 +38,7 @@ rst:
rm -rf $(OUTPUTDIR)/rst
mkdir -p $(OUTPUTDIR)/rst
pushd $(OUTPUTDIR)/rst
echo "TODO"
python2 $(TOOLSDIR)/makerst.py $(CLASSES)
popd
textile: