Commit Graph

382 Commits (51140a802646c3507436c97d39c8928c54ad701c)

Author SHA1 Message Date
Hsin-Hsiang Peng 51140a8026
add Traditional Chinese i18n translation (#335)
Add the Traditional Chinese i18n translation for language code "zh-TW".

Ref: https://discourse.gohugo.io/t/i18n-support-for-language-country-code/20303
2021-05-03 21:17:44 +02:00
Pim Snel 62004506e2
change master to github's new default main branch (#325) 2021-04-11 17:51:42 +02:00
Collin Brooks ba38e17b1b
Add custom commit path for last edited link (#319)
- A new `BookCommitPath` paramter was added that allows the 'commit'
   portion of the link to a page's last edited commit hash to be
   specified.
 - This is useful when github is not the default repository for a
   project.

Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
2021-04-11 17:50:54 +02:00
Collin Brooks e2786374ad
Add documentation for mermaid init config override (#317)
* Add documentation for mermaid init config override
* Capitalize Mermaid

Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
2021-04-11 17:49:09 +02:00
Abu Zafar 1e4bcc2cc3
Mj abuz patch 2 (#314)
* Create bn.yml

Adding Bengali (BN)

* Create _index.md

Bengali(BN)

* Rename bn.yml to bn.yaml

Typo Mistake
2021-03-08 12:27:50 +01:00
Caleb Jasik 9791db1ce7
Bug Fix: Empty .Site.Params.contentDir (#312)
* Bug Fix: Empty .Site.Params.contentDir

When .Site.Params.contentDir is left as the default: "content", calling .Site.Params.contentDir returns nothing, or maybe an empty string. To fix this, we set a default value for .Site.Params.contentDir to "content" and the url is built correctly.

* Use the `default` function instead of `or`

https://gohugo.io/functions/default/
2021-02-22 19:48:49 +01:00
Nikolay Raspopov 27c1791144
Let's enable markdown in the button title (#308)
Added " | markdownify" to the inner text of button.
2021-02-19 11:55:53 +01:00
Nikolay Raspopov cb57401039
Added default dir="ltr" (#307)
Added default (i.e. "ltr") value of "dir" attribute of "html" and "body" tags instead of empty.
2021-02-03 09:42:32 +01:00
Alex Shpak 60dfd9aa4b Set BookTranslatedOnly to false for example site 2021-01-29 10:54:35 +01:00
Alex Shpak d9fe59a6e9 Refactor aside menus, add extra wrapper 2021-01-26 22:20:30 +01:00
Tiger Oakes 012ccee53d
Add before and after partials for toc (#296)
Closes #257
2021-01-26 18:45:08 +01:00
Ayush Agarwal a12baf0e01
upgrade mermaidjs to v8.9.0 (#305)
this fixes the following issue
https://github.com/mermaid-js/mermaid/issues/1836

the sha256sum of mermaid.min.js downloaded from the following link as on
2021-01-26 09:36:19 UTC

https://unpkg.com/mermaid@8.9.0/dist/mermaid.min.js

is

910e77c953c7417fd61148fc61b175624001bdd3c6e977e228fcb30607f7bd42
2021-01-26 18:16:35 +01:00
Alex Ivanov c828c6660f
Add OnlyTranslated property (#303)
* Add OnlyTranslated property

Signed-off-by: Alex Ivanov <ai@contributor.pw>

* Add newlines

Signed-off-by: Alex Ivanov <ai@contributor.pw>

* rename property

Signed-off-by: Alex Ivanov <ai@contributor.pw>
2021-01-21 11:42:26 +01:00
Yağızhan e53a638b2c
Adding Turkish translations (#300)
* Create tr.yaml

* Update tr.yaml

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2020-12-23 11:51:50 +01:00
Shohei Ueda a486adf846
Add hugo.Generator (#290)
https://gohugo.io/functions/hugo
2020-11-14 21:40:16 +01:00
Shohei Ueda f66a45df04
Improve GitHub Actions workflow (#289)
- Use the strategy.matrix syntax
- Use peaceiris/actions-hugo: https://github.com/peaceiris/actions-hugo
2020-11-14 21:40:00 +01:00
Alex Shpak f9643aa6b7 Fix styles on flat and collapsed section 2020-09-22 10:33:14 +02:00
Alex Shpak 269e4de142 Set default value for color scheme to light 2020-09-22 09:37:53 +02:00
Alex Shpak b76bdd715b #242, Add bookSearchExclude frontmatter param 2020-09-15 00:17:28 +02:00
Alex Shpak 5cc3d6719c #231, Allow open collapsed menu without changing page 2020-09-14 22:45:58 +02:00
Alex Shpak 4e34988b5d #151, move SCSS vars to CSS vars, implement dark and light modes by browser preference 2020-09-14 00:02:55 +02:00
Ivan Cheban 6beca7928c
Update columns.md (#265)
sparator ↔️ separator
2020-08-19 20:22:25 +02:00
Alex Shpak 8f64ee74aa #204, Add mermaid config customization, upgrade mermaidjs 2020-08-16 18:57:43 +02:00
Marie-Helene Burle 796468766f
Many minor fixes in README.md (#258)
- fix path of `menu/index.md` to match that given in the ExampleSite
- fix typos
- fix grammar
- add missing articles
2020-07-29 13:37:55 +02:00
Greg Kitson 5eceee52ed
fix minor typo in README.md under Site Configuration (#254) 2020-07-23 11:18:18 +02:00
Nagidal e09fa6ec83
Corrected German translation (#253) 2020-07-21 12:09:53 +02:00
Nagidal a056627f4a
Added Czech translation (#251) 2020-07-21 12:09:11 +02:00
Alex Shpak e91fa9024b #243, Copy jp.yaml to ja.yaml 2020-07-15 20:51:11 +02:00
Alex Shpak 615400b3b7 Revert example site title 2020-07-07 23:07:28 +02:00
Alex Shpak bf93dafdfa Improve accessibility and keyboard navigation 2020-07-07 23:06:21 +02:00
Alex Shpak f416a71bf8 #236, #171 Add section to search results 2020-07-06 22:17:36 +02:00
Alex Shpak 05c6336d22 Remove test image from example site 2020-06-16 23:25:45 +02:00
Alex Shpak 8522638b1f Update generated content 2020-06-16 23:25:20 +02:00
Alex Shpak 9f58f3b667 Update figure styles in markdown 2020-06-16 23:24:48 +02:00
Ge "David" Feng c79ab9dbc0
Add image and figure shortcodes (#233)
* add image and figure shortcodes
* remove shortcodes, add css
2020-06-16 23:19:54 +02:00
Chris Mayo d3673e797b
Remove execute permission from favicon.png (#234) 2020-06-15 21:39:45 +02:00
Alex Shpak c5ae65bc13 Make medu slide over content 2020-06-13 18:19:58 +02:00
Alex Shpak 5f2cc877df #229: Add height to body, for sticky elements 2020-06-13 00:21:08 +02:00
Alex Shpak b8b7184e89 Add section shortcode, to render children 2020-05-31 00:18:25 +02:00
Alex Shpak aa7c486e76 Add anchors to headings 2020-05-30 23:22:51 +02:00
Vincent Vialard 1608ade3f4
- hide ToC icon in header if ToC not enabled (#225) 2020-05-25 22:40:54 +02:00
Justin d198d96b30
Enabling KaTex Instructions (#217)
* Enabling KaTex Instructions

This would have been really helpful if that was documented, many users aren't able to render the KaTex and aren't sure why/where to look
Also,  fixed spelling some spelling

* Update README.md

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2020-05-22 10:35:31 +02:00
Alex Shpak 8edf0aab16 #215, Fix search spinner in RTL direction 2020-05-19 23:10:11 +02:00
Alex Shpak 65484b0f4c #215, Fix menu translateX for RTL (negative X) 2020-05-18 23:58:21 +02:00
Alex Shpak 71e55e59d1 Set minimum version to 0.68 2020-05-17 13:18:34 +02:00
Alex Shpak 92600f77fe #215, Add support for languageDirection param 2020-05-17 13:10:50 +02:00
Alex Shpak d5f55b4003
#220, Update 'BookEditPath' docs 2020-05-11 11:17:31 +02:00
Lars Tveito 31e642141f
Add Norwegian (bokmål) i18n translation (#219) 2020-05-11 11:13:10 +02:00
Alex Shpak a877c17dc1 Add precache to service worker 2020-05-01 17:45:23 +02:00
Alex Shpak e2ffa7b3ad Add manifest 2020-05-01 17:35:08 +02:00