This website is based on Doks. And we choose child-theme.
- Install hugo: https://gohugo.io/getting-started/installing/. If go has been installed, just run
go install github.com/gohugoio/hugo@latest
. - Install nodejs: https://nodejs.org/en/download/.
Change to this repo's working directory:
- Install dependencies:
npm install
- Start development server:
npm run start
Please lint the markdown format before commit.
- Run:
npm run lint:markdown
- Get new repo:
git clone https://github.com/h-enk/doks.git my-doks-site
- Install dependencies:
npm install
- Replace with our repo's files:
- README.md
- .github/
- content/
- config/_default/
- i18/
- layout/index.html
- Run:
npm start
- Push to GitHub:
git push https://github.com/tableauio/tableauio.github.io master:master -f