Skip to content

Commit 6373bc6

Browse files
bors[bot]kumar
and
kumar
authored
Merge #558
558: removed sphinx action and added manual buid of docs, closes #550 r=alallema a=kaggrwal # Pull Request ## Related issue Fixes #550 ## What does this PR do? - This removes the sphinx action and manually builds the documentation using sphinx via pipenv ## PR checklist Please check if your PR fulfills the following requirements: - [ ✓] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [ ✓] Have you read the contributing guidelines? - [ ✓] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: kumar <[email protected]>
2 parents a9fcdd9 + 9708a18 commit 6373bc6

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)