Skip to content

Commit

Permalink
Make doc build work with newer Sphinx versions; closes #74
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-wagner committed Mar 29, 2018
1 parent 0b153f5 commit 608ef84
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 1,939 deletions.
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -58,7 +58,7 @@ regularization on meshes (1D, 2D, 3D) with regular or irregular arrangement are
available. There is flexible control of all inversion parameters. The default
inversion framework is based on the generalized Gauss-Newton method.

Please see :ref:`inversion tutorial<tut:inversion>` for examples and more
Please see :ref:`tut:inversion` for examples and more
details.

.. _sec:about_gimli_modelling:
Expand All @@ -79,7 +79,7 @@ The modelling capabilities of pyGIMLi inlcude:
* Triangle, Quads, Tetrahedron, Prism and Hexahedron, mixed meshes
* solver for elliptic problems (Helmholtz-type PDE)

Please see :ref:`modelling tutorial<tut:modelling>` for examples and more details.
Please see :ref:`tut:modelling` for examples and more details.

License
-------
Expand Down
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Expand Up @@ -83,7 +83,7 @@ add_custom_target(sphinxapi
COMMAND
cmake -E copy_if_different ${SPHINX_SRC_DIR}/doc/sidebar_gallery.py ${SPHINX_SRCBUILD_DIR}/doc
COMMAND
sphinx-autogen ${SPHINX_SRC_DIR}/doc/pygimliapi/index.rst -t ${SPHINX_SRC_DIR}/doc/_templates -o ${SPHINX_SRCBUILD_DIR}/doc/pygimliapi/_generated
sphinx-autogen -i ${SPHINX_SRC_DIR}/doc/pygimliapi/index.rst -t ${SPHINX_SRC_DIR}/doc/_templates -o ${SPHINX_SRCBUILD_DIR}/doc/pygimliapi/_generated
COMMENT
"Building pygimli api doc"
DEPENDS
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Expand Up @@ -53,7 +53,7 @@ clean:
rm -f _templates/gallery.html

api:
sphinx-autogen pygimliapi/index.rst -t _templates
sphinx-autogen -i pygimliapi/index.rst -t _templates

gallery:
python3 ./sidebar_gallery.py
Expand Down
112 changes: 0 additions & 112 deletions doc/_sphinx-ext/myexec_directive.py

This file was deleted.

175 changes: 0 additions & 175 deletions doc/_sphinx-ext/myliterate_directive.py

This file was deleted.

0 comments on commit 608ef84

Please sign in to comment.