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
63 changes: 0 additions & 63 deletions .github/workflows/docgen.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
pull_request:
branches: [master]
workflow_dispatch:
schedule:
- cron: "0 6 * * 1"
repository_dispatch:
types: [stdlib-updated]

permissions:
contents: read
Expand All @@ -29,6 +33,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Checkout standard library
uses: actions/checkout@v6
with:
repository: wurstscript/WurstStdlib2
ref: master
path: _stdlib

- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x

- name: Verify and generate API reference
working-directory: tools/docgen
run: |
deno task test
deno task gen --src "$GITHUB_WORKSPACE/_stdlib/wurst" --out "$GITHUB_WORKSPACE"

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -54,6 +76,9 @@ jobs:
- name: Verify built dependency assets
run: npm test

- name: Verify reference pages and links
run: node tools/check-reference-pages.mjs

- name: Generate Pagefind search index
run: npx -y pagefind@1.5.2 --site _site

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ _stdlib
# with the content and breaks search.
pagefind/
node_modules/

# API pages are generated from WurstStdlib2 during the site build.
_doc/stdlib/ref/
_data/stdlib_index.json
5 changes: 5 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ exclude:
- vendor
- tools
- node_modules
- _stdlib
- package.json
- package-lock.json
- assets/plugins/elegant_font/css/index.html
Expand Down Expand Up @@ -80,6 +81,10 @@ collections:
tutorials:
output: true

# Jekyll otherwise skips underscore-prefixed package/type files.
include:
- "_*.md"


#
# Default values
Expand Down
Loading
Loading