-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
site_name: Docs
theme:
name: material
features:
- navigation.instant
- navigation.tracking
- navigation.sections
- navigation.expand
- header.autohide
- navigation.top
- search.suggest
- search.highlight
- content.code.copy
- content.code.annotate
palette: - media: "(prefers-color-scheme: light )"
scheme: default
primary: indigo
accent: blue
toggle:
icon: material/weather-night
name: Switch to dark mode - media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: light-blue
toggle:
icon: material/weather-sunny
name: Switch to light mode
extra_css:
assets/extra.css
plugins:
search
i18n:
default_language: en
languages:
- locale: en
name: English
build: true
default: true - locale: tr
name: Türkçe
build: true
nav:
'Getting Started':
'Overview': 'getting-started/overview.md'
'Add your bot': 'getting-started/add-the-bot.md'
markdown_extensions:
admonition
attr_list
md_in_html
pymdownx.details
pymdownx.superfences
pymdownx.highlight:
anchor_linenums: true
pymdownx.inlinehilite
pymdownx.snippets
pymdownx.tabbed:
alternate_style: true
toc:
permalink: true
toc_depth: 3
extra:
extra:
alternate:
- name: English
lang: en
link: /en/ - name: Türkçe
lang: tr
link: /tr/
site_dir: site
In this Yaml file,
When you press the en key in the localhost:8000 section, the URL becomes
localhost:8000/en
When you press the tr button, the
add-the-bot.md section opens, and if I press the en key again,
the link is created as tr/tr.
Please edit the i18n structure so that we can use it more easily
Metadata
Metadata
Assignees
Labels
No labels