Skip to content

Commit 782cc0d

Browse files
authored
Fixing escaping characters in docstrings (#2952)
* Escaping underscore * fixing other scaped chars
1 parent d16b9b3 commit 782cc0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+117
-115
lines changed

src/ansys/mapdl/core/_commands/apdl/array_param.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,8 @@ def voper(self, parr="", par1="", oper="", par2="", con1="", con2="", **kwargs):
11411141
First derivative:
11421142
11431143
.. math::
1144-
\dfrac{\mathrm{d}(\mathrm{Par1})}{\mathrm{d}(\mathrm{Par2})}
1144+
1145+
\\dfrac{\\mathrm{d}(\\mathrm{Par1})}{\\mathrm{d}(\\mathrm{Par2})}
11451146
11461147
The derivative at a point is determined over points
11471148
half way between the previous and next points
@@ -1154,7 +1155,8 @@ def voper(self, parr="", par1="", oper="", par2="", con1="", con2="", **kwargs):
11541155
Second derivative:
11551156
11561157
.. math::
1157-
\dfrac{\mathrm{d}^2(\mathrm{Par1})}{\mathrm{d}(\mathrm{Par2})^2}
1158+
1159+
\\dfrac{\\mathrm{d}^2(\\mathrm{Par1})}{\\mathrm{d}(\\mathrm{Par2})^2}
11581160
11591161
See also ``DER1``.
11601162
@@ -1163,7 +1165,7 @@ def voper(self, parr="", par1="", oper="", par2="", con1="", con2="", **kwargs):
11631165
11641166
.. math::
11651167
1166-
\int Par1 \, d(Par2)
1168+
\\int Par1 \\, d(Par2)
11671169
11681170
where ``CON1`` is the integration constant.
11691171
The integral at a point is
@@ -1175,7 +1177,7 @@ def voper(self, parr="", par1="", oper="", par2="", con1="", con2="", **kwargs):
11751177
11761178
.. math::
11771179
1178-
\iint Par1 \, d(Par2)
1180+
\\iint Par1 \\, d(Par2)
11791181
11801182
where ``CON1`` is the integration constant of the first
11811183
integral and ``CON2`` is the integration constant

src/ansys/mapdl/core/_commands/apdl/macro_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def rmdir(self, dir_="", **kwargs):
356356
357357
Parameters
358358
----------
359-
dir\_
359+
dir\\_
360360
The directory to remove. If no path is provided, it will be assumed
361361
to be in the current working directory. All files in the directory
362362
are also removed.

src/ansys/mapdl/core/_commands/apdl/matrix_op.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def dmat(
102102
matrix
103103
Name used to identify the matrix. Must be specified.
104104
105-
type\_
105+
type\\_
106106
Matrix type:
107107
108108
Double precision real values (default). - Complex double precision values.
@@ -239,7 +239,7 @@ def export(
239239
Name of the matrix to export (must be a matrix previously created
240240
with ``*DMAT`` or ``*SMAT``, or a vector previously created with ``*VEC``).
241241
242-
format\_
242+
format\\_
243243
Format of the output file:
244244
245245
Export the matrix in the Matrix Market Format. - Export
@@ -302,7 +302,7 @@ def fft(
302302
303303
Parameters
304304
----------
305-
type\_
305+
type\\_
306306
Type of FFT transformation:
307307
308308
Forward FFT computation (default). - Backward FFT computation.
@@ -420,7 +420,7 @@ def itengine(
420420
421421
Parameters
422422
----------
423-
type\_
423+
type\\_
424424
Specifies the algorithm to be used:
425425
426426
enginename
@@ -834,7 +834,7 @@ def smat(
834834
matrix
835835
Name used to identify the matrix. Must be specified.
836836
837-
type\_
837+
type\\_
838838
Matrix type:
839839
840840
Double precision real values (default). - Complex double precision values.

src/ansys/mapdl/core/_commands/apdl/parameter_definition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def dim(
6565
Name of parameter to be dimensioned. See ``*SET`` for name
6666
restrictions.
6767
68-
type\_
68+
type\\_
6969
Array type:
7070
7171
Arrays are similar to standard FORTRAN arrays (indices are
@@ -261,7 +261,7 @@ def get(
261261
Parameters
262262
----------
263263
par : str, optional
264-
The name of the resulting parameter. See \*SET for name
264+
The name of the resulting parameter. See \\*SET for name
265265
restrictions.
266266
267267
entity

src/ansys/mapdl/core/_commands/aux12_/radiosity_solver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def vfopt(
360360
ext
361361
Filename extension for view factor matrix. Default = .vf.
362362
363-
dir\_
363+
dir\\_
364364
Directory path for view factor matrix. If you do not specify a
365365
directory path, it will default to your working directory.
366366

src/ansys/mapdl/core/_commands/aux3_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ def modify(
8888
8989
Parameters
9090
----------
91-
set\_
91+
set\\_
9292
Set of data in results file to be modified.
9393
9494
lstep
9595
The new load step number.
9696
97-
iter\_
97+
iter\\_
9898
The new load substep number.
9999
100100
cumit

src/ansys/mapdl/core/_commands/database/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def cmsel(
394394
395395
Parameters
396396
----------
397-
type\_
397+
type_
398398
Label identifying the type of select:
399399
400400
S - Select a new set (default).

src/ansys/mapdl/core/_commands/database/picking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def flst(self, nfield="", narg="", type_="", otype="", leng="", **kwargs):
9595
narg
9696
Number of items in the picked list.
9797
98-
type\_
98+
type\\_
9999
Type of items picked:
100100
101101
1 - Node numbers

src/ansys/mapdl/core/_commands/database/selecting.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def asll(self, type_="", arkey="", **kwargs):
9999
100100
Parameters
101101
----------
102-
type\_
102+
type\\_
103103
Label identifying the type of area select:
104104
105105
S - Select a new set (default).
@@ -152,7 +152,7 @@ def asel(
152152
153153
Parameters
154154
----------
155-
type\_
155+
type\\_
156156
Label identifying the type of select:
157157
158158
S - Select a new set (default)
@@ -272,7 +272,7 @@ def aslv(self, type_="", **kwargs):
272272
273273
Parameters
274274
----------
275-
type\_
275+
type\\_
276276
Label identifying the type of area select:
277277
278278
S - Select a new set (default).
@@ -306,7 +306,7 @@ def dofsel(
306306
307307
Parameters
308308
----------
309-
type\_
309+
type\\_
310310
Label identifying the type of select:
311311
312312
S - Select a new set of labels.
@@ -393,7 +393,7 @@ def esel(
393393
394394
Parameters
395395
----------
396-
type\_
396+
type\\_
397397
Label identifying the type of select:
398398
399399
- S - Select a new set (default).
@@ -694,7 +694,7 @@ def ksel(
694694
695695
Parameters
696696
----------
697-
type\_
697+
type\\_
698698
Label identifying the type of select:
699699
700700
S
@@ -808,7 +808,7 @@ def ksll(self, type_="", **kwargs):
808808
809809
Parameters
810810
----------
811-
type\_
811+
type\\_
812812
Label identifying the type of keypoint select:
813813
814814
S - Select a new set (default).
@@ -833,7 +833,7 @@ def ksln(self, type_="", **kwargs):
833833
834834
Parameters
835835
----------
836-
type\_
836+
type\\_
837837
Label identifying the type of keypoint select:
838838
839839
S - Select a new set (default).
@@ -883,7 +883,7 @@ def lsel(
883883
884884
Parameters
885885
----------
886-
type\_
886+
type\\_
887887
Label identifying the type of select:
888888
889889
S - Select a new set (default).
@@ -995,7 +995,7 @@ def lsla(self, type_="", **kwargs):
995995
996996
Parameters
997997
----------
998-
type\_
998+
type\\_
999999
Label identifying the type of line select:
10001000
10011001
S - Select a new set (default).
@@ -1020,7 +1020,7 @@ def lslk(self, type_="", lskey="", **kwargs):
10201020
10211021
Parameters
10221022
----------
1023-
type\_
1023+
type\\_
10241024
Label identifying the type of line select:
10251025
10261026
S - Select a new set (default).
@@ -1074,7 +1074,7 @@ def nsel(
10741074
10751075
Parameters
10761076
----------
1077-
type\_
1077+
type\\_
10781078
Label identifying the type of select:
10791079
10801080
S - Select a new set (default).
@@ -1235,7 +1235,7 @@ def nsla(self, type_="", nkey="", **kwargs):
12351235
12361236
Parameters
12371237
----------
1238-
type\_
1238+
type\\_
12391239
Label identifying the type of node select:
12401240
12411241
S - Select a new set (default).
@@ -1282,7 +1282,7 @@ def nsle(self, type_="", nodetype="", num="", **kwargs):
12821282
12831283
Parameters
12841284
----------
1285-
type\_
1285+
type\\_
12861286
Label identifying the type of node select:
12871287
12881288
S - Select a new set (default).
@@ -1345,7 +1345,7 @@ def nslk(self, type_="", **kwargs):
13451345
13461346
Parameters
13471347
----------
1348-
type\_
1348+
type\\_
13491349
Label identifying the type of node select:
13501350
13511351
S - Select a new set (default).
@@ -1374,7 +1374,7 @@ def nsll(self, type_="", nkey="", **kwargs):
13741374
13751375
Parameters
13761376
----------
1377-
type\_
1377+
type\\_
13781378
Label identifying the type of node select:
13791379
13801380
S - Select a new set (default).
@@ -1411,7 +1411,7 @@ def nslv(self, type_="", nkey="", **kwargs):
14111411
14121412
Parameters
14131413
----------
1414-
type\_
1414+
type\\_
14151415
Label identifying the type of node select:
14161416
14171417
S - Select a new set (default).
@@ -1447,7 +1447,7 @@ def partsel(self, type_="", pmin="", pmax="", pinc="", **kwargs):
14471447
14481448
Parameters
14491449
----------
1450-
type\_
1450+
type\\_
14511451
Label identifying type of select. Because PARTSEL is a command
14521452
macro, the label must be enclosed in single quotes.
14531453
@@ -1536,7 +1536,7 @@ def vsel(
15361536
15371537
Parameters
15381538
----------
1539-
type\_
1539+
type\\_
15401540
Label identifying the type of volume select:
15411541
15421542
S - Select a new set (default).
@@ -1633,7 +1633,7 @@ def vsla(self, type_="", vlkey="", **kwargs):
16331633
16341634
Parameters
16351635
----------
1636-
type\_
1636+
type\\_
16371637
Label identifying the type of volume select:
16381638
16391639
S - Select a new set (default).

src/ansys/mapdl/core/_commands/graphics_/annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def anum(self, num="", type_="", xhot="", yhot="", **kwargs):
159159
number is available; ANSYS will substitute the lowest available
160160
number in place of any user-specified higher number.
161161
162-
type\_
162+
type\\_
163163
Annotation internal type number. If TYPE = DELE, delete annotation
164164
NUM.
165165

0 commit comments

Comments
 (0)