tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-2340) Make all h1, h2, h3 levels consistent
Date Sun, 09 Dec 2018 02:25:00 GMT
David Blevins created TOMEE-2340:
------------------------------------

             Summary: Make all h1, h2, h3 levels consistent
                 Key: TOMEE-2340
                 URL: https://issues.apache.org/jira/browse/TOMEE-2340
             Project: TomEE
          Issue Type: Documentation
            Reporter: David Blevins
            Assignee: David Blevins
             Fix For: 8.0.0-Final


Several of the documents jump around in h1, h2, h3, etc usages.

Some documents start at "==" and work down from there.  Some start at "==" and for no real
reason jump down to "====".

 

It's assumed this is because it looks better to the individual document writer at the time
when rendered against the given website CSS at the time.

 

Authors change.  CSS changes.  We need to be consistent.

 

I wrote a little code to ensure all h1, h2, etc levels start at 1 and proceed downward from
there consistently.

https://github.com/apache/tomee-site-generator/blob/e1f56acdd154d2a28eedfb996b67bfad646fd14b/src/main/java/org/apache/tomee/website/AsciidocAdjustHeadingLevels.java

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message