From 32bde7f9e346ef1f093e4858645554359ca94d26 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Thu, 12 Sep 2024 12:34:51 +0200 Subject: [PATCH] move linkcheck to RTD --- .github/workflows/ci.yml | 33 --------------------------------- .readthedocs.yml | 2 ++ 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32edf738..39acc0b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,36 +21,3 @@ jobs: with: python-version: 3.11 - uses: pre-commit/action@v2.0.0 - - 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 diff --git a/.readthedocs.yml b/.readthedocs.yml index e650775d..69344444 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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: