sub nav
This commit is contained in:
parent
f1000c591b
commit
7dca24cd6e
@ -12,3 +12,10 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
|
||||
selected = current.path[3] == slug ? 'is-selected':''
|
||||
|
||||
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{slug}.html" md-button><span class="side-nav-icon icon-#{page.icon}"></span> #{name}</a>
|
||||
|
||||
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 <a class="#{selected}" href="#" md-button> #{slug}</a>
|
||||
|
6
public/docs/js/latest/api/_data.json
Normal file
6
public/docs/js/latest/api/_data.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"annotations": {
|
||||
"icon": "query-builder",
|
||||
"title": "Annotations"
|
||||
}
|
||||
}
|
1
public/docs/js/latest/api/annotations.jade
Normal file
1
public/docs/js/latest/api/annotations.jade
Normal file
@ -0,0 +1 @@
|
||||
h1 annotations home
|
Loading…
x
Reference in New Issue
Block a user