Skip to content

Commit 38b17cb

Browse files
authored
Merge branch 'master' into dependabot/pip/requirements/ansys-sphinx-theme-1.1.2
2 parents 67b3a89 + 651df51 commit 38b17cb

25 files changed

+294
-135
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
name: "Style Check"
7272
runs-on: ubuntu-latest
7373
steps:
74-
- uses: ansys/actions/code-style@v7
74+
- uses: ansys/actions/code-style@v8
7575
with:
7676
use-python-cache: false
7777

.github/workflows/ci_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
name: "Style Check"
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: ansys/actions/code-style@v6
46+
- uses: ansys/actions/code-style@v8
4747
with:
4848
use-python-cache: false
4949

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: "Running documentation style checks"
54-
uses: ansys/actions/doc-style@v7
54+
uses: ansys/actions/doc-style@v8
5555
with:
5656
token: ${{ secrets.GITHUB_TOKEN }}
5757

.github/workflows/releaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
token: ${{ secrets.GITHUB_TOKEN }}
9494
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
9595
decompress-artifact: true
96-
96+
9797
update_ansys_lab_examples:
9898
uses: ./.github/workflows/ansys_lab.yml
9999
needs: get_latest_tag

doc/source/_static/dpf_operators.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

doc/source/conf.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pyvista
88
from ansys.dpf.core import __version__, server, server_factory
99
from ansys.dpf.core.examples import get_example_required_minimum_dpf_version
10-
from ansys_sphinx_theme import pyansys_logo_black, ansys_favicon, get_version_match
10+
from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_light_mode, pyansys_logo_dark_mode
1111

1212
# Manage errors
1313
pyvista.set_error_output_file("errors.txt")
@@ -90,7 +90,8 @@
9090
]
9191

9292
redirects = {
93-
"user_guide/getting_started_with_dpf_server": "../getting_started/dpf_server.html"
93+
"user_guide/getting_started_with_dpf_server": "../getting_started/dpf_server.html",
94+
"concepts/index": "../user_guide/index.html#concepts"
9495
}
9596

