Skip to content
Merged
Changes from 1 commit
Commits
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
4 changes: 3 additions & 1 deletion rerun_py/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ theme:
- navigation.tabs
- navigation.tabs.sticky
- navigation.tracking
- search.share

plugins:
- search # https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/
- search: # https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/
separator: '[\s\-,:!=\[\]()"/_]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
Copy link
Member

Choose a reason for hiding this comment

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

Of course, how simple!

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
separator: '[\s\-,:!=\[\]()"/_]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
separator: '[\s\-,:!=\[\]()"/_]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;' # Don't just match whole-words

maybe?

or just add a link to explain that monstrosity

Copy link
Member Author

Choose a reason for hiding this comment

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

I copied that blob from the mkdocs-material page and inserted the _ to the separator list. Adding a comment to that effect.

- autorefs
- mkdocstrings: # https://mkdocstrings.github.io/usage/#global-options
custom_templates: docs/templates # Override the function template.
Expand Down
Loading