Skip to content

Commit

Permalink
docs: allow search to find 'changelog'
Browse files Browse the repository at this point in the history
It's a little bit inelegant, but the mkdocs-material folks seem to have
a nicer solution in the works, so this will do for now.

closes: #3305
refs: squidfunk/mkdocs-material#3174
  • Loading branch information
wez committed Mar 21, 2023
1 parent 369c8b0 commit 5a73844
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ hide:
toc_depth: 3
---

<p style="display:none">
changelog
</p>

## Changes

Releases are named using the date, time and git commit hash.
Expand Down
3 changes: 2 additions & 1 deletion docs/mkdocs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ plugins:
- include-markdown
- macros:
module_name: mkdocs_macros
- search
- search:
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])'
- social:
cards: !ENV [CARDS, false]
#- git-revision-date-localized:
Expand Down

0 comments on commit 5a73844

Please sign in to comment.