This page describes how to edit the documentation you’re currently reading.
The whole documentation is located in the directory hugo
. Change into this directory.
All following commands are supposed to be run from here.
cd hugo
Download Hugo binary for your OS (Windows, Linux, Mac).
Change files in hugo/content
to edit the documentation.
See the DocDock documentation for more information on how to organize content.
Afterwards, commit your work to your repository.
git commit -a
Run hugo
locally to see if your content looks like you imagined.
hugo server
Open http://localhost:1313/ in your local browser.
Run the following script to commit to the branch gh-pages
.
From there, github auto-deploys the documentation.
./publish_docs.sh
See Hugo documentation for more details.