Skip to content

Commit c7675dd

Browse files
authored
Enable search (#844)
Closes gh-673
1 parent d05c1e1 commit c7675dd

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ content/specs/core-projects/core-projects.json: content/specs/core-projects/[^_]
5656

5757
html: prepare calendars core-project-json ## build the website in ./public
5858
@hugo
59+
npx --yes pagefind --site public
5960

6061
serve: prepare calendars core-project-json ## serve the website
6162
@hugo --printI18nWarnings server

config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ params:
2828
images:
2929
- /images/logo.svg
3030

31+
search: true
32+
3133
plausible:
3234
dataDomain: scientific-python.org
3335

0 commit comments

Comments
 (0)