You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2018/12/09 03:11:00 UTC
[jira] [Closed] (TOMEE-2340) Make all h1, h2, h3 levels consistent
[ https://issues.apache.org/jira/browse/TOMEE-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Blevins closed TOMEE-2340.
--------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)