Skip to content

Commit

Permalink
[Docs] Cleaned up getting-started
Browse files Browse the repository at this point in the history
  • Loading branch information
dmed256 committed Apr 27, 2018
1 parent a84d9d1 commit 3c5e4de
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 259 deletions.
7 changes: 4 additions & 3 deletions docs/assets/occa.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,11 @@ occa.docsifyPlugin = (hook, vm) => {

hook.doneEach(() => {
// Add API styling
const dom = document.querySelector('#main');
if (!vm.route.file.startsWith('api/')) {
return;
dom.classList.remove('api-container');
} else {
dom.classList.add('api-container');
}
const dom = document.querySelector('#main');
dom.classList.add('api-container');
});
};
Loading

0 comments on commit 3c5e4de

Please sign in to comment.