Commit Graph

176 Commits

Author SHA1 Message Date
Robert Kaussow 6eb576575e
refactor: move profile size from img to degicated avatar shortcode (#817)
BREAKING CHANGE: The `size=profile` option was removed from the `img` shortcode. To create avatar images the new `avatar` shortcode can be used.
2024-04-07 21:54:12 +02:00
Patrick Näf f26c973a82
docs: add information that `unsafe = true` is required for nested shortcodes (#795) 2024-02-26 10:12:01 +01:00
Robert Kaussow f5ea5f0ef6
docs: explain `buildDrafts` flag in getting started guide (#786) 2024-02-11 13:44:25 +01:00
Robert Kaussow 392fa73eba
docs: fix format of the netlify makefile example (#785) 2024-02-11 13:10:35 +01:00
Robert Kaussow b750f4ab53
fix: respect `geekdocFileTreeSortBy` parameter while creating the toc tree (#771) 2024-01-12 11:56:06 +01:00
renovate[bot] 0e026ff7de
chore(deps): update quay.io/thegeeklab/lhci docker tag to v0.13 (#760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-01-08 08:32:21 +01:00
Robert Kaussow eae99409b7
fix: replace `.Site.BaseURL` by recommended alternatives (#761) 2024-01-07 16:24:22 +01:00
Robert Kaussow 83469c437f
docs: use a propertylist to document shortcode attributes (#732) 2023-10-27 21:38:23 +02:00
Robert Kaussow 712be2e2a7
feat: add next-prev navigation for filetree menu (#723) 2023-10-20 09:39:38 +02:00
Robert Kaussow 7c288f93f0
ci: migrate to woodpecker (#690) 2023-08-25 12:37:28 +02:00
Robert Kaussow dc3ede1b72
fix: utilize hugo.WorkingDir for a reliable edit page link (#665)
BREAKING CHANGE: The `Edit page` uses the `hugo.WorkingDir` function of Hugo, which was introduced in v0.112.0. Due to this change, the minimum Hugo version for the theme has been raised accordingly.
2023-07-11 21:00:27 +02:00
James Braza 74b3bb7b69
docs: add link to Hugo docs to explain page weight (#637) 2023-06-22 10:34:39 +02:00
Robert Kaussow 23128a3dfa
chore: normalize mixed casing of code block lang and theme parameters (#647) 2023-06-22 09:45:54 +02:00
Robert Kaussow 4b6ba3a53f
chore: adjust default brand size (#643) 2023-06-20 13:43:13 +02:00
Robert Kaussow e2fe0f638d
fix bare url in contribution file (#619) 2023-05-03 14:00:00 +02:00
Robert Kaussow 5eceeeb733
fix hugo themes library image size (#614) 2023-04-21 22:28:08 +02:00
Robert Kaussow fb924d52dd
docs: replace screenshots after redesign (#612) 2023-04-19 20:48:06 +02:00
Robert Kaussow 80ddd27307
fix: adjust default color scheme to fix some contrast issues (#610)
BREAKING CHANGE: This change has adjusted the default color scheme and brand icon. There is no real functional break, but since the look and feel has changed, you might consider this as such.
2023-04-19 16:28:08 +02:00
Robert Kaussow 64f3d0ea7d
feat: add progress bar shortcode (#594) 2023-03-04 15:45:26 +01:00
Robert Kaussow 5d4370b617
feat: add basic svg support to the img shortcode (#554) 2022-12-11 15:05:30 +01: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 128a55e974
feat: add option to sort items in properties shortcode (#527)
BREAKING CHANGE: To enable sorting of elements in the `properties` shortcode, it was necessary to change the structure of the properties file. Due to this change, the `properties` object now requires a list of maps instead of a map. A [sample file](https://raw.githubusercontent.com/thegeeklab/hugo-geekdoc/main/exampleSite/data/properties/demo.yaml) can be found in the repository.
2022-11-02 13:01:20 +01:00
Robert Kaussow 73c5f6a6b2
fix: fix multi paragraph admonitions formatting (#526) 2022-11-02 11:03:13 +01:00
Robert Kaussow c1d8443eed
chore: bump hugo in ci to 0.104.3 (#518) 2022-10-14 12:21:12 +02:00
Robert Kaussow b9876a8640
feat: add origin size to image shortcode (#490) 2022-09-02 10:58:44 +02:00
Robert Kaussow e7c4453d45
ci: improve version file and tarball creation (#486) 2022-08-29 22:53:07 +02:00
Robert Kaussow 12c81554ac
feat: support mermaid codeblocks (#485) 2022-08-29 21:52:44 +02:00
Dan Čermák b642716a8a
docs: fix grammar in theming docs (#481) 2022-08-24 10:30:45 +02:00
Dan Čermák 3b9e4ec10b
docs: fix typo side to site (#480) 2022-08-22 21:02:25 +02:00
Robert Kaussow 1a9fe22d64
feat: add option anchor the the bundle menu (#468) 2022-08-04 21:57:02 +02:00
Robert Kaussow 66d456f552
feat: add column size attribute (#455) 2022-07-11 20:46:01 +02:00
Robert Kaussow c39eee4368
docs: normalize shortcode documentation (#454) 2022-07-11 20:45:55 +02:00
Robert Kaussow 7195431d8c
fix: improve keyboard accessability for anchors and code blocks (#434) 2022-06-10 21:44:08 +02:00
Robert Kaussow 6545ceb24d
feat: add option geekdocDarkModeCode to enforce dark codeblocks (#429) 2022-05-31 14:14:01 +02:00
Robert Kaussow 33ea5c37a9
feat: render popertylist description as markdown (#426) 2022-05-30 21:40:09 +02:00
brett ohland 61ef82104e
fix: remove table formatting from github gists (#416)
* fix: fix CSS issue with gist embeds

* Addressing PR comments

* remove newline

* simplify selector and add example

* fix spellcheck

* fix markdownlint

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2022-05-24 00:37:06 +02:00
Robert Kaussow 6b464202c9
fix: fix formatting issue while using nested toc shortcodes (#415) 2022-05-22 22:07:35 +02:00
Robert Kaussow 6ab98d1da3
feat: add propertylist shortcode (#414) 2022-05-22 22:00:37 +02:00
Robert Kaussow cb68d35c24
ci: switch to linkchecker (#410) 2022-05-18 18:21:11 +02:00
Robert Kaussow a056805a30
docs: migrate hints to named attributes (#393) 2022-04-30 14:28:48 +02:00
Robert Kaussow d724618457
fix custom css icon grid 2022-04-23 15:24:10 +02:00
Robert Kaussow f6966b8513
feat: add optional hint/admonition icons (#383)
BREAKING CHANGE: The types of the `hint` short code have been renamed to `[note|tip|important|caution|warning]` the old types `[info|ok|warning|danger]` are still working, but should be considered as deprecated.

BREAKING CHANGE: The `hint` short code is using named arguments now. You have to change, e.g. `{{< hint warning >}}` to `{{< hint type=warning >}}`.
2022-04-23 15:14:42 +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 a4d1f51b1b
fix template auto-formatting 2022-02-22 21:45:14 +01:00
Robert Kaussow 928906b251
remove unused page resources 2022-02-17 20:45:22 +01:00
Robert Kaussow 2dbe3a4a5f
fix: add schema.org metadata to docs sections (#347) 2022-02-17 20:44:08 +01:00
Robert Kaussow 7df6057ca0
feat: add new option geekdocContentLicense (#346) 2022-02-16 11:53:13 +01:00
Robert Kaussow c9f809ca19
fix: fix edit page link and auto-detect contentDir (#343)
BREAKING CHANGE: With support of the multilingual mode, we broke the `edit page` links, as the content directory was statically hard-coded into the `GeekdocEditPath` parameter. To get the correct content directory, regardless of the language or a disabled multilingual mode, we now use Hugo's built-in `.Site.Params.contentDir` parameter. Therefor, you have to remove the hard-coded `/content` part from the `geekdocEditPath` parameter in the configuration of your project.
2022-02-15 20:58:35 +01:00
Robert Kaussow d2668b43f6
refactor: unify title and description handling in meta files (#329) 2022-02-07 10:57:43 +01:00