7ede484cebc6c270719d0232c5ccb77e6bd1121b |
|
03-Mar-2017 |
Billy Lamberta <blamb@google.com> |
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
/external/doclava/res/assets/templates-sdk/yaml_navtree.cs
|
23cc6470c6a6a2fcb264539d6761ed1cd7046442 |
|
10-Feb-2017 |
Scott Main <smain@google.com> |
add Package Index and Class Index files to each library's root path (instead of at the reference/ root location), and add links to these files in the left nav. stage: http://smain.mtv.corp.google.com:8080/reference/android/support/constraint/classes.html Note: This depends on some style changes to enable highlighting these new pages in the left nav: https://critique.corp.google.com/#review/147165269 TODO: Cleanupa all these 'wearableSupportPath' style hard-coded paths and instead pass those paths as a doclava argument. Change-Id: I13b4b441b46055551d36f0729de9b91ec98a0496
/external/doclava/res/assets/templates-sdk/yaml_navtree.cs
|
2124a924611bb8104658053bb5345b853f93a626 |
|
11-Oct-2016 |
Scott Main <smain@google.com> |
Add templates-sdk to doclava, copied from droiddoc. This should now be our main template set for d.android.com. By placing it here with doclava, it's more re-usable by other API libraries outside the framework, without requiring them to sync two project paths. It may also allow us to distribute the doclava tool and templates in a JAR file so that not even the doclava project is needed as a dependency. Change-Id: I58ef0a5cde5e5d9565b49d4a5581b7d705b1014e
/external/doclava/res/assets/templates-sdk/yaml_navtree.cs
|