Skip to content

Commit b1e6fd5

Browse files
committed
docs: rm spurious markings from Sphinx format
1 parent aeec0f8 commit b1e6fd5

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

docs/cookbook/nura.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ results of all cases on the same figure, compute statistics etc. The
77
[`StagyyData`][stagpy.stagyydata.StagyyData] class comes in handy for that. The
88
following script can be used to make a loglog plot of the Nusselt number as
99
function of the Rayleigh number using all directories stored where the script
10-
is executed::
10+
is executed:
1111

1212
```py
1313
#!/usr/bin/env python3

docs/devs/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ repository:
2424
git remote add upstream [email protected]:StagPython/StagPy.git
2525
```
2626

27-
To sync your fork with the main repository, you can run the following::
27+
To sync your fork with the main repository, you can run the following:
2828

2929
```sh title="shell"
3030
git switch master
3131
git pull upstream master
3232
git push origin
3333
```
3434

35-
To add your own modifications, create a new branch from the tip of master::
35+
To add your own modifications, create a new branch from the tip of master:
3636

3737
```sh title="shell"
3838
git switch -c branch-name master
3939
```
4040

41-
where ``branch-name`` is the desired branch name. Modify the code as desired,
42-
commit it, and push it on your fork::
41+
where `branch-name` is the desired branch name. Modify the code as desired,
42+
commit it, and push it on your fork:
4343

4444
```sh title="shell"
4545
git push -u origin branch-name
@@ -52,7 +52,7 @@ Testing
5252
-------
5353

5454
StagPy uses [tox for code testing](https://tox.wiki/). Make sure it
55-
is installed and up to date on your system::
55+
is installed and up to date on your system:
5656

5757
```sh title="shell"
5858
python3 -m pip install -U tox
@@ -66,7 +66,7 @@ Documentation
6666
-------------
6767

6868
The StagPy documentation is built with [MkDocs](https://www.mkdocs.org/). To
69-
build it locally, install the needed packages::
69+
build it locally, install the needed packages:
7070

7171
```sh title="shell"
7272
python3 -m pip install -r docs/requirements.txt

docs/user-guide/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Command line tool
1313
-----------------
1414

1515
The various processing capabilities of StagPy are organized in subcommands.
16-
This means a minimal call to StagPy is as follow::
16+
This means a minimal call to StagPy is as follow:
1717

1818
```sh title="shell"
1919
stagpy <subcommand>
@@ -35,7 +35,7 @@ You can run `stagpy --help` (or `stagpy -h`) to display a help message
3535
describing those subcommands. You can also run `stagpy <subcommand> --help`
3636
to have some help on the available options for one particular sub command.
3737

38-
A simple example would be::
38+
A simple example would be:
3939

4040
```sh title="shell"
4141
stagpy field -p path/to/run/ -o T-p -s 42
@@ -84,7 +84,7 @@ output data. This allows you to write your own scripts to do some specific
8484
processings that aren't implemented in StagPy.
8585

8686
The interface is wrapped in the [`StagyyData`][stagpy.stagyydata.StagyyData] class.
87-
Instantiating and using this class is rather simple::
87+
Instantiating and using this class is rather simple:
8888

8989
```py
9090
from stagpy.stagyydata import StagyyData
@@ -123,7 +123,7 @@ can specify which style to use with `plot.mplstyle`, available in the command
123123
line interface with the `--mplstyle` option. You can specify a
124124
comma-separated list to combine several styles. For example, if you want a
125125
dark-background figure with a font size adapted for slides, you can use the
126-
following command::
126+
following command:
127127

128128
```sh title="shell"
129129
stagpy field --mplstyle='dark_background,stagpy-slides'

docs/user-guide/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ stagpy config --create
4646

4747
You can enable command-line auto-completion if you use either bash or zsh.
4848

49-
For bash::
49+
For bash:
5050

5151
```sh title="shell"
5252
# adapt path as appropriate for your system

docs/user-guide/stagyydata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sdat = StagyyData(Path("path/to/run/"))
1515
```
1616

1717
where `path/to/run/` is the path towards the directory containing your run
18-
(where the ``par`` file is). This path can be absolute or relative to the
18+
(where the `par` file is). This path can be absolute or relative to the
1919
current working directory.
2020

2121
Snapshots and time steps
@@ -146,7 +146,7 @@ attributes defining the geometry of the problem.
146146

147147
`cartesian`, `curvilinear`, `cylindrical`, `spherical` and `yinyang` booleans
148148
define the shape of the domain (`curvilinear` being the opposite of
149-
`cartesian`, ``True`` if `cylindrical` or `spherical` is ``True``).
149+
`cartesian`, `True` if `cylindrical` or `spherical` is `True`).
150150

151151
`twod_xz`, `twod_yz`, `twod` and `threed` booleans indicate the number of
152152
spatial dimensions in the simulation. Note that fields are always four

stagpy/parfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ def _update(self, par_new: StagyyPar) -> None:
4646

4747
@staticmethod
4848
def from_main_par(parfile: Path) -> StagyyPar:
49-
"""Read StagYY namelist ``parfile``.
49+
"""Read StagYY namelist `parfile`.
5050
5151
The namelist is populated in order with:
5252
53-
- ``par_name_defaultparameters`` if it is defined in ``parfile``;
54-
- ``par_file`` itself;
55-
- ``parameters.dat`` if it can be found in the StagYY output directories.
53+
- `par_name_defaultparameters` if it is defined in `parfile`;
54+
- `par_file` itself;
55+
- `parameters.dat` if it can be found in the StagYY output directories.
5656
"""
5757
root = parfile.parent
5858
par_main = StagyyPar._from_file(parfile)

stagpy/stagyydata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ class Steps:
274274
275275
The `StagyyData.steps` attribute is an instance of this class.
276276
Time steps (which are [`Step`][stagpy.step.Step] instances) can be
277-
accessed with the item accessor::
277+
accessed with the item accessor:
278278
279279
```py
280280
sdat = StagyyData(Path("path/to/run"))
@@ -385,7 +385,7 @@ class Snaps(Steps):
385385
386386
The `StagyyData.snaps` attribute is an instance of this class.
387387
Snapshots (which are [`Step`][stagpy.step.Step] instances) can be accessed
388-
with the item accessor::
388+
with the item accessor:
389389
390390
```py
391391
sdat = StagyyData(Path("path/to/run"))
@@ -600,7 +600,7 @@ def filter(
600600
601601
Note that filters are only resolved when the view is iterated.
602602
Successive calls to :meth:`filter` compose. For example, with this
603-
code::
603+
code:
604604
605605
```py
606606
view = sdat.steps[500:].filter(rprofs=True, fields=["T"])

0 commit comments

Comments
 (0)