Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 947353d4 authored by Dirk Dougherty's avatar Dirk Dougherty Committed by android-build-merger
Browse files

Merge "Generate reference nav to _book.yaml for devsite builds." into...

Merge "Generate reference nav to _book.yaml for devsite builds." into mnc-mr-docs am: dc55c972 am: 16c30a64 am: f1929d41 am: 5eee82cf
am: ec65dc30

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

Change-Id: Icacc2b5dafe09db7c71b125dea20f3566bd4669a
parents b22d5d39 ec65dc30
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
<?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 ?>