[8.0.x] Allow Sphinx 7.x (#12005)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
github-actions[bot] 2024-02-18 10:43:49 +00:00 committed by GitHub
parent b7657b4d6b
commit 74346f027c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -5,11 +5,10 @@
<div id="searchbox" style="display: none" role="search"> <div id="searchbox" style="display: none" role="search">
<div class="searchformwrapper"> <div class="searchformwrapper">
<form class="search" action="{{ pathto('search') }}" method="get"> <form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
placeholder="Search"/>
<input type="submit" value="{{ _('Go') }}" /> <input type="submit" value="{{ _('Go') }}" />
</form> </form>
</div> </div>
</div> </div>
<script type="text/javascript">$('#searchbox').show(0);</script> <script>document.getElementById('searchbox').style.display = "block"</script>
{%- endif %} {%- endif %}

View File

@ -2,8 +2,7 @@ pallets-sphinx-themes
pluggy>=1.2.0 pluggy>=1.2.0
pygments-pytest>=2.3.0 pygments-pytest>=2.3.0
sphinx-removed-in>=0.2.0 sphinx-removed-in>=0.2.0
# In Sphinx 6 and 7, the search bar disappears; restrict this for now until we find a solution. sphinx>=7
sphinx>=5,<6
sphinxcontrib-trio sphinxcontrib-trio
sphinxcontrib-svg2pdfconverter sphinxcontrib-svg2pdfconverter
# Pin packaging because it no longer handles 'latest' version, which # Pin packaging because it no longer handles 'latest' version, which