Skip to content

Commit

Permalink
Update doc examples and citation sections (#82)
Browse files Browse the repository at this point in the history
* update examples section + remove notebook example

* update citation section (add refs)

* remove nbsphinx dependency

* forgot to remove nbsphinx from conf.py
  • Loading branch information
benbovy committed Dec 16, 2019
1 parent e5db463 commit a023af3
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2,391 deletions.
12 changes: 10 additions & 2 deletions doc/citation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _citation:

Citation
========
Citation & References
=====================

If you want to use and cite xarray-simlab in a scientific publication,
we provide citations and DOIs for specific versions via Zenodo. Click
Expand All @@ -10,3 +10,11 @@ of xarray-simlab.

.. image:: https://zenodo.org/badge/93938479.svg
:target: https://zenodo.org/badge/latestdoi/93938479

xarray-simlab has been used in the following publications (please reach us if
you'd like to add a publication to the list below):

- Kaandorp, V.P., Doornenbal, P.J., Kooi, H., Peter Broers, H., de Louw,
P.G.B., 2019. Temperature buffering by groundwater in ecologically valuable
lowland streams under current and future climate conditions. Journal of
Hydrology X 3, 100031. https://doi.org/10.1016/j.hydroa.2019.100031
1 change: 0 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
'sphinx.ext.todo',
'IPython.sphinxext.ipython_directive',
'IPython.sphinxext.ipython_console_highlighting',
'nbsphinx',
]

extlinks = {
Expand Down
1 change: 0 additions & 1 deletion doc/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ dependencies:
- python-graphviz
- nbconvert=5.6.0
- sphinx=1.8.5
- nbsphinx=0.4.2
- pandoc=2.7.3
25 changes: 17 additions & 8 deletions doc/examples.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
.. _examples:

Examples
========
Examples & Related Projects
===========================

An example of simple advection is given in the user guide
sections. Here below are more advanced examples of using
xarray-simlab.
Basic examples
--------------

.. toctree::
:maxdepth: 2
Some basic examples can be found in this documentation, e.g.,

examples/landscape-evolution-model
- A minimal example, based on the Game of Life, shown in :doc:`about`.
- An example of simple advection shown in the user guide (see
:doc:`create_model` and :doc:`run_model`).

Related projects
----------------

More detailled examples can be found in 3rd-party projects built on top of
xarray-simlab (please tell us if you want to add your project to the list
below):

- `fastscape <https://fastscape.readthedocs.io>`_: landscape evolution modeling.
2,379 changes: 0 additions & 2,379 deletions doc/examples/landscape-evolution-model.ipynb

This file was deleted.

0 comments on commit a023af3

Please sign in to comment.