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

Commit ba823084 authored by Dirk Dougherty's avatar Dirk Dougherty
Browse files

Generate reference nav to _book.yaml for devsite builds.

Change-Id: Iea0e1031b0d757664b8994096010dd92b98ca883
parent cdb27514
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 ?>