diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca1b9850..ca2980f4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,6 +67,7 @@ jobs: PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} INDEXNOW_KEY: ${{ secrets.INDEXNOW_KEY_DOCS }} run: | + export JUPYTER_PLATFORM_DIRS=1 python docs/build_docs.py git config --global user.name "Glenn Jocher" git config --global user.email "glenn.jocher@ultralytics.com" diff --git a/docs/en/robots.txt b/docs/en/robots.txt index d416cc76..9436a7ab 100644 --- a/docs/en/robots.txt +++ b/docs/en/robots.txt @@ -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 diff --git a/docs/overrides/javascript/extra.js b/docs/overrides/javascript/extra.js index d67fece5..3233a644 100644 --- a/docs/overrides/javascript/extra.js +++ b/docs/overrides/javascript/extra.js @@ -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/...) diff --git a/docs/overrides/partials/comments.html b/docs/overrides/partials/comments.html index 0479b37f..a99f4f81 100644 --- a/docs/overrides/partials/comments.html +++ b/docs/overrides/partials/comments.html @@ -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"> diff --git a/mkdocs.yml b/mkdocs.yml index 92263544..16a32482 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -60,7 +60,7 @@ theme: - navigation.instant - navigation.instant.progress - navigation.indexes - - navigation.sections + - navigation.sections # navigation.expand or navigation.sections - content.tabs.link # all code tabs change simultaneously # Customization diff --git a/pyproject.toml b/pyproject.toml index 93e9078a..d0dd99fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,7 +93,7 @@ dev = [ "mkdocstrings[python]", "mkdocs-jupyter", # for notebooks "mkdocs-redirects", # for 301 redirects - "mkdocs-ultralytics-plugin>=0.0.42", # for meta descriptions and images, dates and authors + "mkdocs-ultralytics-plugin>=0.0.43", # for meta descriptions and images, dates and authors ] export = [ "onnx>=1.12.0", # ONNX export