Skip to content

feat(docs): add Kapa.ai sidebar integration #858

feat(docs): add Kapa.ai sidebar integration

feat(docs): add Kapa.ai sidebar integration #858

Workflow file for this run

# Copy-pasta from MystenLabs/sui/.github/workflows/docs.yml
name: Documentation
permissions:
contents: read
on:
pull_request:
jobs:
diff:
runs-on: [ubuntu-latest]
outputs:
isDoc: ${{ steps.diff.outputs.isDoc }}
isOldDoc: ${{ steps.diff.outputs.isOldDoc }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Detect Changes
uses: './.github/actions/diffs'
id: diff
# temporarily disabled, we have too many special words like MIST
# spelling:
# name: Lint documentation
# needs: diff
# if: needs.diff.outputs.isDoc == 'true'
# runs-on: [ubuntu-latest]
# steps:
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
# - name: Spell Check Docs
# uses: crate-ci/typos@v1.16.11
# with:
# files: ./book ./reference
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm i
working-directory: ./site
- name: Build website
run: pnpm build
working-directory: ./site