diff --git a/docs/_static/favicon-16x16.ico b/docs/_static/favicon-16x16.ico
deleted file mode 100644
index 40159444d..000000000
Binary files a/docs/_static/favicon-16x16.ico and /dev/null differ
diff --git a/docs/_templates/footer.html b/docs/_templates/footer.html
deleted file mode 100644
index 91589f404..000000000
--- a/docs/_templates/footer.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "!footer.html" %}
-
-{% block extrafooter %}
-{% trans %}Privacy notice{% endtrans %}.
-{% endblock %}
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 5310a83dc..07bded6c7 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -20,16 +20,3 @@
{% trans %}Data Registry{% endtrans %}
{% endblock %}
-
-{% block language_options %}
-
-
-{% endblock %}
-
-{% block version_options %}
-
-{% endblock %}
diff --git a/docs/conf.py b/docs/conf.py
index afdefe0a5..ce755efa9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -9,7 +9,6 @@
from glob import glob
from pathlib import Path
-import standard_theme
from docutils.nodes import make_id
from ocds_babel.translate import translate
from ocdskit.mapping_sheet import mapping_sheet
@@ -44,8 +43,6 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "standard_theme" # 'pydata_sphinx_theme'
-html_theme_path = [standard_theme.get_html_theme_path()]
-html_favicon = "_static/favicon-16x16.ico"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_js_files = ["renderjson.js", "script.js"]
@@ -62,7 +59,7 @@
gettext_compact = False
# `DOMAIN_PREFIX` from `config.mk`.
gettext_domain_prefix = f"{profile_identifier}-" if profile_identifier else ""
-locale_dirs = ["locale/", os.path.join(standard_theme.get_html_theme_path(), "locale")]
+locale_dirs = ["locale/"]
# We use single quotes for codes, which docutils will change to double quotes.
# https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/utils/smartquotes.py
smartquotes = False
@@ -80,13 +77,10 @@
"analytics_id": "HTWZHRIZ",
}
html_theme_options = {
- "analytics_id": "HTWZHRIZ",
"display_version": True,
"root_url": f"/profiles/{profile_identifier}" if profile_identifier else "",
+ "languages": {"en": "English", "es": "Español", "fr": "Français"},
"short_project": project.replace("Open Contracting Data Standard", "OCDS"),
- "copyright": copyright,
- "license_name": "Apache License 2.0",
- "license_url": f"{repository_url}/blob/HEAD/LICENSE",
"repository_url": repository_url,
}
html_short_title = f"{html_theme_options['short_project']} v{release}"
diff --git a/script/update b/script/update
index d3590428e..3be6fa8ca 100755
--- a/script/update
+++ b/script/update
@@ -5,7 +5,7 @@ set -eu
main() {
mkdir -p script include tests
- for f in .pre-commit-config.yaml .python-version Makefile common-requirements.in common-requirements.txt pyproject.toml .github/dependabot.yml .github/workflows/js.yml .github/workflows/shell.yml docs/_static/favicon-16x16.ico include/common.mk include/prologue.mk script/diff script/update tests/conftest.py tests/test_common.py theme-requirements.txt; do
+ for f in .pre-commit-config.yaml .python-version Makefile common-requirements.in common-requirements.txt pyproject.toml .github/dependabot.yml .github/workflows/js.yml .github/workflows/shell.yml include/common.mk include/prologue.mk script/diff script/update tests/conftest.py tests/test_common.py theme-requirements.txt; do
curl -sS -o $f https://raw.githubusercontent.com/open-contracting/standard_profile_template/refs/heads/latest/$f
done