Skip to content

Commit

Permalink
move linkcheck to RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Sep 12, 2024
1 parent e38a372 commit 32bde7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,3 @@ jobs:
with:
python-version: 3.11
- uses: pre-commit/[email protected]

build:

runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
use-mamba: true
channels: conda-forge, defaults
environment-file: environment.yml
python-version: "3.11"
activate-environment: aiida-tutorials # updating base causes conflicts so we create a new env
- name: "Build HTML docs"
run: |
conda init
source /home/runner/.bashrc
conda activate aiida-tutorials
rabbitmq-server -detached
sleep 10
rabbitmq-diagnostics status
verdi presto
verdi daemon start
verdi status
aiida-pseudo install sssp -x PBEsol
verdi group list
cat /proc/cpuinfo | grep processor | wc -l
make -C docs html linkcheck
env:
SPHINXOPTS: -nW --keep-going
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ build:
- aiida-pseudo install sssp -x PBEsol
- verdi group list
- cat /proc/cpuinfo | grep processor | wc -l
- python -m sphinx -T -W --keep-going -b linkcheck -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html


# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down

0 comments on commit 32bde7f

Please sign in to comment.