Support for custom root element in navtree. Check status_text for DAC.
An included book.yaml file must start with a 'toc:' root element. Passing
'-hdf book.root toc' to LOCAL_DROIDDOC_OPTIONS is now recognized by the
yaml_navtree template. Otherwise, default to the current 'reference:' element.
Test for 'dac' hdf var before displaying the toc_element's status_text. This
is used for DAC's CSS styling and will eventually migrate to the Devsite
templates. Requires '-hdf dac true' passed to DAC's LOCAL_DROIDDOC_OPTIONS.
Fix bug for yaml file name. If -yaml was declared before the -devsite option,
then the filename would get overwritten. This now checks if a filename has
already been declared before supplying a default.
Test: LOCAL_DROIDDOC_OPTIONS := \
Test: -hdf book.root toc \
Test: -yaml _toc.yaml \
Test: -werror \
Test: -package \
Test: -devsite \
Change-Id: I4429ee0848842e9aa4ab5b2bad992b84c4ccd106
2 files changed