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:
commit
f1929d419b
1 changed files with 14 additions and 0 deletions
14
tools/droiddoc/templates-sdk-dev/yaml_navtree.cs
Normal file
14
tools/droiddoc/templates-sdk-dev/yaml_navtree.cs
Normal 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 ?>
|
Loading…
Reference in a new issue