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

Commit dd4cf7ed authored by Elliot Waite's avatar Elliot Waite 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

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

Change-Id: I33b3a1fa06f8ec43458e9d3726edffe8ab95f60c
parents 883a3083 5eee82cf
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 ?>