[foreign] recent CSS changes break the panama doc layout

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Aug 8 12:01:15 UTC 2019


Hi,
recent changes to the CSS used by the JDK pandoc conversion break 
document that have more than 2 level of nesting with titles, as can be 
seen here:

http://hg.openjdk.java.net/panama/dev/raw-file/da651c489806/doc/panama_foreign.html

The following webrev fixes this by using a custom CSS for panama - the 
CSS is the same as the JDK one, but with some directives removed for the 
problematic nav#TOC sections.

http://cr.openjdk.java.net/~mcimadamore/panama/css_fix/

Longer term, we could (and probably should) reorganize the doc to have 
less nesting; not just because it would play better with the CSS, but 
also because having a more compact header will help users navigating 
through the document.

Cheers
Maurizio



More information about the panama-dev mailing list