Skip to content

Commit 0b4441e

Browse files
authored
debug (#533)
* Add new GitHub Actions workflow for MkDocs deployment - Introduced a new workflow to deploy MkDocs to GitHub Pages on pushes to the main branch. - Configured caching for dependencies and set up Python 3.11 for the deployment process. - Removed the previous deployment workflow to streamline the process. * Enhance MkDocs configuration with new site details and theme options - Added site URL and repository URL for better project visibility. - Enabled directory URLs for cleaner navigation. - Updated theme palette to support light and dark modes with toggle options. - Included git-committers plugin for tracking contributions. - Integrated Google Analytics for improved site performance tracking. * Update MkDocs configuration to enhance internationalization support - Added support for additional languages: Simplified Chinese, Traditional Chinese, Japanese, Turkish, and Arabic. - Cleaned up the configuration by removing unnecessary whitespace for better readability. * Refactor MkDocs internationalization configuration for clarity and structure - Updated language support format in mkdocs.yml to use a structured list with locale and name attributes. - Set English as the default language while maintaining support for Simplified Chinese, Traditional Chinese, Japanese, Turkish, and Arabic.
1 parent f129e7d commit 0b4441e

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

mkdocs.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,19 @@ plugins:
3434
- i18n:
3535
default_language: en
3636
languages:
37-
en: English
38-
zh: Simplified Chinese
39-
zh-Hant: Traditional Chinese
40-
ja: Japanese
41-
tr: Turkish
42-
ar: Arabic
37+
- locale: en
38+
name: English
39+
default: true
40+
- locale: zh
41+
name: Simplified Chinese
42+
- locale: zh-Hant
43+
name: Traditional Chinese
44+
- locale: ja
45+
name: Japanese
46+
- locale: tr
47+
name: Turkish
48+
- locale: ar
49+
name: Arabic
4350
- search # MkDocs default search plugin
4451
- git-revision-date-localized:
4552
type: date # or datetime, iso_date, iso_datetime, timeago
@@ -96,7 +103,6 @@ nav:
96103
- Contributing: https://github.com/ido777/system-design-primer-update/blob/main/CONTRIBUTING.md
97104
- License: https://github.com/ido777/system-design-primer-update/blob/main/LICENSE.md
98105
- Changelog: https://github.com/ido777/system-design-primer-update/blob/main/CHANGELOG.md
99-
100106
- English:
101107
- Overview: en/index.md
102108
- Study Guide Start Here: en/study_guide.md

0 commit comments

Comments
 (0)