Commit graph

575 commits

Author SHA1 Message Date
Sören Weber
99d107181c
remove google analytics & others from docs #1 2021-07-02 23:15:42 +02:00
Sören Weber
1b06d27608
pan and zoom for mermaid graphs #9 2021-07-02 23:01:38 +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
2219b54ebe
update mermaid docs #5 2021-07-02 22:05:35 +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
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
3564d9ebfa
expose mermaid options in config.toml #4 2021-07-02 18:12:34 +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
c18a14facf
mermaid: fix official url in docs #11 2021-07-02 16:41:20 +02:00
Sören Weber
bd9983978b
Hardening examplesite against misconfiguration 2021-07-01 21:47:17 +02:00
Sören Weber
146965c497
Reworking screenshots after rebranding 2021-07-01 16:25:08 +02:00
Sören Weber
022ad07ec1
Contributers cleanup #1 2021-07-01 14:57:26 +02:00
Sören Weber
e8340249df
Docs adjustments #1 2021-07-01 14:35:27 +02:00
Sören Weber
82bdb24f72
New logo #1 2021-07-01 13:35:12 +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
500c3e5120 Credits added 2021-06-30 21:57:53 +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
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
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
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
863876230c Remove extra space 2020-09-10 15:03:43 +01:00
Alan Cha
37399cf84e Remove extra space 2020-09-10 15:03:04 +01:00
Matthew Taylor
6dea56b871 Add additional documentation for code highlighting 2020-06-01 15:08:15 +01:00
Matthew Taylor
9c080a39d8 Fix various markdown warnings 2020-06-01 14:59:19 +01:00
Matthew Taylor
d4abb3c9a1 Allow custom css files to be loaded by configuration
Previously adding custom css files would require the end user to copy
the header or footer partial into their overrides. They would then
need to maintain that partial into the future.

This config allows a user to provide a list of custom css files to load
into the theme, meaning they do not need to clone the partial.

```
[params]
  custom_css = ["css/foo.css", "css/bar.css"]
```

Inspiration taken from https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033/4
2020-04-14 11:12:06 +01:00
Roger Lehmann
eb0f29ee44 Updated Installation documentation link.
Since the old link redirects to "Hugo Modules" documentation, which isn't fitting for this kind of theme, I changed it to the short tutorial in the getting started guide. Not perfect but better than having a mismatching guide, confusing users (such as myself).
2020-04-14 11:10:33 +01:00
Jian
3ea5bca755 Added flag to turn off image featherlight 2020-02-01 22:58:17 +00:00
ImgBotApp
bed0a6c0d0 [ImgBot] Optimize images
*Total -- 2,430.13kb -> 2,350.51kb (3.28%)

