Mkdocs updates (#8008)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
9d35ecbf0f
commit
afc5dcb3f9
6 changed files with 6 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ Sitemap: https://docs.ultralytics.com/hi/sitemap.xml
|
|||
Sitemap: https://docs.ultralytics.com/it/sitemap.xml
|
||||
Sitemap: https://docs.ultralytics.com/ja/sitemap.xml
|
||||
Sitemap: https://docs.ultralytics.com/ko/sitemap.xml
|
||||
Sitemap: https://docs.ultralytics.com/nl/sitemap.xml
|
||||
Sitemap: https://docs.ultralytics.com/pt/sitemap.xml
|
||||
Sitemap: https://docs.ultralytics.com/ru/sitemap.xml
|
||||
Sitemap: https://docs.ultralytics.com/tr/sitemap.xml
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ const applyAutoTheme = () => {
|
|||
// Function that checks and applies light/dark theme based on the user's preference (if auto theme is enabled)
|
||||
function checkAutoTheme() {
|
||||
// Array of supported language codes -> each language has its own palette (stored in local storage)
|
||||
const supportedLangCodes = ["en", "zh", "ko", "ja", "ru", "de", "fr", "es", "pt"];
|
||||
const supportedLangCodes = ["en", "zh", "ko", "ja", "ru", "de", "fr", "es", "pt", "it", "tr", "vi", "nl"];
|
||||
// Get the URL path
|
||||
const path = window.location.pathname;
|
||||
// Extract the language code from the URL (assuming it's in the format /xx/...)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
data-reactions-enabled="1"
|
||||
data-repo="ultralytics/ultralytics"
|
||||
data-repo-id="R_kgDOH-jzvQ"
|
||||
data-strict="0"
|
||||
data-strict="1"
|
||||
data-theme="preferred_color_scheme"
|
||||
src="https://giscus.app/client.js">
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue