Skip to content

Commit

Permalink
Merge pull request #389 from xylar/fix_docstrings_and_docs
Browse files Browse the repository at this point in the history
Many fixes to the documentation
  • Loading branch information
xylar authored May 13, 2022
2 parents 67e8b48 + af4205c commit c8f1b60
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/developers_guide/landice/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ kangerlussuaq
.. currentmodule:: compass.landice.tests.kangerlussuaq

.. autosummary::
:toctrr: generate/
:toctree: generated/

Kangerlussuaq

Expand All @@ -250,10 +250,10 @@ kangerlussuaq
koge_bugt_s
~~~~~~~~~~~

.. currentmodule:: compass.landice.tests.boge_bugt_s
.. currentmodule:: compass.landice.tests.koge_bugt_s

.. autosummary::
:toctrr: generate/
:toctree: generated/

KogeBugtS

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _dev_landice_kangerlussuaq:

kangerlussuaq
========
=============

The ``kangerlussuaq`` test group (:py:class:`compass.landice.tests.kangerlussuaq.Kangerlussuaq`)
creates a variable resolution (default 1-10 km) mesh for a regional domain of Kangerlussuaq Glacier
Expand Down
2 changes: 1 addition & 1 deletion docs/developers_guide/landice/test_groups/koge_bugt_s.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _dev_landice_koge_bugt_s:

koge_bugt_s
========
===========

The ``koge_bugt_s`` test group (:py:class:`compass.landice.tests.koge_bugt_s.KogeBugtS`)
creates a variable resolution (default 500m to 4km) mesh for a regional domain of Koge Bugt S, Greenland
Expand Down
4 changes: 2 additions & 2 deletions docs/users_guide/landice/test_groups/kangerlussuaq.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _landice_kangerlussuaq:

kangerlussuaq
========
=============

The ``landice/kangerlussuaq`` test group includes a test case for creating a
mesh for Kangerlussuaq Glacier, Greenland. The optimization for basal friction
Expand Down Expand Up @@ -47,7 +47,7 @@ the mesh generation options are adjusted through the config file.
high_dist = 1.e5
# distance within which cell spacing = min_spac (meters)
low_dist = 1.e4
# mesh density functions
use_speed = True
use_dist_to_grounding_line = False
Expand Down
4 changes: 2 additions & 2 deletions docs/users_guide/landice/test_groups/koge_bugt_s.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _landice_koge_bugt_s:

koge_bugt_s
========
===========

The ``landice/koge_bugt_s`` test group includes a test case for creating a
mesh for Koge Bugt S, Greenland. The optimization for basal friction
Expand Down Expand Up @@ -47,7 +47,7 @@ the mesh generation options are adjusted through the config file.
high_dist = 1.e5
# distance within which cell spacing = min_spac (meters)
low_dist = 1.e4
# mesh density functions
use_speed = True
use_dist_to_grounding_line = False
Expand Down
2 changes: 2 additions & 0 deletions docs/users_guide/quick_start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ or the number of nodes (scaled according to the number of cores require by the
test cases by default).

.. code-block:: bash
#!/bin/bash
#SBATCH --job-name=compass
#SBATCH --account=condo
Expand All @@ -367,6 +368,7 @@ You can also use config options, passed to ``compass suite`` or
The following are the config options that are relevant to job scripts:

.. code-block:: cfg
# The parallel section describes options related to running jobs in parallel
[parallel]
Expand Down

0 comments on commit c8f1b60

Please sign in to comment.