| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Can we test that this works without deploying the docs or do we need to deploy? |
Sorry, something went wrong.
Not directly, but Sphinx created a correct OpenSearch xml file, so I guess it should work: <?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Matplotlib</ShortName>
<Description>Search Matplotlib 3.7.0.dev1342+g0896385db6 documentation</Description>
<InputEncoding>utf-8</InputEncoding>
<Url type="text/html" method="get"
template="https://matplotlib.org/stable/search.html?q={searchTerms}"/>
<LongName>Matplotlib 3.7.0.dev1342+g0896385db6 documentation</LongName>
<Image height="16" width="16" type="image/x-icon">https://matplotlib.org/stable/_static/favicon.ico</Image>
</OpenSearchDescription>(in the current, not working version, the template is template="False/search.html?q={searchTerms}") |
Sorry, something went wrong.
There was a problem hiding this comment.
I see no harm in enabling this.
Sorry, something went wrong.
…957-on-v3.7.x Backport PR #24957 on branch v3.7.x (DOC: Enable Opensearch)
| Back | FazBrowse Home | New Git URL |
PR Summary
Fix html_use_opensearch in conf.py: the current value of 'False' is misinterpreted as the url False. If no OpenSearch description file should be created the value must be empty (default), but I think OpenSearch is a very handy feature, so I'd like to enable it.
See also https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_use_opensearch.
Closes matplotlib/mpl-sphinx-theme#56.
PR Checklist
Documentation and Tests
Release Notes