Skip to content

Commit

Permalink
docs: Fix THEMING.md line number (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhor1e authored and tmcw committed Mar 16, 2019
1 parent 64ef671 commit 03e721f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/THEMING.md
Expand Up @@ -29,7 +29,7 @@ for some ideas.

- Copy contents of `default_theme` folder (noted above) into a new folder in your project. One way to do it is to create a new git repository with the folder contents and add this line to your `package.json` `devDependencies` section: `"docjs-theme": "my-gh-username/reponame"`. That way when you install dependencies, your new theme will be in the projects `node_modules` folder.

- In the folder you created, replace `require('../')` on lines 10 and 11 of `index.js` with `require('documentation')` and save.
- In the folder you created, replace `require('../')` on lines 8 and 9 of `index.js` with `require('documentation')` and save.

- You can now make changes that will show up when you generate your docs using your theme. Example `package.json` `scripts` entry: `"documentation build index.js -f html -o docs --theme node_modules/docjs-theme"`

Expand Down

0 comments on commit 03e721f

Please sign in to comment.