Skip to content

Commit fa53391

Browse files
committed
fix ci doc
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent f99055c commit fa53391

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/docs-ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,23 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v2
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v2
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

23+
- name: Give permission to run scripts
24+
run: chmod +x ./docs/scripts/doc8_style_check.sh
25+
2326
- name: Install Dependencies
24-
run: pip install -e .[docs]
27+
working-directory: ./docs
28+
run: pip install -r requirements.txt
2529

2630
- name: Check Sphinx Documentation build minimally
2731
working-directory: ./docs
28-
run: sphinx-build -E -W source build
32+
run: sphinx-build -b linkcheck -EW source build
2933

3034
- name: Check for documentation style errors
3135
working-directory: ./docs

0 commit comments

Comments
 (0)