Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2340

Make all h1, h2, h3 levels consistent

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.0-M2
    • Component/s: None
    • Labels:
      None

      Description

      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

       

        Attachments

          Activity

            People

            • Assignee:
              dblevins David Blevins
              Reporter:
              dblevins David Blevins
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: