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: