Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,16 @@ jobs:
- name: Build API docs
# typedoc outputs to './docs/' (see typedoc.json)
run: npm run docs
- name: Build the browser bundle
# The landing-page playground runs the real engine client-side;
# the bundle is generated here rather than committed.
run: npm run build:site
- name: Assemble site
# Landing page at the root, typedoc API docs under /api/
run: |
mkdir -p _site/api
cp -R site/. _site/
rm -f _site/*.ts
cp -R docs/. _site/api/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ dist/*
node_modules/*
docs/*
demo.gif
site/playground.bundle.js
Loading
Loading