Skip to content

Commit

Permalink
fix: fix doc build [skip tests] (#2850)
Browse files Browse the repository at this point in the history
* fix: try fixing doc build [skip tests]

* fix: try fixing doc build [skip tests]

* fix: try fixing doc build [skip tests]

* fix: try fixing doc build [skip tests]

* fix: try fixing doc build [skip tests]

* fix: try fixing doc build [skip tests]
  • Loading branch information
mkundu1 authored May 22, 2024
1 parent becf8de commit 15e981a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ jobs:
- name: Build Source Documentation
run: |
pip install -r requirements/requirements_build.txt
poetry install --only docs
if [ -f poetry.lock ] ; then
rm poetry.lock
fi
poetry install --with docs
make build-doc-source
env:
FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ build-doc-source:
@sudo rm -rf doc/source/api/solver/tui
@sudo rm -rf doc/source/api/solver/_autosummary/settings
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
@xvfb-run make -C doc html
@xvfb-run poetry run -- make -C doc html

build-all-docs:
@python doc/datamodel_rstgen.py
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pandas = "^2.0.3"
platformdirs = "^3.5.1"
psutil = "^5.9.5"
pyyaml = "^6.0"
requests = "^2.31.0"
requests = "==2.31.0"

[tool.poetry.group.docs]
optional = true
Expand Down

0 comments on commit 15e981a

Please sign in to comment.