You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That said, I'm not totally certain if docs_body is the right place to put role="main". I decided to try adding it there because that's where it's located in v0.11.0
The text was updated successfully, but these errors were encountered:
The Problem
I recently migrated a project from pydata-sphinx-theme 0.11.0 to 0.15.2.
On 0.11.0, I was used to seeing the little match context with each page link featuring highlights on matches.
On 0.15.2, however, I don't see the match contexts at all, but I do see lot of errors logged by
searchtools.js
.It would appear that
searchtools.js
is looking for an element with the selector[role="main"]
, and it's not finding it.A Workaround
Adding this to my
layout.html
appears to fix the issue for me:That said, I'm not totally certain if
docs_body
is the right place to putrole="main"
. I decided to try adding it there because that's where it's located in v0.11.0The text was updated successfully, but these errors were encountered: