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

Commit 16c30a64 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 mnc-mr-docs

am: dc55c972

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

Change-Id: Id90b7d082e780530943f2a9e25f42edbc634658d
parents e0b5cb8f dc55c972
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 ?>