feat: add multilingual mode support (#241)
BREAKING CHANGE: Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
This commit is contained in:
parent
42ebf067bb
commit
5c22ce57dc
88 changed files with 437 additions and 144 deletions
12
exampleSite/content/en/toc-tree/_index.md
Normal file
12
exampleSite/content/en/toc-tree/_index.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: ToC-Tree
|
||||
geekdocFlatSection: true
|
||||
---
|
||||
|
||||
This is just a demo section for the <!-- spellchecker-disable -->[toc-tree](/shortcodes/toc-tree/)<!-- spellchecker-enable --> shortcode.
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
<!-- spellchecker-enable -->
|
11
exampleSite/content/en/toc-tree/level-1/_index.md
Normal file
11
exampleSite/content/en/toc-tree/level-1/_index.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
Level 1
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
<!-- spellchecker-enable -->
|
5
exampleSite/content/en/toc-tree/level-1/level-1-1.md
Normal file
5
exampleSite/content/en/toc-tree/level-1/level-1-1.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Level 1.1
|
||||
---
|
||||
|
||||
Level 1.1
|
5
exampleSite/content/en/toc-tree/level-1/level-1-2.md
Normal file
5
exampleSite/content/en/toc-tree/level-1/level-1-2.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Level 1.2
|
||||
---
|
||||
|
||||
Level 1.2
|
11
exampleSite/content/en/toc-tree/level-1/level-1-3/_index.md
Normal file
11
exampleSite/content/en/toc-tree/level-1/level-1-3/_index.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: Level 1.3
|
||||
---
|
||||
|
||||
Level 1.3
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
<!-- spellchecker-enable -->
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Level 1.3.1
|
||||
---
|
||||
|
||||
Level 1.3.1
|
1
exampleSite/content/en/toc-tree/level-2/_index.md
Normal file
1
exampleSite/content/en/toc-tree/level-2/_index.md
Normal file
|
@ -0,0 +1 @@
|
|||
Level-2
|
5
exampleSite/content/en/toc-tree/level-2/level-2-1.md
Normal file
5
exampleSite/content/en/toc-tree/level-2/level-2-1.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Level 2.1
|
||||
---
|
||||
|
||||
Level 2.1
|
5
exampleSite/content/en/toc-tree/level-2/level-2-2.md
Normal file
5
exampleSite/content/en/toc-tree/level-2/level-2-2.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Level 2.2
|
||||
---
|
||||
|
||||
Level 2.2
|
Loading…
Add table
Add a link
Reference in a new issue