Skip to content

Commit 2a18660

Browse files
Fix doc building
1 parent 64e401e commit 2a18660

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build_docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
python -m pip install .
28-
python -m pip install -r docs/requirements.txt
27+
python -m pip install '.[docs]'
2928
3029
- name: Build docs
3130
run: |
3231
mkdocs build
33-
mkdocs build # twice, see https://github.com/patrick-kidger/pytkdocs_tweaks
3432
3533
- name: Upload docs
3634
uses: actions/upload-artifact@v4

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ markdown_extensions:
6363
toc_depth: 4
6464

6565
plugins:
66-
- search # default search plugin; needs manually re-enabling when using any other plugins
66+
- search:
67+
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
6768
- include_exclude_files:
6869
include:
6970
- ".htaccess"

0 commit comments

Comments
 (0)