Closed speth closed 3 months ago
Using the copy of the docs that hosted at testing.cantera.org
, which I think will be representative of how things are set up after the transition, the behavior is slightly different. There are no longer any 404 errors, and Sphinx reads all the relevant pages, but then doesn't show any preview snippets. See https://testing.cantera.org/stable/search.html?q=equilibrium#, for example.
Aha! the version of this affecting testing.cantera.org
is this due to https://github.com/pydata/pydata-sphinx-theme/issues/1676, which should be fixed if we update to pydata-sphinx-theme
0.15.2 or newer.
Problem description
In the Sphinx documentation for the development version, the content preview snippet for each result page is showing text from the 404 page rather than the from the page that contains the search string. The page title is correct, and this links to the correct page. This affects all search results except those to specific API documented objects, where no preview is typically given.
Steps to reproduce
Behavior
Note the substring
undefined
which is incorrectly being injected into the URL.This does not occur with the current "stable" / 3.0 documentation. For example, see https://cantera.org/documentation/docs-3.0/sphinx/html/search.html?q=equilibrium#.
System information
main
branch at d37a76bf6