1.5 KiB
1.5 KiB
Doks
Hugo starter helping you build kick-ass documentation websites.
What you get
- Lightweight code base
- 100/A+ scores Google Lighthouse and Mozilla Observatory
- Algolia DocSearch support
- Dark/Light toggle
- Blog ready
- Easily make it your own
- All in Hyas
Requirements
Make sure all dependencies have been installed:
- Hugo >= 0.69.0/extended
- Node.js >= 13.11.0
- npm >= 6.13.7
- Yarn >= 1.22.4 (recommended)
Getting started
Create a new Doks project:
$ git clone git@github.com:h-enk/doks.git my-doks-site
Install dependencies:
# @ my-doks-site/
$ yarn install
Build development theme with live reloading and injection:
# @ my-doks-site/
$ yarn start
Other commands
yarn lint:styles
- Check Sass for errorsyarn lint:scripts
- Check JavaScript for errorsyarn clean
- Delete temporary directoriesyarn build
- Build production theme