Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 3341ca3

Browse files
author
Jennifer Bandelin
authored
Merge pull request #25 from mobify/release-v0.0.7
Release v0.0.7
2 parents 7d063ac + 8ade726 commit 3341ca3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mixins/sidebar.pug

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ mixin buildMenu
3232
.sdk-sidebar__accordion-title= category.title
3333
ul.sdk-sidebar__accordion-item.u-list-style-none(style={ 'max-height': isActiveCategory ? 'initial': '' })
3434
for document, documentSlug in documents
35-
a.sdk-sidebar__list-link(href=`${DOCS_ROOT}${version}/${categorySlug}/${documentSlug}` class={ 'c--active': documentSlug === path[2] })= document.title
35+
unless document._excludeFromMenu
36+
a.sdk-sidebar__list-link(href=`${DOCS_ROOT}${version}/${categorySlug}/${documentSlug}` class={ 'c--active': documentSlug === path[2] })= document.title
3637

3738
mixin sidebar
3839
- var isDocumentationHub = PROJECT_NAME === 'Documentation Home'

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mobify/documentation-theme",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Jade template theme for Mobify documentation",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)