From 5c80f886086327be0effd0ca08945e878c184fb5 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Sun, 28 Jul 2024 17:58:52 +0200 Subject: [PATCH] change to relearn theme --- docs/config.toml | 49 +++++++++++++++++++++++++++++------ docs/content/_index.md | 4 +-- docs/content/configuration.md | 5 ++++ docs/content/installation.md | 5 ++++ docs/content/license.md | 33 +++++++++++++++++++++++ docs/content/menu/index.md | 22 ---------------- docs/go.mod | 2 +- docs/go.sum | 4 +-- 8 files changed, 88 insertions(+), 36 deletions(-) create mode 100644 docs/content/configuration.md create mode 100644 docs/content/installation.md create mode 100644 docs/content/license.md delete mode 100644 docs/content/menu/index.md diff --git a/docs/config.toml b/docs/config.toml index 53adace..1b3ea38 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -1,18 +1,51 @@ baseURL = 'https://certwarden-deploy.adora.codes/' languageCode = 'en-us' title = 'certwarden-deploy' +author = "" -theme = "code.lila.network/adoralaura/hugo-book-theme" +theme = "github.com/McShelby/hugo-theme-relearn" +repo = "https://code.lila.network/adoralaura/certwarden-deploy" +enableGitInfo = true +enableRobotsTXT = true +uniqueHomePage = false # change to false to add sidebar to homepage [params] - # (Optional, default light) Sets color theme: light, dark or auto. - # Theme 'auto' switches between dark and light modes based on browser/os preferences - BookTheme = 'auto' - BookRepo = 'https://code.lila.network/adoralaura/certwarden-deploy' + disableLandingPageButton = false + disableLanguageSwitchingButton = false + editURL = "https://code.lila.network/adoralaura/certwarden-deploy/_edit/main/docs/content/${FilePath}" + externalLinkTarget = "_blank" -[module] - [[module.imports]] - path = "code.lila.network/adoralaura/hugo-book-theme" + [params.author] + name = 'Adora Laura Kalb' + + +[menu] + [[menu.shortcuts]] + identifier = 'ds' + name = " Git repo" + url = 'https://code.lila.network/adoralaura/certwarden-deploy' + weight = 10 + + [[menu.shortcuts]] + name = " Showcases" + url = 'showcase/' + weight = 11 + + [[menu.shortcuts]] + identifier = 'hugodoc' + name = " Hugo Documentation" + url = 'https://gohugo.io/' + weight = 20 + + [[menu.shortcuts]] + name = " Credits" + url = 'more/credits/' + weight = 30 + + [[menu.shortcuts]] + name = " Tags" + url = 'tags/' + weight = 40 diff --git a/docs/content/_index.md b/docs/content/_index.md index d7089b9..7222030 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -1,10 +1,8 @@ --- -title: Introduction +title: CertWarden-Deploy type: docs --- -## CertWarden - [CertWarden](https://www.certwarden.com/) is a self-hosted Centralized ACME Certificate Management platform. With it you can manage and aquire Let's Encrypt certificates. However, to deploy them to your hosts, for now there only was a docker client, and that was too bloated for me. diff --git a/docs/content/configuration.md b/docs/content/configuration.md new file mode 100644 index 0000000..0d4a11d --- /dev/null +++ b/docs/content/configuration.md @@ -0,0 +1,5 @@ +--- +title: Configuration +weight: 20 +--- + diff --git a/docs/content/installation.md b/docs/content/installation.md new file mode 100644 index 0000000..6369d75 --- /dev/null +++ b/docs/content/installation.md @@ -0,0 +1,5 @@ +--- +title: Installation +weight: 10 +--- + diff --git a/docs/content/license.md b/docs/content/license.md new file mode 100644 index 0000000..d655ba4 --- /dev/null +++ b/docs/content/license.md @@ -0,0 +1,33 @@ +--- +title: License +weight: 99 +--- + +## Documentation +This documentation is available under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) + +## Source Code +The source code of `certwarden-deploy` is available under the MIT license: + +```plaintext +MIT License + +Copyright © 2024 Adora Laura Kalb + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +``` diff --git a/docs/content/menu/index.md b/docs/content/menu/index.md deleted file mode 100644 index ed418fe..0000000 --- a/docs/content/menu/index.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -headless: true ---- - -- [**Example Site**]({{< relref "/docs/example" >}}) -- [Table of Contents]({{< relref "/docs/example/table-of-contents" >}}) - - [With ToC]({{< relref "/docs/example/table-of-contents/with-toc" >}}) - - [Without ToC]({{< relref "/docs/example/table-of-contents/without-toc" >}}) -- [Collapsed]({{< relref "/docs/example/collapsed" >}}) - - [3rd]({{< relref "/docs/example/collapsed/3rd-level" >}}) - - [4th]({{< relref "/docs/example/collapsed/3rd-level/4th-level" >}}) -
- -- **Shortcodes** -- [Buttons]({{< relref "/docs/shortcodes/buttons" >}}) -- [Columns]({{< relref "/docs/shortcodes/columns" >}}) -- [Expand]({{< relref "/docs/shortcodes/expand" >}}) -- [Hints]({{< relref "/docs/shortcodes/hints" >}}) -- [KaTeX]({{< relref "/docs/shortcodes/katex" >}}) -- [Mermaid]({{< relref "/docs/shortcodes/mermaid" >}}) -- [Tabs]({{< relref "/docs/shortcodes/tabs" >}}) -
diff --git a/docs/go.mod b/docs/go.mod index a038a0f..68b6770 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -2,4 +2,4 @@ module code.lila.network/adoralaura/certwarden-deploy-docs go 1.22.2 -require code.lila.network/adoralaura/hugo-book-theme v0.0.0-20240712103017-55b1193ecd34 // indirect +require github.com/McShelby/hugo-theme-relearn v0.0.0-20240721222908-7aec99b38dc2 // indirect diff --git a/docs/go.sum b/docs/go.sum index 8829714..ea0937d 100644 --- a/docs/go.sum +++ b/docs/go.sum @@ -1,2 +1,2 @@ -code.lila.network/adoralaura/hugo-book-theme v0.0.0-20240712103017-55b1193ecd34 h1:jgwSyEijB5R4TxGxsO6Lugm1+bcaw7Tz5rCxptmc92A= -code.lila.network/adoralaura/hugo-book-theme v0.0.0-20240712103017-55b1193ecd34/go.mod h1:MBe0adh4WF9iMJ51BCRAeKkPUda/JB9RlGUQwmk5qc0= +github.com/McShelby/hugo-theme-relearn v0.0.0-20240721222908-7aec99b38dc2 h1:022HGVq2CBuTftLgNRiU3rxqh+w3M3ZcschnXbjgomc= +github.com/McShelby/hugo-theme-relearn v0.0.0-20240721222908-7aec99b38dc2/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM=