Commit Graph

11 Commits

Author SHA1 Message Date
Anthony Johnson
ac20ce75d4 Use only-child to limit margins on single paragraph list items
This is a compromise between the docutils intended style and more
consistent margins than 0.4.3.
2020-06-16 16:30:26 -06:00
Anthony Johnson
aa0a108543 Add complex list margins, use margin-less items for ul.simple margins
0.5.0 was moving in the direction of treating everything like a simple
list. 0.4.3 had some bugs that made complex lists look closer to the
spacing that complex lists use. This resolves both and adds specific
item margins for both cases.

See https://docutils.sourceforge.io/sandbox/html4strict/data/simple-lists.html
2020-06-16 13:54:47 -06:00
Anthony Johnson
6f0de13baf Fix a number of issues around margins on last children
The HTML4 writer depended on the `.last` selector, a class added by
Sphinx directly on output. Both writers are not using that method
anymore and instead relying on well supported CSS selectors.

This actually also addresses a number of inconsistencies with margin
spacing in lists. Version 0.4.3 and prior have a number of odd issues
around nested lists that are resolved with this change.
2020-06-05 09:50:22 -06:00
Anthony Johnson
33625141ec Address issue with dl.simple definition lists
This was not a test case in our demo docs, and I'm still not entirely
sure why the style needs to be different. 🤷

Fixes #913
2020-05-06 19:24:30 -06:00
Anthony Johnson
1bfa504f97 Add more domain doc examples
These are a few domain examples pulled from the Sphinx test doc roots.
2019-07-25 19:27:22 -06:00
Jesse Tan
68f38ddec2 Fix styling of generated cpp documentation 2019-07-19 16:10:38 +02:00
François Corneau-Tremblay
5fa283bf75 Update demo.rst
There is a missing word in the documentation here.
2019-05-17 11:39:12 -04:00
Aaron Carlisle
146457a6c8 Docs: restructure (#573)
The idea here is to make the docs have a more flat design that exposes more pages from the main index.
2018-03-01 10:15:53 -05:00
Eric Holscher
38162920b4 More cleanup 2017-12-20 20:29:52 -08:00
Eric Holscher
6e6a8729ca Lots of cleanup 2017-12-20 20:16:03 -08:00
Eric Holscher
56bffcb8fb Rejigger 2017-12-20 20:09:36 -08:00