-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We install cadical in the doc-gen CI to prevent build failures: https://github.com/leanprover/LNSym/actions/runs/10252790764/job/28363964048
- Loading branch information
Showing
1 changed file
with
17 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
|
@@ -12,20 +12,26 @@ permissions: | |
|
||
jobs: | ||
build: | ||
name: build and deploy documentation. | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: leanprover/[email protected] | ||
with: | ||
use-mathlib-cache: false | ||
use-github-cache: true | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
|
||
- name: Install cadical | ||
run: nix profile install nixpkgs#cadical | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- uses: leanprover/[email protected] | ||
with: | ||
use-mathlib-cache: false | ||
use-github-cache: true | ||
|
||
- name: Generate docs | ||
run: | | ||
./docgen.sh | ||
- name: Generate docs | ||
run: | | ||
./docgen.sh || true # allow documentation generation to fail, as a test. | ||
# Disable documentation uploading until we are happy with our docs. | ||
# stolen from mathlib: https://github.com/leanprover-community/mathlib4_docs/blob/1f4ea7657bc377b4298fd400e567471d3a248b2d/.github/workflows/docs.yaml#L79-L86 | ||
|