Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support searching for index entries #10819

Merged
merged 6 commits into from Sep 20, 2022

Conversation

AA-Turner
Copy link
Member

Closes #6692

Feature or Bugfix

  • Feature

A

@@ -242,6 +243,7 @@ def __init__(self, env: BuildEnvironment, lang: str, options: Dict, scoring: str
# stemmed words in titles -> set(docname)
self._title_mapping: Dict[str, Set[str]] = {}
self._all_titles: Dict[str, List[Tuple[str, str]]] = {} # docname -> all titles
self._index_entries: Dict[str, List[Tuple[str, str, str]]] = {} # docname -> index entry
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i feel like this section is crying out for some type aliases to simplify the signatures here

@AA-Turner AA-Turner self-assigned this Sep 13, 2022
@AA-Turner AA-Turner merged commit 8ae8183 into sphinx-doc:5.x Sep 20, 2022
@AA-Turner AA-Turner deleted the search-include-index branch September 20, 2022 21:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the index directive as a source for search
2 participants