_klipper3d: Specify mkdocs language config options
Signed-off-by: Yifei Ding <yifeiding@protonmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
committed by
Kevin O'Connor
parent
b35b6cb10b
commit
61792e3e31
@@ -1,5 +1,8 @@
|
||||
# Main configuration file for mkdocs generation of klipper3d.org website
|
||||
|
||||
# Note that the build-translations.sh script expects a certain file
|
||||
# layout. See that script and the README file for more details.
|
||||
|
||||
# Site and directory configuration
|
||||
site_name: Klipper documentation
|
||||
repo_url: https://github.com/Klipper3d/klipper
|
||||
@@ -19,7 +22,8 @@ markdown_extensions:
|
||||
- mdx_truly_sane_lists
|
||||
- mdx_breakless_lists
|
||||
plugins:
|
||||
search: {}
|
||||
search:
|
||||
lang: en
|
||||
mkdocs-simple-hooks:
|
||||
hooks:
|
||||
on_page_markdown: "docs._klipper3d.mkdocs_hooks:transform"
|
||||
@@ -58,6 +62,7 @@ theme:
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
- search.share
|
||||
language: en
|
||||
extra_css:
|
||||
- _klipper3d/css/extra.css
|
||||
|
||||
@@ -71,6 +76,7 @@ extra:
|
||||
alternate:
|
||||
- name: English
|
||||
link: /
|
||||
lang: en
|
||||
# Alternate language links automatically added here
|
||||
|
||||
# Navigation hierarchy (this should mimic the layout of Overview.md)
|
||||
|
||||
Reference in New Issue
Block a user