_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:
Yifei Ding
2022-03-19 13:57:56 -07:00
committed by Kevin O'Connor
parent b35b6cb10b
commit 61792e3e31
2 changed files with 14 additions and 2 deletions

View File

@@ -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)