1 <?cs 2 3 # print out the yaml nav for the reference docs, only printing the title, 4 path, and status_text (API level) for each package. 5 6 ?><?cs 7 if:book.root ?><?cs var:book.root ?>:<?cs 8 else ?>reference:<?cs 9 /if?><?cs 10 if:docs.packages.link ?> 11 - title: Class Index 12 path: /<?cs var:docs.classes.link ?><?cs 13 if:dac ?> 14 status_text: no-toggle<?cs 15 /if?> 16 - title: Package Index 17 path: /<?cs var:docs.packages.link ?><?cs 18 if:dac ?> 19 status_text: no-toggle<?cs 20 /if?><?cs 21 /if ?><?cs 22 each:page = docs.pages?><?cs 23 if:page.type == "package"?> 24 - title: <?cs var:page.label ?> 25 path: /<?cs var:page.link ?><?cs 26 if:dac ?> 27 status_text: apilevel-<?cs var:page.apilevel ?><?cs 28 /if?><?cs 29 /if?><?cs 30 /each ?> 31