bitovi / bitovi/documentjs

Sidebar styles broken when `pageConfig` is left out of config

Open
#147 1 comment 0 reactions 1 assignee Claimed by @marshallswain View on GitHub
design
Dominant language
JavaScript
Stars
598
Forks
371
PR merge metrics
No merged PRs in 30d

Description

``` js
{
"siteDefaults": {
"static":"theme/static",
"templates": "theme/templates"
},
"sites": {
"guides":{
"glob": {
"pattern": "_docs/guides/**/*.{js,md}"
},
// Leaving this out results in a poorly-styled sidebar & page
"pageConfig": {"page":"guides"},
"parent": "Guides",
"dest":"guides"
}
}
}
```
## Without `pageConfig` in documentjs.json:

![screen shot 2015-05-10 at 6 47 19 pm](https://cloud.githubusercontent.com/assets/128857/7557003/4af79fc8-f745-11e4-9749-b34b14773393.png)

VS
## With `pageConfig` in documentjs.json:

![screen shot 2015-05-10 at 6 50 00 pm](https://cloud.githubusercontent.com/assets/128857/7557004/6349ef18-f745-11e4-9a30-3eaf210dc0e2.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.