Files
build/tools/droiddoc/templates-sdk-dev/yaml_navtree.cs
Dirk Dougherty ba8230849d Generate reference nav to _book.yaml for devsite builds.
Change-Id: Iea0e1031b0d757664b8994096010dd92b98ca883
2016-04-29 16:25:21 -07:00

15 lines
347 B
C#

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