util/hugo: Add framework to build www.coreboot.org/Documentation

www.coreboot.org/Documentation is now built with hugo (www.gohugo.io)
based on files in this repo's /Documentation directory.

Also clarify that new additions to Documentation are under CC-BY 4.0 terms.

Change-Id: I000e15b29a182bb88b40de3d0178bf8cc54ba8af
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: https://review.coreboot.org/19881
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
Patrick Georgi
2017-05-24 22:58:01 +02:00
committed by Patrick Georgi
parent 9ec25f7678
commit 04edaefad7
11 changed files with 1551 additions and 26 deletions

48
util/hugo/config.toml Normal file
View File

@@ -0,0 +1,48 @@
baseurl = "https://www.coreboot.org/Documentation/"
languageCode = "en-us"
title = "coreboot documentation"
theme = "hugo-material-docs"
metadataformat = "yaml"
canonifyurls = true
[params]
provider = "Coreboot"
repo_url = "https://review.coreboot.org/cgit/coreboot.git"
logo = "images/coreboot.svg"
favicon = "images/favicon.png"
copyright = "coreboot™ contributors, licensed under the terms described in https://creativecommons.org/licenses/by/4.0/"
custom_css = [
"css/coreboot.css"
]
[social]
twitter= "coreboot_org"
github = "coreboot/coreboot"
[params.palette]
primary = "blue"
accent = "blue-grey"
[params.font]
text = "Open Sans"
code = "Inconsolata"
[[menu.main]]
name = "Gerrit guidelines"
url = "gerrit_guidelines/"
weight = 10
[[menu.main]]
name = "On timestamps"
url = "timestamp/"
weight = 20
[[menu.main]]
name = "Intel documentation"
url = "intel/index.html"
weight = 30
[[menu.main]]
name = "AMD S3"
url = "AMD-S3.txt"
weight = 40