currently making a list of doc-wide fixes for after next release
since i've messed around with documentation (here and elsewhere) for
a while (and since i've also played with docbook and XSL and stylesheets), i figure i might as well start making a list of potentially sweeping changes to the YP docs. (all of this is assuming that the docs are keeping the same structure, correct?)
first is to use proper docbook tags (semantically speaking), as in
-- don't tag everything as <filename> just to get monospaced rendering. start using tags like <variable> and <command> and <firstterm> and so on, and adjust the stylesheets to render appropriately. even if the eventual rendering is identical, the semantic tagging should properly distinguish between different items.
adjust stylesheets so that code chunks (tagged with <literallayout>)
don't need to *literally* have indentation that matches how it's rendered; allow arbitrary indentation in the XML files so it looks nice, and let the stylesheets take it from there and indent properly.
standardize admonitions (<important>, <note>, <tip>, <caution>,
<warning>) so that they all use <para> even if they contain just a single paragraph. this is currently inconsistent, so that some admonitions are rendered with different spacing, you can see this here:
https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PARALLEL_MAKE
where the caution and note for PARALLEL_MAKE has narrower vertical spacing than the "Notes and Cautions" for PARALLEL_MAKEINST right after it -- that's because the latter uses <para></para> to tag paragraphs, and the former does not.
and regarding admonitions, use the correct one with a proper title
-- i've seen <note>s with the title attribute "Caution" ... that's not right. :-)
anyway, i've started a list; feel free to toss out other ideas that
can be added to the list.
rday