Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project description for HTML5 CSS (pypi#12080)
* feat: render inline literals as code Docutils HTML5 writer has decided that the emitted style for inline literals will no longer inherit the (deprecated) `tt` style, rather place the onus on the author to declare what kind of style to apply to a literal. Refs: https://sourceforge.net/p/docutils/bugs/393/ Signed-off-by: Mike Fiedler <miketheman@gmail.com> * fix: reduce margins included in table cells docutils HTML5 writer adds `<p>` tags to cells in tables, adding margins, and bloating the overall size. Docutils has an inline TODO, contemplating removing this behavior: https://sourceforge.net/p/docutils/code/HEAD/tree/tags/docutils-0.19/docutils/writers/_html_base.py#l1381 Until such time, inherit the same margins for the `th/td` attributes. Signed-off-by: Mike Fiedler <miketheman@gmail.com> * feat: render description lists as grid items Docutils HTML5 changes the output for lists like `docinfo` and `field-list` to no longer have `table` semantics, preferring to lean on CSS to place and style them. This isn't 100% the same as before, but it's close enough for a reasonable display. Signed-off-by: Mike Fiedler <miketheman@gmail.com> Signed-off-by: Mike Fiedler <miketheman@gmail.com> Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
- Loading branch information