diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index c720341..a9058e3 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,4 +16,4 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: j178/prek-action@5337cb91e0fa35a7ff31b9ca345126d8bbbcdf16 # v2.0.6
+ - uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
diff --git a/.github/workflows/pypi-package.yml b/.github/workflows/pypi-package.yml
index 66a22e8..0c788ff 100644
--- a/.github/workflows/pypi-package.yml
+++ b/.github/workflows/pypi-package.yml
@@ -25,7 +25,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- - uses: hynek/build-and-inspect-python-package@d44ca7d91762de7a7d5436ddae667c6da6d1c3df # v2.18.0
+ - uses: hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
# Upload to real PyPI on GitHub Releases.
release-pypi:
@@ -49,4 +49,4 @@ jobs:
path: dist
- name: Upload package to PyPI
- uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
+ uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html
index 1903fad..b0cfedf 100644
--- a/python_docs_theme/layout.html
+++ b/python_docs_theme/layout.html
@@ -14,7 +14,7 @@
{{ _('Navigation') }}
{%- endfor %}
{%- block rootrellink %}
-
+
{{theme_root_name}}{{ reldelim1 }}
diff --git a/python_docs_theme/locale/fa/LC_MESSAGES/python-docs-theme.po b/python_docs_theme/locale/fa/LC_MESSAGES/python-docs-theme.po
new file mode 100644
index 0000000..d464abd
--- /dev/null
+++ b/python_docs_theme/locale/fa/LC_MESSAGES/python-docs-theme.po
@@ -0,0 +1,126 @@
+# Persian translations for python-docs-theme.
+# Copyright (C) 2026 Python Software Foundation
+# This file is distributed under the same license as the python-docs-theme
+# project.
+# FIRST AUTHOR , 2026.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: python-docs-theme 2026.7\n"
+"Report-Msgid-Bugs-To: https://github.com/python/python-docs-theme/"
+"issues\n"
+"POT-Creation-Date: 2026-08-16 15:22+0330\n"
+"PO-Revision-Date: 2026-08-16 15:54+0330\n"
+"Last-Translator: Sepehr Rasouli , 2026\n"
+"Language-Team: Persian (https://github.com/revisto/python-docs-fa/)\n"
+"Language: fa\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"Generated-By: Babel 2.18.0\n"
+"X-Generator: Poedit 3.6\n"
+
+#: python_docs_theme/footerdonate.html:1
+msgid "The Python Software Foundation is a non-profit corporation."
+msgstr "بنیاد نرمافزار پایتون یک شرکت غیرانتفاعی است."
+
+#: python_docs_theme/footerdonate.html:2
+msgid "Please donate."
+msgstr "لطفاً کمک مالی کنید."
+
+#: python_docs_theme/layout.html:6
+msgid "Navigation"
+msgstr "ناوبری"
+
+#: python_docs_theme/layout.html:51 python_docs_theme/layout.html:111
+msgid "Quick search"
+msgstr "جستوجوی سریع"
+
+#: python_docs_theme/layout.html:52 python_docs_theme/layout.html:112
+msgid "Go"
+msgstr "برو"
+
+#: python_docs_theme/layout.html:60
+msgid "Theme"
+msgstr "پوسته"
+
+#: python_docs_theme/layout.html:62
+msgid "Auto"
+msgstr "خودکار"
+
+#: python_docs_theme/layout.html:63
+msgid "Light"
+msgstr "روشن"
+
+#: python_docs_theme/layout.html:64
+msgid "Dark"
+msgstr "تاریک"
+
+#: python_docs_theme/layout.html:96
+msgid "Menu"
+msgstr "منو"
+
+#: python_docs_theme/layout.html:142
+msgid "Copyright"
+msgstr "حق نشر"
+
+#: python_docs_theme/layout.html:147
+msgid ""
+"This page is licensed under the Python Software Foundation License "
+"Version 2."
+msgstr "این صفحه تحت مجوز بنیاد نرمافزار پایتون نسخه ۲ منتشر شده است."
+
+#: python_docs_theme/layout.html:149
+msgid ""
+"Examples, recipes, and other code in the documentation are additionally "
+"licensed under the Zero Clause BSD License."
+msgstr ""
+"مثالها، دستورالعملها، و سایر کدهای موجود در مستندات همچنین تحت مجوز "
+"بدون بند BSD منتشر شدهاند."
+
+#: python_docs_theme/layout.html:152
+#, python-format
+msgid ""
+"See History and License for more "
+"information."
+msgstr ""
+"برای اطلاعات بیشتر به تاریخچه و مجوز "
+"مراجعه کنید."
+
+#: python_docs_theme/layout.html:155
+#, python-format
+msgid "Hosted on %(hosted_on)s."
+msgstr "میزبانی شده روی %(hosted_on)s."
+
+#: python_docs_theme/layout.html:163
+#, python-format
+msgid "Last updated on %(last_updated)s."
+msgstr "آخرین بهروزرسانی در %(last_updated)s."
+
+#: python_docs_theme/layout.html:166
+#, python-format
+msgid "Found a bug?"
+msgstr "آیا اشکالی یافتید؟"
+
+#: python_docs_theme/layout.html:170
+#, python-format
+msgid ""
+"Created using Sphinx "
+"%(sphinx_version)s."
+msgstr ""
+"ساخته شده با Sphinx "
+"%(sphinx_version)s."
+
+#: python_docs_theme/static/copybutton.js:30
+#: python_docs_theme/static/copybutton.js:55
+msgid "Copy"
+msgstr "کپی"
+
+#: python_docs_theme/static/copybutton.js:31
+msgid "Copy to clipboard"
+msgstr "کپی به تختهگیره"
+
+#: python_docs_theme/static/copybutton.js:53
+msgid "Copied!"
+msgstr "کپی شد!"
diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css
index aa9622d..f30aa3a 100644
--- a/python_docs_theme/static/pydoctheme.css
+++ b/python_docs_theme/static/pydoctheme.css
@@ -564,10 +564,16 @@ div.genindex-jumpbox a {
margin-inline-start: 1rem;
margin-inline-end: 0;
}
- /* Remove sidebar and top related bar */
- div.related, div.sphinxsidebar {
+ /* Remove sidebar and desktop-only related controls */
+ div.related li.right, div.related li.switchers, div.sphinxsidebar {
display: none;
}
+ div.related .root-icon, div.related .root-icon + li {
+ display: none;
+ }
+ div.related {
+ line-height: 1.3;
+ }
/* Anchorlinks are not hidden by fixed-positioned navbar when scrolled to */
html {
scroll-padding-top: 40px;
diff --git a/python_docs_theme/static/pydoctheme_dark.css b/python_docs_theme/static/pydoctheme_dark.css
index df91a2a..2139108 100644
--- a/python_docs_theme/static/pydoctheme_dark.css
+++ b/python_docs_theme/static/pydoctheme_dark.css
@@ -49,7 +49,7 @@ div.body a {
}
div.body a:visited {
- color: #09e;
+ color: #bf95f9;
}
a.headerlink:hover {