Skip to content

Searching documents results in "Searching..." forever #9

@bman7777

Description

@bman7777

When I attempt to search anywhere using this theme, I get stuck forever on "searching..." in search.html (no search results are ever displayed.) The console prints out this error-

Uncaught TypeError: Cannot read property 'textContent' of undefined
at Object.htmlToText (searchtools.js:66)
at Object.makeSearchSummary (searchtools.js:484)
at Object.complete (searchtools.js:277)
at i (jquery.js:2)
at Object.fireWith (jquery.js:2)
at A (jquery.js:4)
at XMLHttpRequest. (jquery.js:4)

I see other sphinx themes have seen similar problems and have resolved it by adding role="main" in layout.html like so-

{%- block document %}
<div class="page-content" role="main">
{% block body %} {% endblock %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions