Merge "Generate reference nav to _book.yaml for devsite builds." into mnc-mr-docs am: dc55c97296

am: 16c30a64a6

* commit '16c30a64a66aa141822df3d77277050cf4271524':
  Generate reference nav to _book.yaml for devsite builds.

Change-Id: I905d220aef6137863a16556ed24fbf6d14788f7d
This commit is contained in:
Elliot Waite 2016-04-29 23:52:00 +00:00 committed by android-build-merger
commit f1929d419b

View file

@ -0,0 +1,14 @@
<?cs
# print out the yaml nav for the reference docs, only printing the title,
path, and status_text (API level) for each package.
?>
reference:<?cs
each:page = docs.pages?><?cs
if:page.type == "package"?>
- title: <?cs var:page.label ?>
path: <?cs var:page.link ?>
status_text: apilevel-<?cs var:page.apilevel ?><?cs
/if?><?cs
/each ?>