aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* devbook.xsl: Add sub and sup elementsUlrich Müller2024-02-081-1/+13
| | | | | | | These were present in GuideXML: https://gitweb.gentoo.org/proj/devmanual.git/tree/appendices/contributing/devbook-guide/text.xml?id=8be0d382fb82dc4cfe73b1b85bb7fc3c923a21c7#n397 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* devbook.xsl: Support type and start attributes for ordered listsUlrich Müller2023-10-221-1/+12
| | | | | | Simply copy them to the HTML output. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* devbook.rnc: TypoUlrich Müller2022-06-171-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* devbook.rnc: Change from DTD to RELAX NG compact schemaUlrich Müller2022-01-241-0/+391
The currently used DTD format has several limitations. It does not support data types, and it is not expressive enough for some element syntax used in the devmanual. For example, it cannot accurately describe the uri element which comes in two alternative forms (namely, with the link in its body text or as an attribute). RELAX NG is chosen because it has a variant with a compact and very readable non-XML syntax, and it is well supported both as an input and as an output format by conversion tools like app-text/trang. Also, we need RNC for app-emacs/nxml-gentoo-schemas anyway. devbook.rnc is the source file, but the generated devbook.rng is also committed to the repository, in order to avoid an additional dependency on trang or rnc2rng. Signed-off-by: Ulrich Müller <ulm@gentoo.org>