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

am: f1929d419b

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

Change-Id: Ifda2c3062588bfb8205e59dfcc3d909a62334ddc
This commit is contained in:
Dirk Dougherty 2016-04-29 23:54:12 +00:00 committed by android-build-merger
commit 5eee82cf1c
1 changed files with 14 additions and 0 deletions

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 ?>