From 318585a702222bbe517c11102801a50fd7e486a0 Mon Sep 17 00:00:00 2001 From: John Lettman Date: Mon, 15 Jul 2024 21:52:29 -0400 Subject: [PATCH] pages: add pagefind support --- .github/workflows/docs.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index c3a60e4..f28de2e 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -30,10 +30,13 @@ jobs: with: go-version-file: go.mod cache: true + - name: Setup Node + uses: actions/setup-node@v4 - name: Generate documentation run: | + npm install pagefind go install go.abhg.dev/doc2go@latest - doc2go -out docs ./... + doc2go -out docs -pagefind ./... - name: Upload documentation uses: actions/upload-artifact@v1 with: