From f6b3a0096f70808c416c50fd1758a56d95aa7507 Mon Sep 17 00:00:00 2001 From: Adam Caprez <acaprez2@unl.edu> Date: Tue, 13 Nov 2018 23:56:02 +0000 Subject: [PATCH] Update config --- .gitlab-ci.yml | 6 +++--- README.md | 4 +--- config.toml | 38 ++++---------------------------------- themes/docdock | 2 +- 4 files changed, 9 insertions(+), 41 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3038ad4..ef0e9d9c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ variables: - BASE_URL: "http://10.71.110.145/hcc-docs" + BASE_URL: "//hcc.unl.edu/docs" DEPLOY_ROOT: "/var/www/html/hcc-docs" - HUGO_TARBALL: "https://github.com/gohugoio/hugo/releases/download/v0.49.2/hugo_0.49.2_Linux-64bit.tar.gz" + HUGO_TARBALL: "https://github.com/gohugoio/hugo/releases/download/v0.51/hugo_0.51_Linux-64bit.tar.gz" GIT_SUBMODULE_STRATEGY: recursive stages: @@ -24,7 +24,7 @@ deploy: stage: deploy environment: name: hcc_docs_prod - url: http://10.71.110.145/hcc-docs + url: http://hcc.unl.edu/hcc-docs only: - master tags: diff --git a/README.md b/README.md index 513221a6..6b2d6a01 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ combination of [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown- for the source and the [Hugo](https://gohugo.io) static site generator. Currently, the theme used is [docDock](https://themes.gohugo.io/docdock/). -The "production" state of the website is viewable at [http://10.71.110.145](http://10.71.110.145) -once connected to the Anvil VPN. This will later be moved to the `hcc-docs.unl.edu` server once -things are in a reasonable state. +The website is viewable at https://hcc.unl.edu/docs. How to contribute ----------------- diff --git a/config.toml b/config.toml index 87296ed9..a54b8467 100644 --- a/config.toml +++ b/config.toml @@ -17,22 +17,8 @@ defaultContentLanguage = "en" defaultContentLanguageInSubdir= false enableMissingTranslationPlaceholders = false -# [Languages] -# [Languages.en] -# title = "Documentation for Hugo docDock" -# weight = 1 -# languageName = "English" -# -# [Languages.fr] -# title = "Documentation du thème docDock" -# weight = 2 -# languageName = "Français" - - - - [params] -#editURL = "https://github.com/vjeantet/hugo-theme-docdock/edit/master/exampleSite/content/" +editURL = "https://git.unl.edu/hcc/hcc-docs/edit/master/content/" showVisitedLinks = true # default is false themeStyle = "flex" # "original" or "flex" # default "flex" themeVariant = "" # choose theme variant "green", "gold" , "gray", "blue" (default) @@ -41,31 +27,15 @@ disableHomeIcon = false # default is false disableSearch = false # default is false disableNavChevron = false # set true to hide next/prev chevron, default is false highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter -menushortcutsnewtab = false # set true to open shortcuts links to a new tab/window -enableGitInfo = false +menushortcutsnewtab = true # set true to open shortcuts links to a new tab/window +enableGitInfo = true [outputs] home = [ "HTML", "RSS", "JSON"] [[menu.shortcuts]] -name = "HCC homepage" +name = "hcc.unl.edu" identifier = "ds" url = "https://hcc.unl.edu" weight = 10 - -#[[menu.shortcuts]] -#name = "<i class='fa fa-cloud-download'></i> <label>Download</label>" -#url = "https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip" -#weight = 11 - -#[[menu.shortcuts]] -#name = "<i class='fa fa-bookmark'></i> <label>Hugo Documentation</label>" -#identifier = "hugodoc" -#url = "https://gohugo.io/" -#weight = 20 - -#[[menu.shortcuts]] -#name = "<i class='fa fa-bullhorn'></i> <label>Credits</label>" -#url = "/credits" -#weight = 30 diff --git a/themes/docdock b/themes/docdock index b45f3720..c4fad201 160000 --- a/themes/docdock +++ b/themes/docdock @@ -1 +1 @@ -Subproject commit b45f372056c0b9b3cad93205bda3ce141aa3665b +Subproject commit c4fad20156a2089ef3112665aab57c275978abaf -- GitLab