diff --git a/public/_includes/_docs-nav.jade b/public/_includes/_docs-nav.jade index afc4cacb13..2deb1268a0 100644 --- a/public/_includes/_docs-nav.jade +++ b/public/_includes/_docs-nav.jade @@ -12,3 +12,10 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav selected = current.path[3] == slug ? 'is-selected':'' li #{name} + + if selected + ul + for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]]._data + name = page.menuTitle || page.title + selected = current.path[4] == slug ? 'is-selected':'' + li #{slug} diff --git a/public/docs/js/latest/api/_data.json b/public/docs/js/latest/api/_data.json new file mode 100644 index 0000000000..c7bab4d51a --- /dev/null +++ b/public/docs/js/latest/api/_data.json @@ -0,0 +1,6 @@ +{ + "annotations": { + "icon": "query-builder", + "title": "Annotations" + } +} diff --git a/public/docs/js/latest/api/annotations.jade b/public/docs/js/latest/api/annotations.jade new file mode 100644 index 0000000000..6abfd1cc3d --- /dev/null +++ b/public/docs/js/latest/api/annotations.jade @@ -0,0 +1 @@ +h1 annotations home \ No newline at end of file