Skip to content

Commit 9708a18

Browse files
author
kumar
committed
removed sphinx action and added manual buid of docs
1 parent a9fcdd9 commit 9708a18

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ jobs:
1919
- name: Install pipenv
2020
uses: dschep/install-pipenv-action@v1
2121
- name: Install dependencies
22-
run: pipenv install --dev
22+
run: |
23+
pipenv install --dev
24+
pipenv install sphinx
25+
pipenv install sphinx_rtd_theme
2326
- name: Build docs
24-
uses: ammaraskar/sphinx-action@master
25-
with:
26-
pre-build-command: "pip install sphinx_rtd_theme && sphinx-apidoc -f -o docs meilisearch/"
27-
docs-folder: "docs/"
27+
run: |
28+
pipenv run sphinx-apidoc -f -o docs meilisearch/
29+
pipenv run sphinx-build docs ./docs/_build/html/
2830
- name: Deploy
2931
uses: peaceiris/actions-gh-pages@v3
3032
with:

0 commit comments

Comments
 (0)