Skip to content

Commit

Permalink
docs: generate API documentation (#585)
Browse files Browse the repository at this point in the history
Closes #335 
Closes #561 
Closes #513
  • Loading branch information
andrew-codes authored Oct 16, 2024
2 parents 5312123 + 3b4a823 commit 499a7a3
Show file tree
Hide file tree
Showing 91 changed files with 2,302 additions and 148 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pull-request-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,34 @@ permissions:
pull-requests: write

jobs:
generate_docs:
name: Generate Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.DOCUMENTATION_GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
- name: Extract node version from package.json
uses: sergeysova/jq-action@v2
id: node_version
with:
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ steps.node_version.outputs.value }}'
- name: Use Yarn
run: corepack enable
- name: Install deps
run: yarn
- name : Generate Docs
run: yarn run docs/generate
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[skip ci] docs: automated update to docs\n\nskip-checks: true"
file_pattern: "docs/**"

unit_tests_linux:
name: Verify PR - Tests (Linux)
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 499a7a3

Please sign in to comment.