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

fix: add more components to the search indexing #541

Merged
merged 38 commits into from
Oct 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a7cb1ba
fix: add more components to the search indexing
Revathyvenugopal162 Oct 10, 2024
b6b1abb
chore: adding changelog file 541.fixed.md [dependabot-skip]
pyansys-ci-bot Oct 10, 2024
488246e
fix: add more elements
Revathyvenugopal162 Oct 10, 2024
8dbd6c8
Merge branch 'fix/indexing-docs-components' of https://github.com/ans…
Revathyvenugopal162 Oct 10, 2024
c56bba2
Merge branch 'main' into fix/indexing-docs-components
Revathyvenugopal162 Oct 11, 2024
678652b
Merge branch 'main' into fix/indexing-docs-components
Revathyvenugopal162 Oct 11, 2024
99de523
fix: add block list
Revathyvenugopal162 Oct 14, 2024
26c7e03
fix: initial test with group patterns
Revathyvenugopal162 Oct 15, 2024
b012dc8
Merge branch 'main' into fix/indexing-docs-components
Revathyvenugopal162 Oct 16, 2024
2674187
fix: group docs and pattern
Revathyvenugopal162 Oct 16, 2024
7473d88
fix: add nodes
Revathyvenugopal162 Oct 16, 2024
ee4be55
fix: add nodes as seral objects
Revathyvenugopal162 Oct 16, 2024
cf82f5c
fix: add config options
Revathyvenugopal162 Oct 17, 2024
2a2d382
fix: cleanup the codes
Revathyvenugopal162 Oct 17, 2024
908212f
Apply suggestions from code review
Revathyvenugopal162 Oct 17, 2024
95ae207
fix: add all init
Revathyvenugopal162 Oct 17, 2024
adcbb8a
fix: config values
Revathyvenugopal162 Oct 17, 2024
699c47e
Merge branch 'main' into fix/indexing-docs-components
Revathyvenugopal162 Oct 22, 2024
cf9e078
chore: adding changelog file 541.miscellaneous.md [dependabot-skip]
pyansys-ci-bot Oct 22, 2024
d3984a5
fix: update the title name
Revathyvenugopal162 Oct 22, 2024
59dc7a9
fix: update the default minimum patterns
Revathyvenugopal162 Oct 22, 2024
3040dac
Update doc/source/conf.py
Revathyvenugopal162 Oct 22, 2024
cf2b16e
Merge branch 'main' into fix/indexing-docs-components
jorgepiloto Oct 23, 2024
f3b59bd
fix: add desc nodes
Revathyvenugopal162 Oct 24, 2024
7831aba
Merge branch 'fix/indexing-docs-components' of https://github.com/ans…
Revathyvenugopal162 Oct 24, 2024
33f18a0
fix: add desc nodes with achor id
Revathyvenugopal162 Oct 24, 2024
571dfba
fix: add proper title
Revathyvenugopal162 Oct 24, 2024
580b36e
Merge branch 'main' into fix/indexing-docs-components
Revathyvenugopal162 Oct 24, 2024
327dc74
fix: ignore changelog from linkchcek
Revathyvenugopal162 Oct 24, 2024
739fb02
Merge branch 'fix/indexing-docs-components' of https://github.com/ans…
Revathyvenugopal162 Oct 24, 2024
89081f3
fix: anchor to title
Revathyvenugopal162 Oct 24, 2024
eccbb03
Merge branch 'main' into fix/indexing-docs-components
Revathyvenugopal162 Oct 24, 2024
7042a22
docs: add documentation for index patterns
Revathyvenugopal162 Oct 24, 2024
8ed2866
Merge branch 'fix/indexing-docs-components' of https://github.com/ans…
Revathyvenugopal162 Oct 24, 2024
7b8be92
chore: adding changelog file 541.documentation.md [dependabot-skip]
pyansys-ci-bot Oct 24, 2024
0b7f055
Apply suggestions from code review
Revathyvenugopal162 Oct 25, 2024
0b19dab
docs: remove linkchcek
Revathyvenugopal162 Oct 25, 2024
290dcc0
Apply suggestions from code review
Revathyvenugopal162 Oct 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ansys_sphinx_theme/search/fuse_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _title_to_anchor(title: str) -> str:

def get_pattern_for_each_page(app, doc_name):
"""Get the pattern for each page in the search index."""
patterns = app.env.config.get("index_patterns", {})
patterns = app.env.config.index_patterns or {}
Revathyvenugopal162 marked this conversation as resolved.
Show resolved Hide resolved

for filename, pattern in patterns.items():
if doc_name.startswith(filename):
Expand Down
Loading