diff --git a/docs/_static/css/docsearch.overrides.css b/docs/_static/css/docsearch.overrides.css deleted file mode 100644 index 058a19eaed..0000000000 --- a/docs/_static/css/docsearch.overrides.css +++ /dev/null @@ -1,39 +0,0 @@ -.search .algolia-docsearch-suggestion--highlight, -.algolia-autocomplete .algolia-docsearch-suggestion--highlight { - color: #2980b9; - background: #f1c40f; -} - -.algolia-autocomplete { - width: 100%; -} - -#search-results a, -a.algolia-docsearch-suggestion { - border-bottom: 0; -} - -#search-results h2 { - display: none; -} - -/* override algolia search input colors (set on element via JS) for dark mode alignment and radius for left icon */ - -#search-form .algolia-autocomplete > .form-control { - background: #fff none repeat scroll 0% 0% padding-box !important; - border-bottom-left-radius: 0 !important; - border-top-left-radius: 0 !important; -} - -body.theme-dark #search-form .algolia-autocomplete > .form-control { - background: #1b1238 none repeat scroll 0% 0% padding-box !important; -} - -/* override algolia search default styles to prevent overflow on mobile devices */ - -@media (max-width: 991px) { - #algolia-autocomplete-listbox-0 { - width: auto; - min-width: 0; - } -} diff --git a/docs/_static/css/pagination.css b/docs/_static/css/pagination.css deleted file mode 100644 index 477f85aba6..0000000000 --- a/docs/_static/css/pagination.css +++ /dev/null @@ -1,34 +0,0 @@ -.pagination { - display: flex; - justify-content: center; - gap: 2rem; - margin-bottom: 2rem; -} - -.pagination-list { - display: flex; - gap: 2rem; - margin: 0; - padding: 0; - list-style: none; -} - -.pagination-button, -.pagination-previous, -.pagination-next { - border: none; - background: none; - text-decoration: 2px solid underline; - text-decoration-color: #3beccd; - text-underline-offset: 3px; -} - -.pagination-button[aria-current='page'] { - background-color: #40efc5; -} - -body.theme-dark .pagination-button:not([aria-current]), -body.theme-dark .pagination-next, -body.theme-dark .pagination-previous { - color: #fff; -} diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index b971964990..1c43d674e1 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,95 +1,9 @@ {% extends "!layout.html" %} -{% set docsearch_version = '2' %} -{% set docsearch_base = 'https://cdn.jsdelivr.net/npm/docsearch.js@' ~ docsearch_version ~ '/dist/cdn/' %} - {% block extrahead %} - - - - - {% endblock %} -{% block search %} - - - -{% endblock %} - {% block footer %} {{ super() }} diff --git a/docs/_templates/search.html b/docs/_templates/search.html deleted file mode 100644 index 452247c885..0000000000 --- a/docs/_templates/search.html +++ /dev/null @@ -1,187 +0,0 @@ -{% extends "layout.html" %} -{% set title = _('Search') %} - -{% block body %} - - - - {% trans trimmed %}Please activate JavaScript to enable the search - functionality.{% endtrans %} - - - - - - - - - - ← Previous - - - - Next → - - -{% endblock %} - -{% block footer %} - {{ super() }} - -{% endblock %} diff --git a/docs/_templates/searchbox.html b/docs/_templates/searchbox.html deleted file mode 100644 index 88040bf557..0000000000 --- a/docs/_templates/searchbox.html +++ /dev/null @@ -1,13 +0,0 @@ -{%- if builder != "singlehtml" %} - - - - - - - - - - - -{%- endif %} diff --git a/setup.py b/setup.py index 3fe86ca572..467f34dbee 100755 --- a/setup.py +++ b/setup.py @@ -72,9 +72,8 @@ documentation_extras = [ "sphinxcontrib-spelling>=7,<8", "Sphinx>=7.3", "sphinx-autobuild>=0.6.0", - "sphinx-wagtail-theme==6.3.0", + "sphinx-wagtail-theme==6.4.0", "myst_parser==2.0.0", - "sphinx_copybutton>=0.5,<1.0", ] setup(
- {% trans trimmed %}Please activate JavaScript to enable the search - functionality.{% endtrans %} -