salesagility / SuiteDocs

SuiteCRM - Open source CRM for the world
https://docs.suitecrm.com/
Other
60 stars 287 forks source link

changed enumeration of headers #626

Closed dwaltsch closed 11 months ago

dwaltsch commented 11 months ago

Previously they didnt follow the style of the rest of the page

pgorod commented 11 months ago

I don't recall the exact way to do it, but I am sure that Asciidoc has some way to handle the numbering automatically, which would help avoid these kinds of problems.

likhobory commented 11 months ago

I am sure that Asciidoc has some way to handle the numbering automatically

Yes, similar Russian files use the sectnums attribute. We can also turn on automatic sections numbering globally in the config.toml file:


   [markup.asciidocExt]
     [markup.asciidocExt.attributes]
        sectnums = "@"