Skip to content

Commit

Permalink
docs: Fix import issues in doc build. (#2876)
Browse files Browse the repository at this point in the history
* docs: Fix import issues in doc build.

* Update doc.

* Update .github/workflows/ci.yml

* resolve meta doc error

---------

Co-authored-by: Harshal Pohekar <[email protected]>
Co-authored-by: Harshal Pohekar <[email protected]>
  • Loading branch information
3 people authored Jun 20, 2024
1 parent 973f9ab commit 776d69d
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ jobs:
rm poetry.lock
fi
poetry install --with docs
poetry install -E reader
make build-doc-source
env:
FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}
Expand Down
1 change: 0 additions & 1 deletion doc/source/api/general/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,4 @@ Logging
execution_utils
search
schemeeval
meta
logging
1 change: 1 addition & 0 deletions doc/source/api/general/post_objects/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Post objects

post_helper
post_objects_container
meta
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
Meta
====

.. automodule:: ansys.fluent.core.meta
.. automodule:: ansys.fluent.core.post_objects.meta
:members:
:show-inheritance:
:undoc-members:
:exclude-members: __weakref__, __dict__
:autosummary:
12 changes: 0 additions & 12 deletions doc/source/api/general/services/error_handler.rst

This file was deleted.

3 changes: 0 additions & 3 deletions doc/source/api/general/services/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Services
============================== ====================================================================================
:ref:`ref_batch_ops` | Executes operations in batch in Fluent.

:ref:`ref_error_handler` Handles gRPC service errors.

:ref:`ref_events_code` Begins and ends event streaming service of Fluent.

:ref:`ref_field_data_code` Extracts Fluent field data and provides access to Fluent field information.
Expand All @@ -32,7 +30,6 @@ Services
:hidden:

batch_ops
error_handler
events
field_data
health_check
Expand Down
2 changes: 1 addition & 1 deletion doc/source/api/meshing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ TUI commands example
import ansys.fluent.core as pyfluent
meshing_session = pyfluent.launch_fluent(mode="meshing")
meshing_session = pyfluent.launch_fluent(mode=pyfluent.FluentMode.MESHING)
meshing_session.tui.file.read_case("elbow.cas.gz")
solver = meshing_session.switch_to_solver()
solver.tui.define.models.unsteady_2nd_order("yes")
Expand Down

0 comments on commit 776d69d

Please sign in to comment.