Skip to content

Commit

Permalink
Merge pull request #261 from snek5000/fix/doc/ref-mesh_gen
Browse files Browse the repository at this point in the history
Fix documention after changes in Nek doc (ref tools_genbox)
  • Loading branch information
paugier committed Jan 2, 2023
2 parents 0891ed1 + 6dab74a commit 1bbcd19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/snek5000/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def next_power(value, base=2):


class Operators:
"""Container for parameters and writing :ref:`box <nek:mesh_gen>` and
"""Container for parameters and writing :ref:`box <nek:tools_genbox>` and
:ref:`SIZE <nek:case_files_size>` files.
.. note:: Some values are not available as parameters and instead
Expand Down
2 changes: 1 addition & 1 deletion src/snek5000/output/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def write_box(self, template):
"""Write <case name>.box file from box.j2 template.
.. seealso::
:ref:`nek:mesh_gen`
:ref:`nek:tools_genbox`
"""
if mpi.rank == 0:
Expand Down
2 changes: 1 addition & 1 deletion src/snek5000/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- ``box.j2``: See also
:any:`snek5000.operators.Operators.write_box`,
:any:`snek5000.output.base.Output.write_box`.
:ref:`nek:mesh_gen`
:ref:`nek:tools_genbox`
.. literalinclude:: ../../src/snek5000/resources/box.j2
:language: jinja
Expand Down

0 comments on commit 1bbcd19

Please sign in to comment.