Skip to content

Commit

Permalink
Doc tweaks (#75)
Browse files Browse the repository at this point in the history
* some doc tweaks

* change github pr/issue link prefix
  • Loading branch information
benbovy committed Dec 13, 2019
1 parent 5fbf5d0 commit 45c2f71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ by Jake VanderPlas.
'init': Glider})
3. Create an input ``xarray.Dataset``, run the model and get an output
``Dataset``:
``xarray.Dataset``:

.. code-block:: python
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
]

extlinks = {
'issue': ('https://github.com/benbovy/xarray-simlab/issues/%s', 'GH'),
'pull': ('https://github.com/benbovy/xarray-simlab/pull/%s', 'PR')
'issue': ('https://github.com/benbovy/xarray-simlab/issues/%s', '#'),
'pull': ('https://github.com/benbovy/xarray-simlab/pull/%s', '#')
}

autosummary_generate = True
Expand Down
8 changes: 4 additions & 4 deletions xsimlab/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,10 @@ def process(maybe_cls=None, autodoc=False):
A process class usually implements:
- An interface as a set of variables defined as class attributes
(see :func:`variable`, :func:`on_demand`, :func:`foreign` and
:func:`group`). This decorator automatically adds properties to
get/set values for these variables.
- An interface as a set of variables defined as class attributes (see
:func:`variable`, :func:`on_demand`, :func:`foreign` and :func:`group`).
When the class is used within a :class:`Model` object, this decorator
automatically adds properties to get/set values for these variables.
- One or more methods among ``initialize()``, ``run_step()``,
``finalize_step()`` and ``finalize()``, which are called at different
Expand Down

0 comments on commit 45c2f71

Please sign in to comment.