-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
config.js
35 lines (33 loc) · 963 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const readPkgUp = require('read-pkg-up');
const pkgjson = (readPkgUp.sync()).pkg;
module.exports = {
title: pkgjson.title,
description: pkgjson.description,
base: '/awesome-js-resources/',
themeConfig: {
search: true,
navbar: true,
nav: [{
text: 'Home',
link: '/'
},
{
text: 'Github',
link: 'https://github.com/rjoydip/awesome-js-resources.git'
},
],
sidebar: [
['/', 'Tabe of contents']
], // Assumes GitHub. Can also be a full GitLab url.
repo: 'rjoydip/awesome-js-resources',
// Customising the header label
// Defaults to "GitHub"/"GitLab"/"Bitbucket" depending on `themeConfig.repo`
repoLabel: 'Contribute!',
// if your docs are in a different repo from your main project:
docsRepo: 'https://rjoydip.github.io/awesome-js-resources',
// if your docs are not at the root of the repo:
docsDir: 'docs',
// if your docs are in a specific branch (defaults to 'master'):
docsBranch: 'master',
}
};