sphinx-contrib / sphinx-pretty-searchresults

Sphinx: pretty search results is an extension for the Sphinx documentation tool. To display search results, Sphinx is fetching the source files of search hits and rendering excerpts in raw markup. This extension removes the markup from these source files (during build time), so the search results look decent.
https://pypi.python.org/pypi/sphinxprettysearchresults
MIT License
22 stars 5 forks source link

Not all types of node are cleaned #5

Closed pybride closed 8 years ago

pybride commented 8 years ago

Several node types are missing, like list_item or term.

I tried to add theses in the script, goes well for list_item, but not term.

Also, the generated table of content isn't cleaned

TimKam commented 8 years ago

Thanks for the report, I'll fix it asap.

TimKam commented 8 years ago

I fixed the issue for the specific node types you mentioned and created a follow-up ticket: https://github.com/TimKam/sphinx-pretty-searchresults/issues/6.

pybride commented 8 years ago

Thanks for the quick fix.