Commit graph

21 commits

Author SHA1 Message Date
renovate[bot]
46a170c6f5
fix(deps): update dependency flexsearch to v0.7.41 (#762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-01-08 15:24:07 +01:00
Robert Kaussow
2f614e6553
fix: fix hover background color for the code copy box (#698) 2023-08-31 23:27:02 +02:00
Robert Kaussow
fb905bd6c1
feat: add optional page description to search (#550)
Add optional page description to the search result list. The feature can be enabled by `geekdocSearchShowDescription=true` and is disabled by default. The max length of the description is set to `55` and will be truncated automatically if the limit is exceeded.
2022-12-07 08:57:41 +01:00
Robert Kaussow
e9ece03388
feat: add option to enable or disable the dark mode toggle button (#529) 2022-11-02 15:48:45 +01:00
Robert Kaussow
d0a7f2bb60
fix: dont write color mode defaults to local storage (#528) 2022-11-02 15:09:14 +01:00
Robert Kaussow
3ea85629a4
fix: fix execption while creating the code copy button (#439) 2022-06-12 15:41:20 +02:00
Robert Kaussow
6545ceb24d
feat: add option geekdocDarkModeCode to enforce dark codeblocks (#429) 2022-05-31 14:14:01 +02:00
Robert Kaussow
bea2551628
chore: use mermaid default light and dark theme (#425) 2022-05-30 21:26:43 +02:00
Robert Kaussow
2f5054f389
fix: fix icon on codecopy button (#392) 2022-04-30 13:37:07 +02:00
Robert Kaussow
b104d6ac70
refactor: rename class .icon to .gdoc-icon (#379)
BREAKING CHANGE: The class `.icon` was renamed to `.gdoc-icon` to avoid conflicts.
2022-04-18 20:33:23 +02: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
Robert Kaussow
cdc8c1faed
fix: fix asset loading on subfolder deployments (#287) 2022-01-16 16:03:31 +01:00
Robert Kaussow
d89f0246ea
fix: replace ajv to avoid unsafe-eval (#269) 2022-01-08 21:29:28 +01:00
Robert Kaussow
a78a8afb57
fix: switch back to flexsearch compact to avoid usage of eval (#268) 2022-01-08 17:44:53 +01:00
Robert Kaussow
bf0981bcc6
chore: cleanup build setup and webpack requirements (#265) 2022-01-07 16:18:07 +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
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
550745e727
feat: add katex math typesetting shortcode (#157) 2021-07-01 09:05:26 +02:00
Robert Kaussow
649e3cf752
fix: remove inline script usage (#133) 2021-05-21 11:33:17 +02:00
Robert Kaussow
c05cd36f57
refactor: cleanup and restructure gulp tasks (#101) 2021-05-05 22:44:36 +02:00