Skip to content

Commit 7c3a407

Browse files
authored
Fix website build (#5068)
* Change intersphinx for pytorch * Reorder docs build steps to make sure intersphinx happens in the docs build (and thus provokes the failure)
1 parent 4eb8b4b commit 7c3a407

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/core.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -649,15 +649,7 @@ jobs:
649649
firedrake-clean
650650
pip list
651651
652-
- name: Check bibtex
653-
run: make -C firedrake-repo/docs validate-bibtex
654-
655-
- name: Check documentation links
656-
if: success() || steps.install.conclusion == 'success'
657-
run: make -C firedrake-repo/docs linkcheck
658-
659652
- name: Build documentation
660-
if: success() || steps.install.conclusion == 'success'
661653
id: build_docs
662654
working-directory: firedrake-repo/docs
663655
run: |
@@ -667,6 +659,14 @@ jobs:
667659
# : Copy manual to HTML tree
668660
cp build/latex/Firedrake.pdf build/html/_static/manual.pdf
669661
662+
- name: Check bibtex
663+
if: success() || steps.install.conclusion == 'success'
664+
run: make -C firedrake-repo/docs validate-bibtex
665+
666+
- name: Check documentation links
667+
if: success() || steps.install.conclusion == 'success'
668+
run: make -C firedrake-repo/docs linkcheck
669+
670670
- name: Upload documentation
671671
uses: actions/upload-pages-artifact@v3
672672
id: upload_docs

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
'pyadjoint': ('https://pyadjoint.org/', None),
436436
'numpy': ('https://numpy.org/doc/stable/', None),
437437
'loopy': ('https://documen.tician.de/loopy/', None),
438-
'torch': ('https://pytorch.org/docs/stable/', None),
438+
'torch': ('https://pytorch.org/docs/main/', None),
439439
'jax': ('https://jax.readthedocs.io/en/latest/', None)
440440
}
441441

0 commit comments

Comments
 (0)