Commit graph

43 commits

Author SHA1 Message Date
Sören Weber
fdd5ff7ab8
clarify caveats for mermaid code fences 2021-10-07 23:01:04 +02:00
Sören Weber
6c8bbd9383
remove outdated Hugo stuff
https://discourse.gohugo.io/t/what-does-metadataformat-do/20542/2
2021-09-28 21:50:29 +02:00
Sören Weber
0b2379269d
docs: add hint for search in config.toml 2021-09-28 21:35:59 +02:00
Sören Weber
a96e6b93f8
docs: change chroma theme as it looks weird for certain markers #99 2021-09-23 22:13:37 +02:00
Sören Weber
714b790f0e
docs: block code doesn't always has a background #100 2021-09-23 21:46:32 +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
2775489287
sitemap: turn off indexing of hidden pages in exampleSite #85 2021-09-10 00:17:58 +02:00
Sören Weber
5c667b3d07
code highligher: switch to standard hugo highlighter #32
Since a while, Hugo has its own mechanism for code highlightning.

We remove the old highlightning code provided by the client-side javascript library highlight.js and all its related files.

This also solves issues introduced by Hugos own highlightning because in our theme we are currently highlighting the code twice leading to unpredictiable results.

This will also fix an issue were light code highlightning themes weren't displayed correctly because our styles are overwriting color information.

Another advantage is the huge list of supported languages which by far exceeds our current list.

On the downside, this is a breaking change because our current color theme isn't supported by Hugo.
2021-07-26 11:50:34 +02:00
Sören Weber
a9e7e8f68b
expand: add unsafe html to config to allow nested shortcodes 2021-07-16 23:15:04 +02:00
Sören Weber
f6df8bfb53
theme: prepare for new hugo theme registration #13 2021-07-04 20:59:17 +02:00
Sören Weber
c450aa48e7
removing mermaid CDN dependency from exampleSite #7
to let example work in local installations
2021-07-02 22:18:25 +02:00
Sören Weber
6b7779dac5
merge theme js scripts into one file and fix mermaid init #5 2021-07-02 21:58:16 +02:00
Sören Weber
3564d9ebfa
expose mermaid options in config.toml #4 2021-07-02 18:12:34 +02:00
Sören Weber
bd9983978b
Hardening examplesite against misconfiguration 2021-07-01 21:47:17 +02:00
Sören Weber
9cc3f7103c
Compliance: Rename branch master to main 2021-07-01 11:01:51 +02:00
Sören Weber
4137b5d2c5 Iconic relearn color theme 2021-06-30 23:15:51 +02:00
Sören Weber
494a3c8b7c Repair links after making content single language 2021-06-30 21:30:03 +02:00
Sören Weber
e4abaabb4c Remove more references 2021-06-30 14:56: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
mirisbowring
6cfd61e0f6
Navigation home option (#381)
* 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

* applied 3 new params to default config

* Implemented Home Button logic

* Applied default style

* applied same landingpage ref to logo partials

* added sample image, how the button will looks like

* added en documentation on how to configure the button

* translated home button configuration to french via deepl

* applied home button style to theme variants

* set button disabled by default

* 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-10-21 17:53:27 +01: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
Razon Yang
00f1ca6856
Add the titleSeparator parameter. (#448)
* Add the titleSeparator parameter

* Add a description for the titleSeparator parameter
2020-09-11 09:31:22 +01:00
Zhao Xiaojie
be4f62237c Add shortcut for Chinese language 2019-12-06 15:48:50 +08:00
Zhao Xiaojie
f616491457 Add Chinese language for this theme 2019-12-04 11:17:39 +08:00
Christian Oliff
019edac69d correct GitHub capitalization 2019-06-05 00:09:15 +01:00
Matthew Taylor
53c67f15c6 Enable breadcrumb and prevnext for demosite 2018-10-22 22:53:45 -04:00
Mathieu Cornic
a690228179 fix conflict 2018-08-10 11:03:31 +02:00
Mathieu Cornic
a741dbe555 fix baseURL for local site 2018-08-10 11:01:14 +02:00
matcornic
59c4cbf186 fix #130: favicon works now with baseURL 2018-02-20 19:47:55 +01:00
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
Dênis Volpato Martins
4a0f8b3a6a
doc: Keep icons aligned
Align 'More' items' icons with full-width (`fa-fw`) Font-Awesome class.
2018-01-20 01:12:47 -02:00
matcornic
7cfaed4861 doc: fix editURL 2017-08-20 23:43:51 +02:00
matcornic
aff3307ff5 add english documentation content 2017-08-20 23:43:50 +02:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
88f55b81ca feat: add red and green variant themes 2017-08-20 23:43:48 +02:00
matcornic
7ca4b0c7ad feat: add theme variant system + add blue variant 2017-08-20 23:43:48 +02:00
matcornic
eb60debba2 feat: add 'more' section in left menu 2017-08-20 23:43:47 +02:00
matcornic
e37af28876 add parameter to disable copy-to-clipboard function for inline code 2017-08-20 23:43:47 +02:00
matcornic
9eb81efb44 fix busting javascript #47 2017-08-20 23:43:46 +02:00
matcornic
47c72cb81e feat: better UX in the menu 2017-08-20 23:43:46 +02:00
matcornic
157e3ac512 feat: add full i18n. Select desired language in the site automatically 2017-08-20 23:43:46 +02:00
matcornic
1227b1d3ed feat: renamed docs example to exampleSite 2017-08-20 23:43:45 +02:00
Renamed from docs/config.toml (Browse further)