Skip to content

Commit

Permalink
updated geek-docs theme
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBarnes committed Aug 15, 2023
1 parent 533aa80 commit 255387e
Show file tree
Hide file tree
Showing 234 changed files with 2,689 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/themes/hugo-geekdoc/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Robert Kaussow <mail@thegeeklab.de>

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 (including the next
paragraph) 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.
46 changes: 46 additions & 0 deletions docs/themes/hugo-geekdoc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Geekdoc

[![Build Status](https://img.shields.io/drone/build/thegeeklab/hugo-geekdoc?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)](https://drone.thegeeklab.de/thegeeklab/hugo-geekdoc)
[![Hugo Version](https://img.shields.io/badge/hugo-0.93-blue.svg)](https://gohugo.io)
[![GitHub release](https://img.shields.io/github/v/release/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/releases/latest)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/hugo-geekdoc)](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE)

Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there. You can find a demo and the full documentation at [https://geekdocs.de](https://geekdocs.de).

![Desktop and mobile preview](https://raw.githubusercontent.com/thegeeklab/hugo-geekdoc/main/images/readme.png)

## Build and release process

This theme is subject to a CI driven build and release process common for software development. During the release build, all necessary assets are automatically built by [webpack](https://webpack.js.org/) and bundled in a release tarball. You can download the latest release from the GitHub [release page](https://github.com/thegeeklab/hugo-geekdoc/releases).

Due to the fact that `webpack` and `npm scripts` are used as pre-processors, the theme cannot be used from the main branch by default. If you want to use the theme from a cloned branch instead of a release tarball you'll need to install `webpack` locally and run the build script once to create all required assets.

```shell
# install required packages from package.json
npm install

# run the build script to build required assets
npm run build

# build release tarball
npm run pack
```

See the [Getting Started Guide](https://geekdocs.de/usage/getting-started/) for details about the different setup options.

## Contributors

Special thanks to all [contributors](https://github.com/thegeeklab/hugo-geekdoc/graphs/contributors). If you would like to contribute, please see the [instructions](https://github.com/thegeeklab/hugo-geekdoc/blob/main/CONTRIBUTING.md).

Geekdoc is inspired and partially based on the [hugo-book](https://github.com/alex-shpak/hugo-book) theme, thanks [Alex Shpak](https://github.com/alex-shpak/) for your work.

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE) file for details.

The used SVG icons and generated icon fonts are licensed under the license of the respective icon pack:

- Font Awesome: [CC BY 4.0 License](https://github.com/FortAwesome/Font-Awesome#license)
- IcoMoon Free Pack: [GPL/CC BY 4.0](https://icomoon.io/#icons-icomoon)
- Material Icons: [Apache License 2.0](https://github.com/google/material-design-icons/blob/main/LICENSE)
1 change: 1 addition & 0 deletions docs/themes/hugo-geekdoc/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.39.6
7 changes: 7 additions & 0 deletions docs/themes/hugo-geekdoc/archetypes/docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "{{ .Name | humanize | title }}"
weight: 1
# geekdocFlatSection: false
# geekdocToc: 6
# geekdocHidden: false
---
4 changes: 4 additions & 0 deletions docs/themes/hugo-geekdoc/archetypes/posts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
---
8 changes: 8 additions & 0 deletions docs/themes/hugo-geekdoc/assets/search/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{- $searchDataFile := printf "search/%s.data.json" .Language.Lang -}}
{{- $searchData := resources.Get "search/data.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify -}}
{
"dataFile": {{ $searchData.RelPermalink | jsonify }},
"indexConfig": {{ .Site.Params.geekdocSearchConfig | jsonify }},
"showParent": {{ if .Site.Params.geekdocSearchShowParent }}true{{ else }}false{{ end }},
"showDescription": {{ if .Site.Params.geekdocSearchshowDescription }}true{{ else }}false{{ end }}
}
13 changes: 13 additions & 0 deletions docs/themes/hugo-geekdoc/assets/search/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{{ range $index, $page := (where .Site.Pages "Params.geekdocProtected" "ne" true) }}
{{ if ne $index 0 }},{{ end }}
{
"id": {{ $index }},
"href": "{{ $page.RelPermalink }}",
"title": {{ (partial "utils/title" $page) | jsonify }},
"parent": {{ with $page.Parent }}{{ (partial "utils/title" .) | jsonify }}{{ else }}""{{ end }},
"content": {{ $page.Plain | jsonify }},
"description": {{ $page.Summary | plainify | jsonify }}
}
{{ end }}
]
1 change: 1 addition & 0 deletions docs/themes/hugo-geekdoc/assets/sprites/geekdoc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
154 changes: 154 additions & 0 deletions docs/themes/hugo-geekdoc/data/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{
"main.js": {
"src": "js/main-fbb9c8b0.bundle.min.js",
"integrity": "sha512-a2U9t8fDfYhGDxgtKVGnpqn5xiV2TZUXIko+ssEDtNhykeqGTRNCAnfvR78chHjMcgjDfsJaLVCmtxFaHN48Qw=="
},
"colortheme.js": {
"src": "js/colortheme-d3e4d351.bundle.min.js",
"integrity": "sha512-HpQogL/VeKqG/v1qYOfJOgFUzBnQvW4yO4tAJO+54IiwbLbB9feROdeaYf7dpO6o5tSHsSZhaYLhtLMRlEgpJQ=="
},
"mermaid.js": {
"src": "js/mermaid-39217439.bundle.min.js",
"integrity": "sha512-rGpgzfuXzqGoW/vOi2ZCPc02LJ8hXnhBytPITj1ptldIVRTEKutAvF0sHD9+C7nAk42FZneEWVaor3FF1QGLIg=="
},
"katex.js": {
"src": "js/katex-d4d5881d.bundle.min.js",
"integrity": "sha512-M8CLtMTu/HVXo11Et+lv3OqPanLf5Bl+GljNAn2yQuLclg/ZpZK1KUpHDRsZJhmkhCcCH90+bVj5CW3lLlmBgg=="
},
"search.js": {
"src": "js/search-83320133.bundle.min.js",
"integrity": "sha512-CwGkjWp7KsLGb36oWvVd0rLIzoUlHyaE6vAAciDmALP2/NgxSc/ue1skuL9vSbUZPmF2N2UduWcM0Mda6N6u1w=="
},
"js/637-ae48f964.chunk.min.js": {
"src": "js/637-ae48f964.chunk.min.js",
"integrity": "sha512-K7jA561UTkhrrUOeK+dgWUFbZDH6LNU8136bikDQUHNp5nndPmYUJAMiZ2Z6RDGlxi+i9SZEAM5UBEqx+FPeDw=="
},
"js/116-341f79d9.chunk.min.js": {
"src": "js/116-341f79d9.chunk.min.js",
"integrity": "sha512-F7tq1KsF5mnJl0AAA6x2jZcx8x69kEZrUIZJJM4RZ1KlEO79yrrFHf4CZRvhNrYOxmkBpkQ84U9J0vFtRPKjTw=="
},
"js/788-203e2b4b.chunk.min.js": {
"src": "js/788-203e2b4b.chunk.min.js",
"integrity": "sha512-I67qtpOBIn5MldS26/fWOuvJSMqY2UH4Dl57Xn15wBb9+HRF7CNANkiqB2Nhnh210pw4Qt8LHMlEx6oucQXYeA=="
},
"js/612-dbfedf18.chunk.min.js": {
"src": "js/612-dbfedf18.chunk.min.js",
"integrity": "sha512-rfPvI6wQJe8xnzgNyx2Me+Nt17It5cpK8oK0IAg559d4HLZ+OB8uwtoSXBFiTD/mYzmu99zBpkmlb6Q6MGg5/w=="
},
"js/305-dbbd6d45.chunk.min.js": {
"src": "js/305-dbbd6d45.chunk.min.js",
"integrity": "sha512-zpjmS9iYtHFqgCjH/WKYfcbbLX7Hv5D85CiqoFR0+SBHEttHX4vy3NgCp0T4XAL5gyX+2a0ekIP9gPERxynboA=="
},
"js/437-477b9f49.chunk.min.js": {
"src": "js/437-477b9f49.chunk.min.js",
"integrity": "sha512-MIJTTwBOizXiJdG6CHSp6Ztbrk2XB1lAogxiOIs0xB3a5fVyLC5QTF8Z9V66smDq2S3uh34If9Ya/lM28DRHlw=="
},
"js/70-b3819525.chunk.min.js": {
"src": "js/70-b3819525.chunk.min.js",
"integrity": "sha512-5D91f7s3m4wYKSbhTxAq9V9nMofCSMIr5ccdOOkzudJ9QVCaTbzRBKVb3CE09UwtfoYtar8ICtTz81T05sQJyA=="
},
"js/871-224df71d.chunk.min.js": {
"src": "js/871-224df71d.chunk.min.js",
"integrity": "sha512-vuJ4szABji2NytmNwd+AZVRKxc63r92Emr9MbaGjYMM2VNvbFpKeXyLDNZ/s/xkUyjY3F2X414xhDrFr2OuUcg=="
},
"js/180-2f8b886c.chunk.min.js": {
"src": "js/180-2f8b886c.chunk.min.js",
"integrity": "sha512-LvtJRezDXVSfzEevDwjqOkB114db70yVM9Mea+fZ3AZi3/+1YPAgaTlW8qf8mhif5xvHzg2xv7YK03llHi+DGQ=="
},
"js/59-4e6aefdb.chunk.min.js": {
"src": "js/59-4e6aefdb.chunk.min.js",
"integrity": "sha512-dEI7rJv+YxI6zRi7KjN47zUaiIGXpf9zBBOEP+FyVSqejbxAXG1cU2ePiNUufm6MvCa5bM1sJyjbtg+HX4WuqA=="
},
"js/422-cb2eea8f.chunk.min.js": {
"src": "js/422-cb2eea8f.chunk.min.js",
"integrity": "sha512-8cbmz/R9482rV3q5towPdcYUUmSiQoO2vwXFuuR5ax1JyPLVAHKYW6XnhhJlu41pJrOFO+gCZYCJPDRM/Z29jg=="
},
"js/604-23373755.chunk.min.js": {
"src": "js/604-23373755.chunk.min.js",
"integrity": "sha512-I8+A2ph+75Gv2M0i5l0BuIvR3phY5tu+nLD3GZmUdKLp4+b0KdXkFKmfODt67YOtPAStVCXpos4F/kO+odsrlA=="
},
"js/121-d1a55918.chunk.min.js": {
"src": "js/121-d1a55918.chunk.min.js",
"integrity": "sha512-SVdtEPZq5O6hnTgnP2eSldHLo0hQRw5+gk86TlTSJZw+d4ibgyP2Xw2ddr/VcVbpLGWN9+3BEo5G1FIiDPHdmQ=="
},
"js/786-fd40ccd8.chunk.min.js": {
"src": "js/786-fd40ccd8.chunk.min.js",
"integrity": "sha512-SFnAFbbcOfd6OGS1L+u8IjjgTSk3+Eh8gxQx+dzN+tFTzkdMs3egmlziVMoXpKoCjVcweStAhnOeiE5sdYQFpw=="
},
"js/274-27f9c754.chunk.min.js": {
"src": "js/274-27f9c754.chunk.min.js",
"integrity": "sha512-GiwL3ada9bPKFKD2O3N6Z1dnW6LG79dz0W54bnz1IezfbwO/vLDlrbL2LAXOF6TVhO2PSSH63pyzBeBdkG62NQ=="
},
"js/942-990d9d65.chunk.min.js": {
"src": "js/942-990d9d65.chunk.min.js",
"integrity": "sha512-dSP9U3U0NGSCSn/pXPzS+aN1CCp4Anqk//Fl9qhYHDYZvbV5y4pnHSvhjTpS/hTp89Qi+j71tUVSphxKp+MLmg=="
},
"js/967-d156c637.chunk.min.js": {
"src": "js/967-d156c637.chunk.min.js",
"integrity": "sha512-x0Z9WiXR2RRP6v4EoMcrAXhq42lKdiyyOkTQhKW77u1rxfcmwwJIBY6hoG3z0ERsC3fSNenMCgJ4HTht1nbzDA=="
},
"js/883-6461b2bd.chunk.min.js": {
"src": "js/883-6461b2bd.chunk.min.js",
"integrity": "sha512-oG0EcbFb130wY4yQ9ojeFTfGVCylXXMwO53/lhHX9O9NZ1gXeHgz1bXE2CuD819AATKbLY7LFQIOgtf+TUx7yg=="
},
"js/932-8c89cc25.chunk.min.js": {
"src": "js/932-8c89cc25.chunk.min.js",
"integrity": "sha512-tbxfszB1D8DGhagj6lHTRfNBZanHQxjD5taDs7JSznR8mcnr+wd2si7Tb5kSyzK4nwyMzSciHRFtaLlZN2ZbyA=="
},
"js/397-ba01d140.chunk.min.js": {
"src": "js/397-ba01d140.chunk.min.js",
"integrity": "sha512-chTiI5GEaO6jkqn72OnUUb0quALE0wZ1fLH6c/8zHIFxxwk33KzNdUXDeFsoEmVQ7qz5RhMUaTIKefFfIV03eg=="
},
"js/481-d115773f.chunk.min.js": {
"src": "js/481-d115773f.chunk.min.js",
"integrity": "sha512-2PfUAK2C95ScdoGh8N0AVXtJzw/7TnHLQstmPopUL48qf1cg8h4r9Xf7Uo/n+z0C2NtMuknXpy2zjECylxj3FA=="
},
"js/451-2756cb7b.chunk.min.js": {
"src": "js/451-2756cb7b.chunk.min.js",
"integrity": "sha512-0c1iHphy/QmCVLIQR+RZ5DpvVu5yw0eeHsFfd1trAWB1nQytTT1sfEir/VGUr6aFN7IUoKyCmAFhUQWHXDUbsQ=="
},
"js/235-fcc3127d.chunk.min.js": {
"src": "js/235-fcc3127d.chunk.min.js",
"integrity": "sha512-b2+r/vhYmxDewq4MUSVxVeXG8VaK6ojyS8Rcu5sXRBI9qQHNcg6TAGbu97CxwKfRKgwoWFqW04tjdwdBya+B3A=="
},
"js/444-3623a163.chunk.min.js": {
"src": "js/444-3623a163.chunk.min.js",
"integrity": "sha512-JlXjTL5Em+o+aF4pSOqMctoMMAIGW0/SbsbG3spIw9Gby0QD+HXZLZu8SaliMlLiSsWPp1zePstBcedZWyJtcA=="
},
"js/64-d58b402d.chunk.min.js": {
"src": "js/64-d58b402d.chunk.min.js",
"integrity": "sha512-OGCyeWUbUcwWP7kQrlmJ+oH037AnmMYgx8w9GdHGyhYm2qbmsqs/65N4QN+Jp1f/4rbySZI4Oi6dwcdqNl3jZQ=="
},
"js/443-d6f6f26e.chunk.min.js": {
"src": "js/443-d6f6f26e.chunk.min.js",
"integrity": "sha512-630WQxj1XVqhiXQd/m3oHN1Pk/G/cuT4Q1QhAsHGZd98TBQGcPeF3xphnWSvfNlF1JrkyhSul5Id6A0hW4Rz8w=="
},
"js/815-a8e719da.chunk.min.js": {
"src": "js/815-a8e719da.chunk.min.js",
"integrity": "sha512-j0NPPjSDMX3Arg2v7EtMF8aiETCylSWjv4LFhaesKoLRQ6G8suM2jshsYZfFUIeVrNejaT4gc4b0e2IQJaDN9A=="
},
"js/137-f0caf72e.chunk.min.js": {
"src": "js/137-f0caf72e.chunk.min.js",
"integrity": "sha512-SZrKXARpdDZ6L8jR9Y8zc5DNHWLSpXavG6iKjwJ7jI/VUGEnw63gkjZUGEveL0hh6KGaercD9Aung3yjLnfqLg=="
},
"main.scss": {
"src": "main-ba0e2765.min.css",
"integrity": "sha512-h7EvkyGW5yIpfNcu0wqf1U1eOFed2XIIpx+JSvv3wLmJu4H5Qaa+UmXAyYU5/BIW78AKPSmf9wPyonrv+PccWw=="
},
"katex.css": {
"src": "katex-66092164.min.css",
"integrity": "sha512-ng+uY3bZP0IENn+fO0T+jdk1v1r7HQJjsVRJgzU+UiJJadAevmo0gVNrpVxrBFGpRQqSz42q20uTre1C1Qrnow=="
},
"mobile.scss": {
"src": "mobile-79ddc617.min.css",
"integrity": "sha512-dzw2wMOouDwhSgstQKLbXD/vIqS48Ttc2IV6DeG7yam9yvKUuChJVaworzL8s2UoGMX4x2jEm50PjFJE4R4QWw=="
},
"print.scss": {
"src": "print-735ccc12.min.css",
"integrity": "sha512-c28KLNtBnKDW1+/bNWFhwuGBLw9octTXA2wnuaS2qlvpNFL0DytCapui9VM4YYkZg6e9TVp5LyuRQc2lTougDw=="
},
"custom.css": {
"src": "custom.css",
"integrity": "sha512-1kALo+zc1L2u1rvyxPIew+ZDPWhnIA1Ei2rib3eHHbskQW+EMxfI9Ayyva4aV+YRrHvH0zFxvPSFIuZ3mfsbRA=="
}
}
53 changes: 53 additions & 0 deletions docs/themes/hugo-geekdoc/i18n/cs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
edit_page: Upravit stránku

nav_navigation: Navigace
nav_tags: Tagy
nav_more: Více
nav_top: Zpět nahoru

form_placeholder_search: Vyhledat

error_page_title: Ztracen? Nic se neděje
error_message_title: Ztracen?
error_message_code: Error 404
error_message_text: >
Vypadá to že stránka, kterou hledáte, neexistuje. Nemějte obavy, můžete
se vrátit zpět na <a class="gdoc-error__link" href="{{ . }}">domovskou stránku</a>.
button_toggle_dark: Přepnout tmavý/světlý/automatický režim
button_nav_open: Otevřít navigaci
button_nav_close: Zavřít navigaci
button_menu_open: Otevřít lištu nabídky
button_menu_close: Zavřít lištu nabídky
button_homepage: Zpět na domovskou stránku

title_anchor_prefix: "Odkaz na:"

posts_read_more: Přečíst celý příspěvek
posts_read_time:
one: "Doba čtení: 1 minuta"
other: "Doba čtení: {{ . }} minut(y)"
posts_update_prefix: Naposledy upraveno
posts_count:
one: "Jeden příspěvek"
other: "Příspěvků: {{ . }}"
posts_tagged_with: Všechny příspěvky označeny '{{ . }}'

footer_build_with: >
Vytvořeno za pomocí <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> a
<svg class="gdoc-icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg>
footer_legal_notice: Právní upozornění
footer_privacy_policy: Zásady ochrany soukromí
footer_content_license_prefix: >
Obsah licencovaný pod
language_switch_no_tranlation_prefix: "Stránka není přeložena:"

propertylist_required: povinné
propertylist_optional: volitené
propertylist_default: výchozí

pagination_page_prev: předchozí
pagination_page_next: další
pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}"
53 changes: 53 additions & 0 deletions docs/themes/hugo-geekdoc/i18n/de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
edit_page: Seite bearbeiten

nav_navigation: Navigation
nav_tags: Tags
nav_more: Weitere
nav_top: Nach oben

form_placeholder_search: Suchen

error_page_title: Verlaufen? Keine Sorge
error_message_title: Verlaufen?
error_message_code: Fehler 404
error_message_text: >
Wir können die Seite nach der Du gesucht hast leider nicht finden. Keine Sorge,
wir bringen Dich zurück zur <a class="gdoc-error__link" href="{{ . }}">Startseite</a>.
button_toggle_dark: Wechsel zwischen Dunkel/Hell/Auto Modus
button_nav_open: Navigation öffnen
button_nav_close: Navigation schließen
button_menu_open: Menüband öffnen
button_menu_close: Menüband schließen
button_homepage: Zurück zur Startseite

title_anchor_prefix: "Link zu:"

posts_read_more: Ganzen Artikel lesen
posts_read_time:
one: "Eine Minute Lesedauer"
other: "{{ . }} Minuten Lesedauer"
posts_update_prefix: Aktualisiert am
posts_count:
one: "Ein Artikel"
other: "{{ . }} Artikel"
posts_tagged_with: Alle Artikel mit dem Tag '{{ . }}'

footer_build_with: >
Entwickelt mit <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> und
<svg class="gdoc-icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg>
footer_legal_notice: Impressum
footer_privacy_policy: Datenschutzerklärung
footer_content_license_prefix: >
Inhalt lizensiert unter
language_switch_no_tranlation_prefix: "Seite nicht übersetzt:"

propertylist_required: erforderlich
propertylist_optional: optional
propertylist_default: Standardwert

pagination_page_prev: vorher
pagination_page_next: weiter
pagination_page_state: "{{ .PageNumber }}/{{ .TotalPages }}"
Loading

0 comments on commit 255387e

Please sign in to comment.