forked from openkylin/platform_build
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:
commit
5eee82cf1c
|
@ -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 New Issue