Informasjonsforvaltning / docs

Dokumentasjon om informasjonsforvaltning og våre løsninger
https://informasjonsforvaltning.github.io
Apache License 2.0
2 stars 4 forks source link
docs

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/