diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3038ad453ec57e418211ef57604a7852a72fc79..ef0e9d9c79518ea7908ae3076e733e1ccb96a501 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 513221a6363b657e25cd492af4088289c8442e7d..6b2d6a015528283f0fbc132689e23bc1a7dc7ec3 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 87296ed9416dc4c18e09de6fae0a5c021dd168c3..a54b846702d913dfd2afdf0f8115b013504a6f75 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 b45f372056c0b9b3cad93205bda3ce141aa3665b..c4fad20156a2089ef3112665aab57c275978abaf 160000 --- a/themes/docdock +++ b/themes/docdock @@ -1 +1 @@ -Subproject commit b45f372056c0b9b3cad93205bda3ce141aa3665b +Subproject commit c4fad20156a2089ef3112665aab57c275978abaf