Commit graph

256 commits

Author SHA1 Message Date
Sören Weber
9b47e855b8
docs: don't align table cells #596
to allow pirate translation to be RTL
2023-07-27 16:07:01 +02:00
Sören Weber
e9d3eb6489
siteparam: support nested parameters and text formatting #590 2023-07-26 22:29:03 +02:00
Anton Dollmaier
a8b62804b0 add note for HTML markup
To use icons via HTML elements directly, unsafe markup must be allowed.
2023-07-26 21:46:57 +02:00
Sören Weber
1381995bac
button: fix visuals #577 2023-06-28 22:13:16 +02:00
Sören Weber
047606ff45
docs: switch to lineNos=true #169
be a role model and adhere to the docs
2023-06-22 17:32:39 +02:00
Sören Weber
7c42d47a73
docs: fix copy&paste #169 2023-06-22 01:34:12 +02:00
Sören Weber
83e403ea2e
highlight: add option for wrapping vs. scrolling #169 2023-06-22 01:22:08 +02:00
Sören Weber
c3015432e5
syntaxhighlight: improve if using highlight shortcode #569 2023-06-15 19:35:35 +02:00
Sören Weber
e77afd6b70
mermaid: allow for YAML frontmatter inside of graph #564 2023-06-09 21:45:57 +02:00
Sören Weber
619e8846d4
docs: fine tuning 2023-06-08 00:10:37 +02:00
Sören Weber
25e39cfe34
tabs: fix style for indented code blocks #550 2023-06-07 20:16:59 +02:00
Sören Weber
a79f81322a
tabs: add title and icon option #552 2023-06-06 19:54:12 +02:00
Sören Weber
67fe76a99c
shortcodes: add style option to mimic code box color scheme #551 2023-06-06 17:44:06 +02:00
Sören Weber
9dc450a069
docs: add docs for new tab parameter #550 2023-06-06 00:31:57 +02:00
Sören Weber
84a884e353
docs: remove tabs deprecation warning #550 2023-06-05 23:20:37 +02:00
Sören Weber
ec134fa041
docs: replace markdownify by .RenderString #555 2023-06-03 23:50:46 +02:00
Sören Weber
61f05936b1
shortcodes: replace markdownify by .RenderString #555 2023-06-03 13:14:15 +02:00
Sören Weber
61a3995389
footnotes: render at end of page for all shortcodes #547 2023-05-31 23:44:27 +02:00
Sören Weber
484ce3de29
docs: clarify limitations attachments shortcode in Hugo <0.112 #540 2023-05-29 13:46:28 +02:00
Sören Weber
2b789843bb
tags: allow markdown in tab name #538 2023-05-25 13:17:16 +02:00
Sören Weber
a135b2adb4
chore: update Mermaid to 10.2.0 #499 2023-05-24 20:25:13 +02:00
Sören Weber
69a5aa5b58
docs: clarifications for tabs #538 2023-05-24 00:13:40 +02:00
Sören Weber
7e92610184
tab: new shortcode to display single tab #538 2023-05-23 23:57:48 +02:00
Sören Weber
36fefc833d
chore: update Mermaid to 9.4.3 #534 2023-05-23 15:17:23 +02:00
Sören Weber
ace357eb4a
docs: test for consistent terms style #530 #531 2023-05-19 18:46:39 +02:00
Sören Weber
6fdff4437c
docs: remove test output from petstore.json #523 2023-05-14 23:42:25 +02:00
Sören Weber
06d35bbbdb
openapi: replace implementation with swagger-ui #523 2023-05-14 23:05:07 +02:00
Sören Weber
bb895ce61d
shortcodes: allow markdown for title and content #502 2023-03-14 21:48:18 +01:00
Sören Weber
243bede83d
piratify: reduce reader warnings #496 2023-02-10 17:30:41 +01:00
Sören Weber
a046b9300f
mermaid: make zoom configurable #144 2023-02-05 11:13:03 +01:00
Sören Weber
98f5959a33
docs: remove Mermaid beta graphs #144 2023-02-05 11:09:43 +01:00
Sören Weber
5b9389fde2
browser: remove IE11 errors #452 2023-02-04 16:01:42 +01:00
Sören Weber
00faf15af5
expand: a11y and remove jQuery #339 #452 2023-02-03 08:57:55 +01:00
Sören Weber
1662d4a95b
docs: simplify 2023-01-24 23:58:52 +01:00
Sören Weber
cf72c51286
shortcodes: support for accent color #440 2023-01-24 00:14:10 +01:00
Sören Weber
7e766aa5dd
shortcodes: add color parameter #438 2023-01-23 22:35:43 +01:00
Sören Weber
22d70d80b9
docs: fix link for file:// protocol 2023-01-23 13:42:01 +01:00
Sören Weber
fafc04cb42
docs: fix typos 2023-01-14 01:39:28 +01:00
Sören Weber
2b9bbeb51d
docs: change in button shortcode #426 2022-12-26 02:08:17 +01:00
Sören Weber
18abaaf4f8
attachments: fix incorrect links for defaultContentLanguageInSubdir=true #425 2022-12-23 03:23:33 +01:00
Sören Weber
838f13db0f
docs: switch to https for credit links #424 2022-12-22 00:49:08 +01:00
Sören Weber
f255f3a4d5
docs: fix icon alias #412 2022-12-04 11:16:50 +01:00
Sören Weber
20b5175214
docs: minor tweaks #410 #412 2022-12-02 19:26:49 +01:00
Sören Weber
350f7abd7f
icon: add new shortcode #412 2022-12-02 18:31:54 +01:00
Sören Weber
257b7c603d
badge: fix minor issues in docs #410 2022-12-01 09:00:36 +01:00
Sören Weber
c45f6dda08
badge: add new shortcode #410 2022-12-01 01:37:09 +01:00
Sören Weber
39b8347b1f
button: refactor for a11y #372 2022-11-28 18:42:51 +01:00
Sören Weber
1fd26744c6
docs: show additional Mermaid graphs #394
and reorder diagram types in Mermaid docs order
2022-11-19 00:01:37 +01:00
Sören Weber
95450cbf23
mermaid: update to version 9.2.2 #391 2022-11-17 23:35:28 +01:00
Sören Weber
cd0df6349c
docs: document how to use tabs inside tabs #388 2022-11-17 22:57:18 +01:00
Sören Weber
5efdd8db6e
mermaid: fix Gantt chart width #365 2022-11-05 13:00:22 +01:00
Sören Weber
7e4e587ad0
docs: remove test objects for math and mermaid #363 2022-11-01 00:29:08 +01:00
Sören Weber
3b020b0cb9
button: refine target parameter handling #351 2022-10-31 21:08:49 +01:00
Sören Weber
16716ff1db
Merge branch 'main' of https://github.com/TB1234/hugo-theme-relearn into TB1234-main 2022-10-31 19:52:59 +01:00
Sören Weber
2d994e6ac6
math: allow passing of parameters with codefence syntax #363 2022-10-31 15:27:31 +01:00
Sören Weber
1f040fa262
mermaid: allow passing of parameters with codefence syntax #360 2022-10-31 15:15:50 +01:00
Sören Weber
85d2a07bc6
Merge branch 'contrib' of https://github.com/deining/hugo-theme-relearn into deining-contrib 2022-10-31 15:08:23 +01:00
Andreas Deininger
a5cddb7142 Example site: fixing typos 2022-10-31 12:13:03 +01:00
Andreas Deininger
5745256519 Mermaid diagrams: allow passing of parameters with codefence syntax 2022-10-31 11:29:05 +01:00
Tobias Bauer
206bb1b3c8 Add documentation 2022-10-19 18:03:45 +02:00
Sören Weber
29ef3c657a
children: remove unused page parameter from docs #336 2022-10-07 13:08:38 +02:00
Sören Weber
0a5e725b9a
swagger: clarify print #333 2022-10-06 22:47:24 +02:00
Sören Weber
5170353967
docs: removed some typos 2022-10-03 12:02:22 +02:00
Sören Weber
5e1f07c03c
theme: make HTML5 compliant #329 2022-10-03 00:24:37 +02:00
Sören Weber
b663658657
docs: fix ordering of pages #320 2022-08-05 23:53:30 +02:00
Sören Weber
d1550bdddb
archetypes: introducing hooks #300 2022-07-06 00:15:33 +02:00
Sören Weber
897e004e1a
archetypes: rethink rendering #300 2022-07-05 00:19:27 +02:00
Sören Weber
af5fe2f931
Revert "math: actually it's working in IE11 so lift limitation #235"
This reverts commit c02b56cb4a.
2022-07-03 00:45:46 +02:00
Sören Weber
c02b56cb4a
math: actually it's working in IE11 so lift limitation #235 2022-07-03 00:42:35 +02:00
Sören Weber
3067e57f6f
docs: typo #235 2022-07-03 00:35:45 +02:00
Sören Weber
b1547e945f
theme: docs wording 2022-07-02 14:01:24 +02:00
Sören Weber
01e14664ce
math: add mathjax rendering #235 2022-07-02 14:00:23 +02:00
Sören Weber
ae666b2b77
tabs: unify parameter names #277 2022-06-23 13:24:54 +02:00
Sören Weber
66d32c48b0
button: fix typo in parameter name #277 2022-06-23 13:24:36 +02:00
Sören Weber
7570a7c28c
include: second parameter is ignored #281 2022-06-23 13:22:04 +02:00
Sören Weber
aa4d1b77bd
docs: call shortcode from partials #277 2022-06-23 00:03:24 +02:00
Sören Weber
5118f1982e
tabs: don't change tab selection if panel does not contain item #279 2022-06-22 22:16:22 +02:00
Sören Weber
925fac5215
docs: add missing notice parameter 2022-06-22 21:41:23 +02:00
Sören Weber
ac42869c28
docs: adjust notice doc to shortcode standard #240 2022-06-07 20:30:07 +02:00
Sören Weber
8551ee2738
shortcodes: revamp shortcodes #260 #261
- supply named parameter if missing #260
- fix boolean parameter if given as string #261
- revise documentation
2022-06-05 19:31:59 +02:00
Sören Weber
d42b1b04ed
docs: avoid empty tabs using groupId 2022-05-29 23:35:16 +02:00
Sören Weber
74e908ecfa
button: IE color fallback #240 2022-05-29 22:48:51 +02:00
Sören Weber
b55d2f9c3c
button: add color option #240 2022-05-29 21:35:12 +02:00
Sören Weber
5d2403a067
notice: streamline icon parameter with button shortcode #240 2022-05-29 21:35:12 +02:00
Sören Weber
2bd03b39e4
docs: correction #251 2022-05-25 23:39:19 +02:00
Sören Weber
f595aaa287
attachments: adjust implementation to doc #252 2022-05-25 23:37:44 +02:00
Sören Weber
2271ff4611
attachments: support for brand colors #252 2022-05-25 23:30:30 +02:00
Sören Weber
d7bc40253e
notice: support for brand colors #251 2022-05-24 00:37:03 +02:00
Sören Weber
5ef497a289
docs: clarify usage of shortcodes in included content #245 2022-05-23 14:59:24 +02:00
Sören Weber
48c7d6bc73
menu : expand/collapse menu items without navigation #231 2022-04-03 12:12:12 +02:00
Sören Weber
2890b60b25
docs: wildspace 2022-03-28 21:43:09 +02:00
Sören Weber
dd2233d93b
swagger: support leaf and page bundles #226 2022-03-27 23:08:29 +02:00
Sören Weber
ff8f9582a0
swagger: polishing #226
- print support
- use thems styles for swagger
- docs
2022-03-27 22:24:06 +02:00
Sören Weber
f510f0328b
docs: announcing more features 2022-03-27 22:22:10 +02:00
Sören Weber
f910477160
swagger: add support for oas/swagger documentation #226
basic swagger integration
2022-03-27 18:42:11 +02:00
Sören Weber
938debb1d9
mermaid: support differing themes for color variant switch #219 2022-03-19 20:18:21 +01:00
Sören Weber
05fa313e59
notice: allow for optional icon setting #212 2022-03-07 17:24:22 +01:00
Sören Weber
ae40b24182
docs: added limitiations for Mermaid graphs #187 2022-02-20 12:51:19 +01:00
Sören Weber
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +01:00
Sören Weber
d0e8300e1e
docs: typo 2021-10-24 13:03:38 +02:00
Sören Weber
3ffdf79c27
docs: switch to some kind of EBNF for shortcodes 2021-10-24 11:34:29 +02:00
David Lawrence
c239e76501
add support for optional parameter to use as title for notices 2021-10-21 19:20:30 -07:00
Sören Weber
fdd5ff7ab8
clarify caveats for mermaid code fences 2021-10-07 23:01:04 +02:00
Sören Weber
a2fa096c3e
Test for https://github.com/matcornic/hugo-theme-learn/issues/517 2021-10-07 21:41:56 +02:00
Sören Weber
a0e5194c00
attachments: fix search dir and link if contentDir in multilang config is used #105 2021-09-28 21:24:30 +02:00
Sören Weber
16b346c646
menu: frontmatter option to change sort predicate #98 2021-09-27 22:03:10 +02:00
Sören Weber
5d98f7d31f
hidden pages: remove from taxonomy #102 2021-09-24 06:59:28 +02:00
Sören Weber
02c72c9f31
docs: rename english pirate translation to avoid crash on rendering #90 2021-09-20 22:04:35 +02:00
Sören Weber
5574ec073e
docs: showcase multilang feature #87
Arrr, Pirrrate trrranslat'n
2021-09-11 15:46:14 +02:00
Sören Weber
28450684a9
search: adding test for expander content
search for 'maybe' to see expander text also been searched
2021-09-04 00:50:08 +02:00
Sören Weber
3931faa1d5
include: add paramter to hide first heading #43 2021-08-28 10:08:10 +02:00
Sören Weber
4ba89ec502
docs: show subpages in children example 2021-08-28 09:36:06 +02:00
Sören Weber
7800611d01
docs: children example improved #62 2021-08-27 01:00:11 +02:00
Sören Weber
39957388d4
children: default sorting ignores ordersectionsby #62 2021-08-27 00:27:41 +02:00
Sören Weber
43e600bc0c
add more tests for hidden pages #60 2021-08-26 22:16:43 +02:00
Sören Weber
da9be46f31
docs: improve hidden page examples 2021-08-26 20:54:31 +02:00
Helder Pereira
6efb50a010 Add menu-pre and menu-post templates 2021-08-25 13:54:52 +01:00
Sören Weber
2e445d2584
docs: make shortcodes main page a chapter #54
to adjust with the rest of the page structure
2021-08-25 14:49:46 +02:00
Sören Weber
1fda1d8692
children: add parameter for container style #53 2021-08-25 14:45:01 +02:00
Sören Weber
15cfc82ddb
theme: convert front matter to TOML #52
remove date field
2021-08-25 13:33:29 +02:00
Sören Weber
a69236d160
menu: control sub-menu expansion #49 2021-08-25 00:10:09 +02:00
Sören Weber
0d66a97284
code highlighter: avoid unstyled blocks for indention in docs #32 2021-08-24 00:25:15 +02:00
Sören Weber
b29f1ce055
theme: adjust leading whitespace and superflous lines 2021-08-24 00:23:52 +02:00
Sören Weber
de7b3d8056
theme: remove typos and superflous whitespace 2021-08-23 23:51:52 +02:00
Sören Weber
42c8ec549b
code highlighter: avoid unstyled blocks in docs #32
The new highlighter does not work to well if no syntax is specified
for the code block / code fence / indention.
See https://github.com/gohugoio/hugo/pull/8917
2021-08-23 23:32:34 +02:00
Sören Weber
c4215dd154
include: new shortcode #43
necessary for inclusion of CHANGELOG.md
2021-08-23 22:16:08 +02:00
Sören Weber
bb5541f791
attachments: sort output #23 2021-07-26 11:14:27 +02:00
Sören Weber
c62a9d1958
docs: unifiy mermaid, expand and notice docs #31 2021-07-26 10:10:10 +02:00
Sören Weber
4d5d7f6815
attachments: support i18n for attachment size #21 2021-07-17 12:37:24 +02:00
Sören Weber
050837bc3f
expand: add option to open on page load #25 2021-07-16 23:51:11 +02:00
Sören Weber
5f7cba3d97
rework expand documentation 2021-07-16 22:35:20 +02:00
Sören Weber
86317356d6
notice: rework documentation 2021-07-16 22:04:22 +02:00
Sören Weber
a0084ecf96
notice: support multiple blocks in one box #15 2021-07-16 19:48:48 +02:00
Sören Weber
1b06d27608
pan and zoom for mermaid graphs #9 2021-07-02 23:01:38 +02:00
Sören Weber
2219b54ebe
update mermaid docs #5 2021-07-02 22:05:35 +02:00
Sören Weber
120fd7929e
mermaid git graph causes severe loading issues #5
this is a mermaid bug, we just remove the graph to don't
receive bug reports that should be filed in the mermaid repo
2021-07-02 21:56:00 +02:00
Sören Weber
88611e0bf0
document mermaid options #4 2021-07-02 18:15:26 +02:00
Sören Weber
2ab6982425
Bring back mermaid code fences in docs #6 2021-07-02 17:40:05 +02:00
Sören Weber
9cc3f7103c
Compliance: Rename branch master to main 2021-07-01 11:01:51 +02:00
Sören Weber
c108d677b4 Rebranding to new theme name
- Rename theme from "Learn" to "Relearn"
- also change URLs
- remove old references
- more removal of french and chinese
2021-06-30 14:56:06 +02:00
Sören Weber
a938c24a63 Removed all but english documentation
to make it maintainable
2021-06-30 14:55:13 +02:00
Swen Wenzel
0b5bb6e7b3
Implement tab views (#386)
Tab views from @swenzel
2021-03-16 17:21:57 +00:00
mirisbowring
023fe7ef2b
Customize mermaid module (#362)
* enabled mermaid by default

* implemented logic to use internal oder cdn mermaid

* added english documentation

* added french translation for the mermaid options

* Removed useless test print

* Hugo does not use upper case letters in params

* fixed false sample link

* improved mermaid pages

* fixed always load mermaid if no frontmatter specified

* fixed mermaid samples

* removed obsolete css files

* changed default version of mermaid cdn

* renamed mermaidURL to customMermaidURL and removed css link

* improved mermaid configuration description

Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de>
Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
2020-09-11 14:57:25 +01:00
Susan Potter
699c9fdf9f
Upgrade mermaid-js/mermaid @ 0918b97 (v8.8.0) (#443)
* Upgrade mermaid-js/mermaid @ 0918b97

* Update exampleSite with new mermaid graph (stateDiagram-v2) example

* Update content of mermaid.js with officially distributed v8.8.0 minified version
2020-09-10 17:12:32 +01:00
Alan Cha
66feffbd41 Fix typo 2020-09-10 15:14:51 +01:00
Alan Cha
41a3f928f0 Fix children shortcode table
HTML does not seem to display properly in the table
2020-09-10 15:09:35 +01:00
Alan Cha
37399cf84e Remove extra space 2020-09-10 15:03:04 +01:00
Mathieu Cornic
f206f1fc87
Merge pull request #336 from geoffreybauduin/patch-1
Incorrect english in notice documentation
2019-12-22 21:37:56 +01:00
Olivier Wulveryck
cce05a0d42
fix extra spaces in the description 2019-11-02 08:20:59 +01:00
Geoffrey Bauduin
85e0b14c4e
Fixing incorrect english in notice documentation 2019-10-18 12:47:11 +02:00