aboutsummaryrefslogtreecommitdiff
path: root/util/hugo/config.toml
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2017-05-24 22:58:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-05-25 23:04:36 +0200
commit04edaefad7ed4f9dce9281a25480c1c6eb9e303d (patch)
treef5d167a4e6fbec4b0d6cb25619371a31069d0b54 /util/hugo/config.toml
parent9ec25f7678f7f3fc1ce35f833d1168e605ad0f94 (diff)
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>
Diffstat (limited to 'util/hugo/config.toml')
-rw-r--r--util/hugo/config.toml48
1 files changed, 48 insertions, 0 deletions
diff --git a/util/hugo/config.toml b/util/hugo/config.toml
new file mode 100644
index 0000000000..d29a20dbd3
--- /dev/null
+++ b/util/hugo/config.toml
@@ -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