Skip to content

Commit f2ef07b

Browse files
Codexilaflott
andauthored
ci: add readthedocs PR check
Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
1 parent 2c4f2e9 commit f2ef07b

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
name: docs
1+
name: readthedocs
22

33
on:
44
pull_request:
5-
branches:
65

76
# cancel running jobs if theres a newer push
87
concurrency:
@@ -13,8 +12,9 @@ permissions:
1312
contents: read
1413

1514
jobs:
16-
docs:
15+
readthedocs:
1716
runs-on: ubuntu-latest
17+
name: readthedocs
1818
defaults:
1919
run:
2020
shell: bash -l {0}
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Install doc dependencies
3131
run: |
32-
pip install sphinx renku-sphinx-theme sphinx-rtd-theme click pyyaml rstcheck
32+
pip install sphinx renku-sphinx-theme sphinx-rtd-theme click pyyaml jsonschema rstcheck
3333
3434
- name: Install fremorizer
3535
run: |

.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ build:
1313
jobs:
1414
pre_install:
1515
# Install minimal dependencies needed for doc build
16-
- pip install sphinx renku-sphinx-theme sphinx-rtd-theme click pyyaml
16+
- pip install sphinx renku-sphinx-theme sphinx-rtd-theme click pyyaml jsonschema
1717
pre_build:
1818
# Generate API documentation from source
1919
- sphinx-apidoc --ext-autodoc --output-dir docs fremorizer/ --separate
@@ -23,4 +23,3 @@ sphinx:
2323
configuration: docs/conf.py
2424

2525

26-

0 commit comments

Comments
 (0)