docs: do two rounds of generation for interlinks #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
tags: '*' | |
pull_request: | |
jobs: | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v1 | |
# Round 1: Create interlink dumps | |
- run: Core/docs/make.jl | |
- run: Store/docs/make.jl | |
- run: Common/docs/make.jl | |
- run: REPL/docs/make.jl | |
- run: Main/docs/make.jl | |
# Round 2: Now with resolvable interlinks | |
- run: Core/docs/make.jl | |
- run: Store/docs/make.jl | |
- run: Common/docs/make.jl | |
- run: REPL/docs/make.jl | |
# Combine | |
- name: MultiDocs | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
julia --project=MultiDocs -e 'using Pkg; Pkg.instantiate()' | |
julia --project=MultiDocs MultiDocs/make-multi.jl |