From 1a150c9abbf834715d0af5e9e284b500469625a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:36:08 +0000 Subject: [PATCH 1/3] Bump the doc-dependencies group with 4 updates Bumps the doc-dependencies group with 4 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme), [sphinx](https://github.com/sphinx-doc/sphinx), [sphinx-gallery](https://github.com/sphinx-gallery/sphinx-gallery) and [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page). Updates `ansys-sphinx-theme` from 0.10.2 to 0.10.5 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](https://github.com/ansys/ansys-sphinx-theme/compare/v0.10.2...v0.10.5) Updates `sphinx` from 7.1.2 to 7.2.5 - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.1.2...v7.2.5) Updates `sphinx-gallery` from 0.13.0 to 0.14.0 - [Release notes](https://github.com/sphinx-gallery/sphinx-gallery/releases) - [Changelog](https://github.com/sphinx-gallery/sphinx-gallery/blob/master/.github_changelog_generator) - [Commits](https://github.com/sphinx-gallery/sphinx-gallery/compare/v0.13.0...v0.14.0) Updates `sphinx-notfound-page` from 0.8.3 to 1.0.0 - [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/main/CHANGELOG.rst) - [Commits](https://github.com/readthedocs/sphinx-notfound-page/compare/0.8.3...1.0.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch dependency-group: doc-dependencies - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-minor dependency-group: doc-dependencies - dependency-name: sphinx-gallery dependency-type: direct:production update-type: version-update:semver-minor dependency-group: doc-dependencies - dependency-name: sphinx-notfound-page dependency-type: direct:production update-type: version-update:semver-major dependency-group: doc-dependencies ... Signed-off-by: dependabot[bot] --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 23e2743ebf..e7e6a91bdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,15 +40,15 @@ tests = [ "pyvista[trame]==0.41.1" ] doc = [ - "ansys-sphinx-theme==0.10.2", + "ansys-sphinx-theme==0.10.5", "jupyter-sphinx==0.4.0", "numpydoc==1.5.0", - "Sphinx==7.1.2", + "Sphinx==7.2.5", "pyvista==0.41.1", "sphinx-autodoc-typehints==1.24.0", "sphinx-copybutton==0.5.2", - "sphinx-gallery==0.13.0", - "sphinx-notfound-page==0.8.3", + "sphinx-gallery==0.14.0", + "sphinx-notfound-page==1.0.0", "sphinxemoji==0.2.0", ] all = [ From 0c4a497f777dba17e7626530bd22894c36f937ff Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Mon, 4 Sep 2023 16:01:12 +0200 Subject: [PATCH 2/3] fix: build error --- .github/workflows/ci_cd.yml | 3 --- doc/source/conf.py | 2 +- .../gallery/08_lucid_generic_f1_rear_wing.py | 16 ++++++++-------- examples/misc/example_template.py | 6 +++--- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 1827c0fad2..50fa309c7b 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -102,9 +102,6 @@ jobs: PYPRIMEMESH_SPHINX_BUILD: 1 PYPRIMEMESH_IMAGE_TAG: ${{ env.DOCKER_IMAGE_TAG }} ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}} - with: - # By default, also '-W --keep-going'... we should eventually solve the warnings in the build process. - sphinxopts: '-j auto' testing: name: Run Unit Tests diff --git a/doc/source/conf.py b/doc/source/conf.py index 742a82b292..9e5e52c88e 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -74,7 +74,7 @@ # Intersphinx mapping intersphinx_mapping = { - "python": ("https://docs.python.org/dev", None), + "python": ("https://docs.python.org/3", None), # kept here as an example # "scipy": ("https://docs.scipy.org/doc/scipy/reference", None), # "numpy": ("https://numpy.org/devdocs", None), diff --git a/examples/gallery/08_lucid_generic_f1_rear_wing.py b/examples/gallery/08_lucid_generic_f1_rear_wing.py index 4dbb602e9c..03018a0155 100644 --- a/examples/gallery/08_lucid_generic_f1_rear_wing.py +++ b/examples/gallery/08_lucid_generic_f1_rear_wing.py @@ -78,7 +78,7 @@ ############################################################################### # Merge parts -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~ # Establish the global size parameter to regulate mesh refinement. # Merge all individual parts into a unified part named `f1_car_rear_wing`. @@ -96,7 +96,7 @@ ############################################################################### # Mesh connect -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~ # In order to generate a volume mesh for a closed domain, it is necessary to ensure # that the components of the rear wing are properly connected. # To achieve this, perform a connect operation using labels to join the components of @@ -119,7 +119,7 @@ ############################################################################### # Define local size-control and generate size-field -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # In order to accurately represent the physics of the DRS wing, a limitation of 8 mm # is imposed on the mesh size of the wing. # This is accomplished by implementing curvature size control, which refines the @@ -165,7 +165,7 @@ ############################################################################### # Generate surface mesh -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~~ # Create a surface mesh for the rear wing using the defined size controls. # To facilitate the definition of boundary conditions on the surfaces in the solver, # generate face zones by utilizing the existing labels found in the rear wing model. @@ -180,14 +180,14 @@ ############################################################################### # Compute volumetric regions -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~ # Compute the volume zones. mesh_util.compute_volumes(part_expression=part.name, create_zones_per_volume=True) ############################################################################### # Define volume controls -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~~~ # In order to prevent the generation of a volume mesh within the solid wing, # the type of a volume zone within the rear wing can be defined as "dead". # To accomplish this, Volume Control is utilized to assign the type for the @@ -211,7 +211,7 @@ ############################################################################### # Define prism controls -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~~ # A prism control can be used to define inflation layers on the external aero surfaces. # Specify the aero surfaces using labels, here prism scope is defined on zones associated # with labels ``*drs*`` and ``*plane*``. @@ -247,7 +247,7 @@ ############################################################################### # Generate volume mesh -# ~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~ # Volume mesh with hexcore polyhedral elements and boundary layer refinement. volume_mesh = prime.AutoMesh(model) diff --git a/examples/misc/example_template.py b/examples/misc/example_template.py index b85e45474f..2a39869e12 100644 --- a/examples/misc/example_template.py +++ b/examples/misc/example_template.py @@ -84,9 +84,9 @@ # as ReStructured Text (RST). # # .. note:: -# You only need to create the Python (PY) files for the example. The -# ``sphinx-gallery`` extension automatically generates the Jupyter -# notebook, the HTML files for the documentation, and the demo script. +# You only need to create the Python (PY) files for the example. The +# ``sphinx-gallery`` extension automatically generates the Jupyter +# notebook, the HTML files for the documentation, and the demo script. # # Sections can contain any information that you may have regarding the example, # such as step-by-step comments and information on motivations. In the generated From 9e297fc0f67e29e64d3f52a0809ec8ab05337586 Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Mon, 4 Sep 2023 16:48:39 +0200 Subject: [PATCH 3/3] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e7e6a91bdf..85ba879b65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ tests = [ "pyvista[trame]==0.41.1" ] doc = [ - "ansys-sphinx-theme==0.10.5", + "ansys-sphinx-theme==0.10.6", "jupyter-sphinx==0.4.0", "numpydoc==1.5.0", "Sphinx==7.2.5",