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
* Search: improve parser
This will make the parser more general and match
#7232
(also, one bug fix).
- Try the main tag before trying the first h1
- Always inspect all headers till 2 levels (this removes the need for
the special case from Sphinx, where the h tag is inside a div)
- `_parse_content` now not only removes all new line chars, but it also
reduces multiple spaces into one.
- Remove elements with the search role in addition to the navigation
role.
- The headerlink class doesn't need to be inside an `a` tag.
- Fix bug where calling .text() over a text node will return empty.
(I was able to catch this one now that we are checking till 2 levels)
* Increase depth
Now that we prioritize the main tag as main node,
the main node from the mkdocs material theme is more wide.
* Strip spaces
0 commit comments