Commit Graph

176 Commits

Author SHA1 Message Date
Robert Kaussow 39df04c78f
docs: fix theme build documentation (#318) 2022-02-03 14:41:42 +01:00
Robert Kaussow 4f3d48c1d9
fix: fix formatting on code links (#316) 2022-02-03 11:42:26 +01:00
Robert Kaussow 30d3c64c41
fix: fix post metadata positioning (#315) 2022-02-03 10:58:37 +01:00
Robert Kaussow 2805fbd33a
fix: always fetch menu name from data file (#296) 2022-01-23 22:32:21 +01:00
Robert Kaussow 5c22ce57dc
feat: add multilingual mode support (#241)
BREAKING CHANGE:  Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
2022-01-23 13:21:44 +01:00
Avi Mehenwal 09309a2a3c
docs: add missing option to hints shortcode example (#294) 2022-01-22 14:07:32 +01:00
Robert Kaussow 8a741d82d8
cleanup include shortcode docs 2022-01-10 23:39:19 +01:00
Robert Kaussow e9a07f78d2
docs: document how to use different type in include shortcode (#275) 2022-01-10 23:36:20 +01:00
Robert Kaussow bbfc75ecb0
rework search integration (#262) 2022-01-06 22:52:22 +01:00
Robert Kaussow 5c5e2d59cb
refactor: replace gulp by webpack and npm scripts (#258)
BREAKING CHANGE: We have replaced `gulp` with `webpack` and `npm scripts` to build this theme. If you build it on your own or use build commands during the deployment, you may have to adjust your setup.

BREAKING CHANGE: The `GeekblogIcons` font is using the icon name as Unicode now. As a consequence, you have to replace all references to Icons from this font if you have customized the theme.

BREAKING CHANGE: We have refactored the search integration to split Hugo templates from JavaScript code. To get it working again, you need to adjust the `outputFormats` and `outputs` in your Hugo configuration file, as [documented](https://geekdocs.de/usage/configuration/#site-configuration).
2022-01-06 13:58:10 +01:00
Andreas Deininger 2ac2a9faab
docs: fixed typos and minor textual improvements (#259) 2022-01-05 09:44:06 +01:00
Robert Kaussow 6e7c01e04f
cleanup formatting and docs (#247) 2021-11-24 09:10:26 +01:00
Robert Kaussow 761caeee47
feat: add site parameter `geekdocFileTreeSortBy` to controle filetree menu sorting (#237) 2021-11-12 08:57:07 +01:00
Robert Kaussow 75f56d8fad
feat: add button to copy code blocks (#228)
BREAKING CHANGE: The `--code-max-height` formatting is applied only to code blocks that use syntax highlighting, see [documentation](https://geekdocs.de/features/code-blocks/).
2021-11-07 22:12:14 +01:00
Robert Kaussow 5d0a9c8207
docs: add missing demo image to the img shortcode page 2021-09-29 22:06:46 +02:00
Robert Kaussow 1932053d5a
feat: add microformats (#214) 2021-09-28 20:44:59 +02:00
Robert Kaussow 4bfc17ac9d
chore: normalize default favicons and add docs (#213) 2021-09-27 22:47:13 +02:00
Robert Kaussow d8fba29bb5
feat: add robots template (#203) 2021-09-08 21:48:31 +02:00
Robert Kaussow fff483ea9e
chore: remove rss link from header (#202) 2021-09-08 21:35:43 +02:00
Robert Kaussow 3f296625fb
feat: add tags to post pages (#193) 2021-09-01 10:18:00 +02:00
Grayson Orr 1e2413d52d
docs: change theme subdirectory in setup instructions (#188) 2021-08-23 17:48:57 +02:00
Robert Kaussow 57bbc46a47
feat: add optional icon menu to site header (#184) 2021-08-12 18:17:49 +02:00
Robert Kaussow 4bae11bdc6
docs: add missing prefix to icon names 2021-08-01 22:31:47 +02:00
Robert Kaussow 8abe25f3cb
feat: add 'back-to-top' link to site footer (#167)
* feat: add 'back-to-top' link to site footer

* add aria-label to link
2021-07-20 09:58:56 +02:00
Oluf Lorenzen 56a0d44a50
feat: collapse every section (#162)
This allows setting `.Site.Params.GeekdocCollapseAllSections` which then
behaves as if you would have set `.Page.Params.geekdocCollapseSection`
in all sections.

It is a hard positive switch, so you can not override it per section
once enabled.

Co-authored-by: Robert Kaussow <xoxys@rknet.org>

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2021-07-10 13:17:16 +02:00
Robert Kaussow 9682ef999b
fix: adjust colors to improve accessibility (#159) 2021-07-05 08:42:48 +02:00
Robert Kaussow 550745e727
feat: add katex math typesetting shortcode (#157) 2021-07-01 09:05:26 +02:00
Robert Kaussow 8dbea089dc
add missing button sizes documentation 2021-05-24 15:12:58 +02:00
Robert Kaussow 83b8852b8f
fix wording 2021-05-23 22:30:22 +02:00
Robert Kaussow 197fe64fa8
docs: autogenerate sprites data file during build (#136) 2021-05-23 18:19:46 +02:00
Robert Kaussow ac8653a141
docs: fix typos 2021-05-23 17:50:58 +02:00
Robert Kaussow 021eaf7ab6
feat: add sizes 'regular' and 'large' to button shortcode (#135) 2021-05-21 15:51:19 +02:00
Robert Kaussow b81c040b99
remove custom header from docs 2021-05-21 09:24:13 +02:00
Robert Kaussow 88d8af1e90
adjust csp of the documentation 2021-05-19 23:29:22 +02:00
Robert Kaussow c834b310b9
adjust csp of the documentation 2021-05-19 23:10:18 +02:00
Robert Kaussow df901ba968
feat: add partial head/custom.html for custom page head elements (#131) 2021-05-19 22:42:57 +02:00
Robert Kaussow e629d15607
feat: add page parameter geekdocAlign to control a pages text alignment (#130) 2021-05-19 00:00:57 +02:00
Robert Kaussow cd0cfe37ae
feat: add page parameter geekdocNav to disable navigation sidebar (#129) 2021-05-18 23:10:42 +02:00
Robert Kaussow 7938bc7d97
docs: improve wording of columns shortcode description (#127) 2021-05-18 21:50:28 +02:00
Robert Kaussow a92eb9f0aa
docs: fix typos 2021-05-13 15:17:18 +02:00
Robert Kaussow 4424e0b81c
feat: add css variable to set max height for code blocks (#119) 2021-05-13 14:05:38 +02:00
Robert Kaussow 8df82947b7
chore: fix capitalization for params in while clause (#108)
BREAKING CHANGE: The minimal required Hugo version was bumped to 0.83.0
2021-05-06 21:42:45 +02:00
Robert Kaussow f102d1e62f
fix typo 2021-04-28 23:34:21 +02:00
Robert Kaussow 59be9a504f
Dark mode (#66) 2021-04-27 23:44:35 +02:00
Robert Kaussow 5eff47c68b
fix: rework site header for better title and decription handling (#98) 2021-04-22 22:07:09 +02:00
Robert Kaussow d51f514b90
feat: add option geekdocProtected to exclude pages from data file (#97) 2021-04-22 21:25:43 +02:00
Robert Kaussow 63e44beef4
chore: replace master by main as default branch
BREAKING CHANGE: We have switched to 'main' as default branch. The 'master' branch is no longer maintained and will be removed after April 30, 2021!
2021-04-11 15:11:59 +02:00
Robert Kaussow 72ffa01363
docs: add known limitations (#94)
* docs: add known limitations

* fix typos
2021-04-11 13:58:06 +02:00
Robert Kaussow a8de42c489
fix: remove relURL from markdown render image hook (#93)
* fix: remove relURL from markdown render image hook

BREAKING CHANGE: As the relURL function in markdown render hooks
caused some unwanted side effects we had to remove it. Related to this
change the behavior for sites deployed to a subdirectory has changed as
well! Please check the [documentation](https://geekdocs.de/usage/getting-started/#sub-directories)
how to workaround subdirectory deployments.

* restructure color-schemes page to work as image bundle example

* fix wording
2021-04-10 15:52:27 +02:00
Robert Kaussow 1ace505d27
feat: add option to include pages using the include shortcode (#92)
BREAKING CHANGE: The include shortcode will render files as Markdown
instead of HTML by default now. While the Markdown renderer should be
able to render HTML as well this might still work as before.

BREAKING CHANGE: The include shortcode option markdown was replaces by
a generic type option that could be used to specify special include
types.
2021-04-10 13:55:03 +02:00
Robert Kaussow 9129b07d2f
add toc to dictionary 2021-04-10 13:06:07 +02:00
Robert Kaussow 9ab80e989e
feat: replace error page icon (#84)
BREAKING CHANGE: The icon `gdoc_telescope` was removed. If you are using this icon you have to replace it.
2021-03-04 22:01:10 +01:00
Robert Kaussow 5e105c9ff4
feat: auto-load custom svg sprites from assets folder (#79)
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
2021-03-03 21:07:59 +01:00
Robert Kaussow c089643bcb
ci: user master branch to test docs build on PR 2021-03-02 22:45:05 +01:00
Robert Kaussow dc8740d28c
docs: add pluralizeListTitles = false to min config example 2021-02-22 17:20:24 +01:00
Robert Kaussow a0f968f492
docs: fix ci badge 2021-02-22 10:13:11 +01:00
Robert Kaussow 81988b477a
replace missing markdownify by RenderString 2021-02-21 14:27:54 +01:00
Robert Kaussow 50a56fcd75
fix wording 2021-02-21 14:16:49 +01:00
Robert Kaussow 1cf78cea4f
feat: add custom img shortcode (#71) 2021-02-20 21:39:31 +01:00
Robert Kaussow 38c6059ab8
fix: use custom render templates to fix references (#56)
* fix: use custom render templates to fix references

* add back showAnchor condition

* change site params access
2021-02-04 10:06:19 +01:00
Robert Kaussow e87be2092c
disable geekdocMenuBundle for the docs 2021-01-24 16:26:48 +01:00
Robert Kaussow 84f37fca9a
cleanup configuration docs 2021-01-24 12:04:40 +01:00
Robert Kaussow 1c5e86904c
feat: add collapsible sections to bundle menu (#53)
* feat: add collapsible sections to bundle menu

* remove isParent check
2021-01-24 11:58:39 +01:00
Robert Kaussow 34234c2342
fix internal doc links 2021-01-03 22:48:34 +01:00
Robert Kaussow f11fb7d21b
prepare release 2020-12-22 13:45:25 +01:00
Robert Kaussow ee380e697d
add documentation for different menu types 2020-12-22 13:15:36 +01:00
Robert Kaussow 2f90aa4d95
add documentation for different menu type 2020-12-21 14:23:21 +01:00
Robert Kaussow 42a1b74f42
enable search parent groups 2020-12-21 13:02:44 +01:00
Robert Kaussow 31e5a32c34
fix typo 2020-11-16 23:13:12 +01:00
Robert Kaussow 0880c38099
add missing title to frontmatter 2020-11-16 22:55:50 +01:00
Robert Kaussow 5df0ba4b35
add new page parameter GeekdocCollapseSection 2020-11-16 22:47:50 +01:00
Robert Kaussow b2e52d6073
cleanup formatting 2020-11-11 11:48:25 +01:00
Robert Kaussow 8530b63df3
Merge pull request #16 from atorrescogollo/feature/allow-geekdochiddeninpage
Allow geekdocHiddenInPage as Page parameter
2020-11-10 23:03:41 +01:00
Alvaro Torres Cogollo 90f285c335 Allow geekdocHiddenTocTree as Page parameter 2020-11-10 22:56:14 +01:00
Alvaro Torres Cogollo c2895e5c2a Allow geekdocSearchShowParent 2020-11-10 22:50:21 +01:00
Alvaro Torres Cogollo a565da529f Allow description text in toc-tree items 2020-11-10 22:05:56 +01:00
Robert Kaussow d44a0fc13f
increase hugo timeout 2020-11-09 22:21:00 +01:00
Steffen Weidenhaus c4354d98ec
Fix type in getting-started.md
Changed `form` to `from`
2020-10-31 09:32:40 +01:00
Robert Kaussow f8d2670528
migrate to thegeeklab namespace 2020-09-27 22:21:29 +02:00
Robert Kaussow ab0867d2df
add font and css preloading links 2020-09-19 12:23:14 +02:00
Robert Kaussow ffaa3cedfb
cleanup getting started guid 2020-09-18 20:42:23 +02:00
Robert Kaussow 6eec8ac815
fix docs for configuration 2020-09-17 22:45:20 +02:00
Robert Kaussow ac62a9ed27
fix link anchor 2020-09-12 18:17:32 +02:00
Robert Kaussow c2d9f4310b
fix relative link in readme 2020-09-12 18:04:17 +02:00
Robert Kaussow f4a3018d47
[skip ci] improve getting started documentation 2020-09-12 11:57:41 +02:00
Robert Kaussow a81f858848
setup prettier 2020-09-10 22:23:24 +02:00
Robert Kaussow f84375f21c
remove left anchor option and adjust spacing 2020-09-07 21:51:04 +02:00
Robert Kaussow e27590cfd6
fix privacy policy and legal notice 2020-07-21 23:48:14 +02:00
Robert Kaussow d4ee6a6b67
disable spellchecker for 'highlight' shortcodes 2020-06-07 17:42:03 +02:00
Robert Kaussow 03ee06ffac add markdownlint to ci 2020-06-02 18:11:29 +02:00
Robert Kaussow 5e322b94e0 add dead link validation 2020-06-02 18:11:01 +02:00
Robert Kaussow a428f9d84d configure npm 2020-06-02 18:07:53 +02:00
Robert Kaussow 3959b13cd8 fix spelling and pass spellchecking 2020-06-02 18:05:14 +02:00
Robert Kaussow cb0d15260c remove control chars 2020-04-30 20:55:53 +02:00
Michael Barz 5486f711f7
add include shortcode and doc 2020-04-30 16:30:19 +02:00
Robert Kaussow 90f9d9a49a add missing quotes in toml config example 2020-04-15 09:09:12 +02:00
Robert Kaussow 7a527c8250 document minimal required page config 2020-04-15 01:10:49 +02:00
Robert Kaussow 204819124d cleanup 2020-04-15 01:10:17 +02:00
Robert Kaussow ea44ee3860 update required hugo min version to v0.65 2020-04-15 01:09:53 +02:00
Robert Kaussow 06c9a95b75 improve anchor link alignment and spacing 2020-03-17 23:22:51 +01:00