9697
typehints_defaults = "comma"
@@ -193,9 +194,12 @@ def reset_servers(gallery_conf, fname, when):
193194
# -- Options for HTML output -------------------------------------------------
194195
html_short_title = html_title = "PyDPF-Core"
195196
html_theme = "ansys_sphinx_theme"
196-
html_logo = pyansys_logo_black
197197
html_favicon = ansys_favicon
198198
html_theme_options = {
199+
"logo": {
200+
"image_dark": pyansys_logo_dark_mode,
201+
"image_light": pyansys_logo_light_mode,
202+
},
199203
"github_url": "https://github.com/ansys/pydpf-core",
200204
"show_prev_next": False,
201205
"show_breadcrumbs": True,

doc/source/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,4 @@ To reach the project support team, email `[email protected] <pyansys.core@a
193193
examples/index
194194
api/index
195195
operator_reference
196-
concepts/index
197196
contributing

doc/source/concepts/concepts.rst renamed to doc/source/user_guide/concepts/concepts.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Concept summary
6767
---------------
6868
This image summarizes the preceding concepts:
6969

70-
.. image:: ../images/drawings/field-breakdown.png
70+
.. image:: ../../images/drawings/field-breakdown.png
7171

7272

7373
Operators
@@ -79,7 +79,7 @@ You use :ref:`ref_dpf_operators_reference` to create, transform, and stream the
7979
- The input and output pins, like those in an integrated circuit in electronics,
8080
submit data to the operator and output the computed result from the operator.
8181

82-
.. image:: ../images/drawings/OperatorPins.png
82+
.. image:: ../../images/drawings/OperatorPins.png
8383

8484
Workflows
8585
---------
@@ -90,10 +90,10 @@ to operators, which computes requested outputs.
9090
Think of a workflow as a black box in which some operators are chained,
9191
computing the information for which the workflow is made:
9292

93-
.. image:: ../images/drawings/Workflow1.png
93+
.. image:: ../../images/drawings/Workflow1.png
9494

9595
The following image shows operators that have been chained together to create a
9696
total deformation workflow. You can use this workflow in any simulation
9797
workflow with any data sources as inputs.
9898

99-
.. image:: ../images/drawings/Workflow2.png
99+
.. image:: ../../images/drawings/Workflow2.png
Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,32 @@
11
.. _ref_concepts:
22

3-
========
43
Concepts
5-
========
4+
--------
65

76
This section provides in-depth descriptions and explanations of DPF concepts, including terminology.
87

9-
DPF concepts
10-
~~~~~~~~~~~~
8+
.. grid:: 1 1 3 3
9+
:gutter: 2
10+
:padding: 2
11+
:margin: 2
1112

12-
.. toctree::
13-
:hidden:
14-
15-
concepts.rst
16-
waysofusing.rst
17-
stepbystep.rst
18-
19-
20-
.. card-carousel:: 2
21-
22-
.. card:: Concepts and terminology
13+
.. grid-item-card:: Concepts and terminology
2314
:link: user_guide_concepts
2415
:link-type: ref
25-
:width: 25%
2616
:text-align: center
2717

2818
.. image:: ../images/drawings/book-logo.png
2919

30-
.. card:: Ways of using DPF
20+
.. grid-item-card:: Ways of using DPF
3121
:link: user_guide_waysofusing
3222
:link-type: ref
33-
:width: 25%
3423
:text-align: center
3524

3625
.. image:: ../images/drawings/using-dpf.png
3726

38-
.. card:: Using DPF: Step by step
27+
.. grid-item-card:: Using DPF: Step by step
3928
:link: user_guide_stepbystep
4029
:link-type: ref
41-
:width: 25%
4230
:text-align: center
4331

4432
.. image:: ../images/drawings/checklist.png

doc/source/concepts/stepbystep.rst renamed to doc/source/user_guide/concepts/stepbystep.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Define fields
5353
A **field** is a container of simulation data. In numerical simulations,
5454
result data is defined by values associated with entities:
5555

56-
.. image:: ../images/drawings/values-entities.png
56+
.. image:: ../../images/drawings/values-entities.png
5757

5858
Therefore, a field of data might look something like this:
5959

60-
.. image:: ../images/drawings/field.png
60+
.. image:: ../../images/drawings/field.png
6161

6262
This code shows how to define a field from scratch:
6363

@@ -83,7 +83,7 @@ be a set of mesh IDs, geometric entity IDs, time domain, or frequency domain.
8383

8484
You specify the set of entities by defining a range of IDs:
8585

86-
.. image:: ../images/drawings/scoping-eg.png
86+
.. image:: ../../images/drawings/scoping-eg.png
8787

8888
You must define a scoping prior to its use in the transformation data workflow.
8989

@@ -109,13 +109,13 @@ A **field container** holds a set of fields. It is used mainly for
109109
transient, harmonic, modal, or multi-step analyses. This image
110110
explains its structure:
111111

112-
.. image:: ../images/drawings/field-con-overview.png
112+
.. image:: ../../images/drawings/field-con-overview.png
113113

114114
A field container is a vector of fields. Fields are ordered with labels
115115
and IDs. Most commonly, a field container is scoped on the time label,
116116
and the IDs are the time or frequency sets:
117117

118-
.. image:: ../images/drawings/field-con.png
118+
.. image:: ../../images/drawings/field-con.png
119119

120120
You can define a field container in multiple ways:
121121

@@ -162,14 +162,14 @@ An operator takes input from a field, field container, or scoping using
162162
an input pin. Based on what it is designed to do, the operator computes
163163
an output that it passes to a field or field container using an output pin.
164164

165-
.. image:: ../images/drawings/circuit.png
165+
.. image:: ../../images/drawings/circuit.png
166166

167167
Comprehensive information on operators is available in :ref:`ref_dpf_operators_reference`.
168168
In the **Available Operators** area for either the **Entry** or **Premium** operators,
169169
you can either type a keyword in the **Search** option
170170
or browse by operator categories:
171171

172-
.. image:: ../images/drawings/help-operators.png
172+
.. image:: ../../images/drawings/help-operators.png
173173

174174
The page for each operator describes how the operator transforms data,
175175
indicates input and output data, and provides usage examples.
@@ -185,7 +185,7 @@ Defining an operator consists of three steps:
185185
This image shows how the page for an operator provides a usage example for each available
186186
language (IronPython, CPython, and C++).
187187

188-
.. image:: ../images/drawings/operator-def.png
188+
.. image:: ../../images/drawings/operator-def.png
189189

190190
This code shows how to define an operator from a model:
191191

@@ -210,7 +210,7 @@ the input to another operator.
210210
This image shows how you would get the norm of a resulting vector from the
211211
dot product of two vectors:
212212

213-
.. image:: ../images/drawings/connect-operators.png
213+
.. image:: ../../images/drawings/connect-operators.png
214214

215215
This code shows how to define a generic workflow that computes the minimum
216216
of displacement by chaining the ``U`` and ``min_max_fc`` operators:

0 commit comments

Comments
 (0)