Skip to content

Citation metadata and date-based versions; symbolic distillation note #35

Citation metadata and date-based versions; symbolic distillation note

Citation metadata and date-based versions; symbolic distillation note #35

Workflow file for this run

name: Docs
on:
push:
branches: [master]
tags: ['*']
pull_request:
branches: [master]
permissions:
contents: write # deploydocs pushes to gh-pages
statuses: write
jobs:
docs:
name: API docs + theory vault
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
# Quartz (the vault renderer) is a Node project; docs/make.jl calls docs/site/build.sh
- uses: actions/setup-node@v4
with:
node-version: '22'
# Rendered tutorials, keyed per tutorial inside docs/make.jl; restoring the latest cache
# lets unchanged tutorials be copied instead of re-run (some of them train networks).
- uses: actions/cache@v4
with:
path: docs/cache
key: tutorials-${{ hashFiles('docs/literate/**', 'lib/*/src/**', 'lib/*/ext/**', 'src/**', 'docs/Project.toml') }}
restore-keys: tutorials-
- name: Instantiate docs environment
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
- name: Build API docs and theory vault, then deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JULIA_DEBUG: Documenter
run: julia --project=docs docs/make.jl