HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Fixing abandoned "items" to fix latex output
The more targetted directives were entering into the rendering hierarchy at the MemberDefTypeSubRenderer level. The class and its subclasses return a definition_list_item object which was not being put under an appropriate definition_list. This is an error that it seems the html output was fairly forgiving of, but the latex output complained about \items that were outside of a \begin \end scope. So here we change our directives so that they wrap the returned nodes in a definition_list before passing them back to Sphinx. This seems to solve the problem of the isolated items but the latex output for the testsuite is currently still failing as the "nutshell" example contains too much indented hierarchy and so exceeds latex's built in limit of 6 nested listing scopes. I'm not entirely sure what it do about this. For the benefit of the testsuite I might have to edit the nutshell example, but that only delays the issue.
- Loading branch information...
commit 5d76764e0a95b7b28cbe3cec6f3936b8b4f66407 1 parent a3ec849
Michael Jones authored
Showing with 167 additions and 53 deletions.