Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Error appearing in some examples while documentation building #944

Merged
merged 28 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
9a02b2e
fix(temp): Serialize sphinx jobs
AlejandroFernandezLuces Nov 27, 2024
f1008c4
fix(temp): Remove job dependency
AlejandroFernandezLuces Nov 27, 2024
d51c296
chore: adding changelog file 944.fixed.md [dependabot-skip]
pyansys-ci-bot Nov 27, 2024
e0ef215
update python version
AlejandroFernandezLuces Nov 27, 2024
696ca1d
Merge branch 'fix/doc-example-issues' of https://github.com/ansys/pyp…
AlejandroFernandezLuces Nov 27, 2024
f444938
test
AlejandroFernandezLuces Nov 27, 2024
6745295
testing
AlejandroFernandezLuces Nov 27, 2024
25b0d37
test
AlejandroFernandezLuces Nov 27, 2024
2a0de00
tets
AlejandroFernandezLuces Nov 27, 2024
4569317
fix: close docker container in case of unexpected program end.
AlejandroFernandezLuces Nov 27, 2024
db062e4
fix: Proper closure on exception
AlejandroFernandezLuces Nov 27, 2024
6bf9e89
test
AlejandroFernandezLuces Nov 27, 2024
5089f49
remove bad examples
AlejandroFernandezLuces Nov 28, 2024
b2c0b77
test
AlejandroFernandezLuces Nov 28, 2024
2f24a28
tests
AlejandroFernandezLuces Nov 28, 2024
55956ee
fix: add xvfb
AlejandroFernandezLuces Nov 28, 2024
45f023a
test
AlejandroFernandezLuces Nov 28, 2024
17037a2
tests
AlejandroFernandezLuces Nov 28, 2024
e06f76b
test
AlejandroFernandezLuces Nov 28, 2024
907aafe
revert examples
AlejandroFernandezLuces Nov 28, 2024
89c2497
tes
AlejandroFernandezLuces Nov 28, 2024
5413ad2
add code as codeblock, reverts
AlejandroFernandezLuces Nov 28, 2024
61d6f06
reverts
AlejandroFernandezLuces Nov 28, 2024
9c02b73
fix code style
AlejandroFernandezLuces Nov 29, 2024
ef6a6d7
revert last changes
AlejandroFernandezLuces Nov 29, 2024
96eecc8
chore: adding changelog file 944.fixed.md [dependabot-skip]
pyansys-ci-bot Nov 29, 2024
ce0402f
fix: Example 10 error
AlejandroFernandezLuces Nov 29, 2024
b52f855
fix: Left out code
AlejandroFernandezLuces Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[flake8]
exclude = venv, __init__.py, doc/_build
select = W191, W291, W293, W391, E115, E117, E122, E124, E125, E225, E231, E301, E303, E501, F401, F403
select = W191, W291, W293, W391, E115, E117, E122, E124, E125, E225, E301, E303, E501, F401, F403
count = True
max-complexity = 10
max-line-length = 100
statistics = True
per-file-ignores =
per-file-ignores =
src/ansys/meshing/prime/autogen/*: F401, F403, E501
src/ansys/meshing/prime/params/primestructs.py: F401, F403
src/ansys/meshing/prime/internals/error_handling.py: E501
5 changes: 2 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
env:
DOCKER_IMAGE_NAME: ghcr.io/ansys/prime
DOCKER_IMAGE_TAG: '25.1.0.dev20'
MAIN_PYTHON_VERSION: '3.10'
MAIN_PYTHON_VERSION: '3.12'
PACKAGE_NAME: 'ansys-meshing-prime'
PACKAGE_NAMESPACE: 'ansys.meshing.prime'
DOCUMENTATION_CNAME: 'prime.docs.pyansys.com'
Expand Down Expand Up @@ -89,7 +89,6 @@ jobs:
runs-on: ubuntu-latest
needs: [docs-style]
steps:

- name: Login in Github Container registry
uses: docker/login-action@v3
with:
Expand All @@ -101,7 +100,7 @@ jobs:
run: docker pull ${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG }}

- name: Setup headless display
uses: pyvista/setup-headless-display-action@v2
uses: pyvista/setup-headless-display-action@v3

- name: "Run Ansys documentation building action"
uses: ansys/actions/doc-build@v8
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/944.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: Error appearing in some examples while documentation building
1 change: 1 addition & 0 deletions doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if "%SPHINXBUILD%" == "" (
if "%SPHINXOPTS%" == "" (
set SPHINXOPTS=-j auto
)

set SOURCEDIR=source
set BUILDDIR=_build

Expand Down
Loading
Loading