Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.35 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.35 KB

docs

Build Status

This is a project to produce content to our documentation site over at https://informasjonsforvaltning.github.io/

We use Hugo and the docDock theme to build our site.

Requirements

You need to have Git installed on your pc.

Produce content

To produce content to the site, you need to do the following steps. Only people with the correct privileges will actually be able to publish new content.

git clone --recurse-submodules https://github.com/Informasjonsforvaltning/docs.git
cd docs
./bin/hugo server - D # This will start hugo in draft livereload mode
atom . # Open the content folder in your favourite editor

At http://localhost:1313 you will see your site as you update and save content.

Publish

To publish your new content to our site, you need to commit and push your changes to the master branch of this repo. Only people with the correct privileges will actually be able to publish new content.

<Press Ctrl+C to kill the hugo server>
git add .
git commit -m "<your commit message>"
git push

The content will be automatically generated and deployed to https://informasjonsforvaltning.github.io/