This website is built using Hugo and uses the Doks hugo theme.
This git repo is based off the example Doks git repo.
Use npm to install dependencies and run commands. Installing npm is pretty simple. Download and install Node.js (it includes npm) for your platform.
git clone https://github.com/jian-he/website.git
npm install
npm run start
The result will be refreshed in real-time at http://localhost:1313
For example:
hugo new docs/recipes/hostnetwork.md
Doks comes with commands for common tasks.
Throughout the repo, you will see index.md
and _index.md
files.
_index.md
is added in the branch
folder, e.g. the prologue/_index.md
lists the files under that prologue
menu.
index.md
is added in the leaf
foler, e.g. workloads/mars/index.md
.
See the doc for details