/exampleSite/static/images/showcase/inteliver_docs.png -- 108.40kb -> 78.86kb (27.25%)
/static/fonts/Novecentosanswide-Normal-webfont.svg -- 100.88kb -> 96.30kb (4.54%)
/static/fonts/Novecentosanswide-UltraLight-webfont.svg -- 93.99kb -> 89.81kb (4.44%)
/static/webfonts/fa-regular-400.svg -- 136.55kb -> 132.62kb (2.88%)
/static/webfonts/fa-solid-900.svg -- 775.44kb -> 753.61kb (2.82%)
/static/fonts/Work_Sans_500.svg -- 54.16kb -> 53.15kb (1.88%)
/static/fonts/Work_Sans_300.svg -- 54.52kb -> 53.50kb (1.87%)
/static/fonts/Work_Sans_200.svg -- 54.57kb -> 53.55kb (1.87%)
/static/fonts/Inconsolata.svg -- 61.54kb -> 60.54kb (1.63%)
/static/webfonts/fa-brands-400.svg -- 732.17kb -> 722.07kb (1.38%)
/exampleSite/static/fonts/monogramos-webfont.svg -- 257.41kb -> 256.00kb (0.55%)
/static/images/clippy.svg -- 0.50kb -> 0.50kb (0.2%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-02-01 22:50:45 +00:00
Amir
f629d2fadc add inteliver documentation showcase 2020-02-01 22:44:56 +00: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
Mathieu Cornic
9898e35f84
Merge pull request #339 from owulveryck/patch-1
fix extra spaces in the description
2019-12-22 21:37:19 +01:00
Mathieu Cornic
073658ca3c
Merge pull request #343 from hucste/patch-2
Fix: typos
2019-12-22 21:36:49 +01:00
Mathieu Cornic
349b324d4e
Merge pull request #342 from hucste/patch-1
Fix: typo
2019-12-22 21:36:21 +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
HUC
1bc1eef887
Fix: typos
Corrections de plusieurs erreurs typo ! :p
2019-11-06 14:17:39 +00:00
HUC
aa15edd289
Fix: typo
Correction du terme "améliorations"
2019-11-06 13:52:55 +00: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
Ross Jacobs
ce74bb8f9a Added Tshark.dev as example site 2019-08-27 23:59:48 +01:00
Sam Crauwels
95c78a8e12
Fix type lines 364 and 369
with code > as code
2019-06-17 01:43:58 +02:00
Christian Oliff
019edac69d correct GitHub capitalization 2019-06-05 00:09:15 +01:00
Boris Bera
24da9d9e1d Fix all images to use the /en/ path 2019-05-06 13:44:27 -04:00
Matthew Taylor
e7a190392a Merge branch 'master' of https://github.com/pdelaby/hugo-theme-learn into pdelaby-master 2019-03-25 21:01:40 +00:00
Delaby Pierre
6207c44b5c PR#196 : Fix english typos and hide the 'tags' div when not needed 2019-03-16 10:55:18 +01:00
ImgBotApp
26748c29e9 [ImgBot] Optimize images
*Total -- 2,545.56kb -> 1,758.74kb (30.91%)

/static/images/favicon.png -- 1.22kb -> 0.59kb (51.48%)
/exampleSite/content/basics/installation/images/chapter.png -- 85.71kb -> 46.66kb (45.56%)
/exampleSite/content/cont/pages/images/pages-chapter.png -- 243.33kb -> 152.42kb (37.36%)
/exampleSite/content/basics/style-customization/images/red-variant.png -- 380.82kb -> 239.39kb (37.14%)
/exampleSite/content/basics/style-customization/images/blue-variant.png -- 380.01kb -> 238.93kb (37.13%)
/exampleSite/content/basics/style-customization/images/green-variant.png -- 381.74kb -> 240.20kb (37.08%)
/exampleSite/content/cont/pages/images/pages-default.png -- 310.79kb -> 196.47kb (36.78%)
/exampleSite/static/images/showcase/tat.png -- 405.21kb -> 302.69kb (25.3%)
/static/images/gopher-404.jpg -- 215.36kb -> 201.42kb (6.47%)
/images/tn.png -- 141.37kb -> 139.98kb (0.99%)
2019-03-15 16:47:53 +00:00
Massimeddu Cireddu
84931c1312 Update documentation 2019-03-15 16:03:59 +00:00
Christian Oliff
41fd2a91ba
HTTPS links in exampleSite menu-footer 2018-12-23 15:41:28 +09:00
Delaby Pierre
5f53dfaa15 Add documentation an theme variants 2018-11-29 09:34:55 +01:00
Matthew Taylor
fd4651dee1 Fix error in blockquote documentation 2018-11-01 20:15:46 -04:00
Matthew Taylor
64fc30ecde Add disableBreadcrumbs and disableNextPrev to English documentation 2018-10-22 22:57:19 -04:00
Matthew Taylor
53c67f15c6 Enable breadcrumb and prevnext for demosite 2018-10-22 22:53:45 -04:00
Mathieu Cornic
17bdacdd9f fix #179: replace github images ressource by https instead of http 2018-10-10 19:29:55 +02:00
Mathieu Cornic
7208a5bb13
Merge pull request #158 from wikijm/patch-2
Typing mistake correction
2018-09-10 23:40:14 +02:00
PGP 2F93D5AF
681de6f1fa
Typing mistake correction 2018-09-10 23:20:37 +02:00
PGP 2F93D5AF
df3683e902
Typing mistake correction 2018-09-10 18:46:09 +02:00
Mathieu Cornic
300c1614ec Merge branch 'master' of https://github.com/matcornic/hugo-theme-learn 2018-08-10 11:19:30 +02: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
Mathieu Cornic
d34944e827
Merge pull request #145 from nonumeros/master
TranslationBaseName replaced for Name on archetypes template
2018-08-10 10:41:45 +02:00
Mathieu Cornic
ceed155ab0
Merge pull request #146 from tedyoung/patch-1
Clean up the English language phrasing
2018-08-10 10:41:01 +02:00
Mathieu Cornic
d7100a0c54
Merge pull request #150 from afs2015/patch-1
Updated _index.en.md for typo "names"
2018-08-10 10:20:47 +02:00
Mathieu Cornic
65d597d697 fix #153 : page not found on ex site 2018-08-10 10:18:13 +02:00
Andrew Selzer
3b13e3bbec
Updated _index.en.md for typo "names"
Sentence currently says "just drop off your image in your local `static/images/` folder and names it". This is to change it to "just drop off your image in your local `static/images/` folder and name it"
2018-07-18 14:23:16 -04:00
Ted M. Young
d091a48328
Clean up the English language phrasing
Fixed spelling and awkward phrasing to make it read better.
2018-05-27 15:40:01 -07:00
nonumeros
60dd68fc94 TranslationBaseName replaced for Name on archetypes template 2018-05-27 13:29:39 -04:00
matcornic
59c4cbf186 fix #130: favicon works now with baseURL 2018-02-20 19:47:55 +01:00
Matthew Taylor
efbd24b9be Basic usage instructions for Font Awesome library 2018-02-19 16:33:30 +00:00
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
Mathieu Cornic
735d0f0264
Update _index.en.md 2018-01-28 10:54:02 +01:00
Mathieu Cornic
5dbc270f9b
Merge pull request #117 from mdavids/patch-6
Issue #111 for _index.fr.md
2018-01-23 18:07:54 +01:00
Mathieu Cornic
6491870230
Merge pull request #116 from mdavids/patch-5
Issue #111 for _index.en.md
2018-01-23 18:07:45 +01:00
Marco Davids
820eab4111
Issue #111 for _index.fr.md 2018-01-22 22:40:35 +01:00
Marco Davids
0627b9d098
Issue #111 for _index.en.md 2018-01-22 22:39:54 +01:00
Marco Davids
39d492ec2c
Issue #111 for theme-mine.css 2018-01-22 22:38:26 +01: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
Mathieu Cornic
72a2c46788
fix typo 2018-01-17 22:54:01 +01:00
Manuel Reithuber
4a8d501baf added documentation for the menuTitle attribute 2017-11-19 14:48:37 +01:00
Jean-Christophe
209497b45e Added info about 'draft:true' (#74)
Not sure it's the best place to go in the documentation, but I thought this might prevent new Hugo user to wonder why no content was listed.
2017-09-27 16:39:42 +02:00
matcornic
0d9c29be67 feat: add Google Analytics 2017-09-05 21:12:48 +02:00
matcornic
f2260fdace feat: fix #58 - add site param shortcode 2017-09-04 22:24:36 +02:00
matcornic
9071837183 fix #61 2017-09-04 21:20:59 +02:00
matcornic
a4f2e0f640 chore: fix image path in doc 2017-09-04 19:18:48 +02:00
matcornic
f2c44bc93e chore: fix spelling mistake 2017-09-04 19:14:13 +02:00
matcornic
5123fb57a2 fix #62: replaced width in % with 'pc' 2017-09-04 19:07:03 +02:00
matcornic
05a71f5874 fix little mistake in french translation 2017-08-21 00:26:40 +02:00
Mathieu Cornic
a01a6a18d1 delete useless file 2017-08-21 00:12:40 +02:00
matcornic
375e7c0005 feat: fix doc mistake 2017-08-20 23:58:41 +02:00
matcornic
b3d783e946 translation of children shortcode 2017-08-20 23:44:34 +02:00
matcornic
8e15e782f7 doc translation 2017-08-20 23:44:34 +02:00
matcornic
761af8653d doc translation 2017-08-20 23:44:34 +02:00
matcornic
5608a87d71 Translate in french 2017-08-20 23:44:34 +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
cd75621517 chore: delete useless folders 2017-08-20 23:43:50 +02:00
matcornic
6b265c5181 add first content for new documentation 2017-08-20 23:43:49 +02:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
7ce4b9a547 click on logo of doc redirect to home 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
33cada7c73 remove travis file 2017-08-20 23:43:48 +02:00
matcornic
554480d4e0 add wercker to compare with travis 2017-08-20 23:43:48 +02:00
matcornic
1df25a3f06 feat: slight changes to blue theme 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
389b9858a4 feat(attachments): rename styles with colors + delete red style + add grey style 2017-08-20 23:43:47 +02:00
matcornic
3e61961bfa feat: add children shortcode 2017-08-20 23:43:47 +02:00
matcornic
951e8fb40e feat: add shortcode for attachments 2017-08-20 23:43:47 +02:00
matcornic
da208441c0 feat: add sticky bar with smooth scroll 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
2294a54b36 fixed scrollbar in left menu 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
b2437aad0c add travis 2017-08-20 23:43:46 +02:00
matcornic
85c046f527 remove link in docs because of error 2017-08-20 23:43:45 +02:00
matcornic
1227b1d3ed feat: renamed docs example to exampleSite 2017-08-20 23:43:45 +02:00