Open PatrickMassot opened 6 years ago
I guess you'd like to search sections. But, in current implementation, the Sphinx search is based on document, not section. The search result already contains "4. Quantifiers and Equality" document. So I think this is feature enhancement. Is my understanding right?
Sorry, I could swear the section did not appear in the results but you are right: it's because it's a section inside a web page. Indeed it would be an enhancement to display sections in the search result page, but there is no bug.
Problem
Procedure to reproduce the problem
Go to https://leanprover.github.io/theorem_proving_in_lean/ search for calc
Error logs / results
Build says
Expected results
I expected to see a link to https://leanprover.github.io/theorem_proving_in_lean/quantifiers_and_equality.html#calculational-proofs which contains a lot of occurrences of the searched word calc. However each occurrence is inside a code block, I guess that could be the issue.
Reproducible project
Environment info
The online version linked to above is using Sphinx 1.6.3 but I check locally with the latest release 1.7.1