diff --git a/docs/api_Examples.rst b/docs/api_Examples.rst new file mode 100644 index 00000000..214dd8e1 --- /dev/null +++ b/docs/api_Examples.rst @@ -0,0 +1,11 @@ +.. _api_Examples: + +Examples +******** + +Forward problem +=============== + +* `Example 1: Direct Current `_ +* `Example 2: Seismic-Acoustic `_ + diff --git a/docs/conf.py b/docs/conf.py index ab6740b5..161c663e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -94,7 +94,13 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +try: + import sphinx_rtd_theme + html_theme = 'sphinx_rtd_theme' + html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + pass +except Exception, e: + html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/index.rst b/docs/index.rst index 7fc4bae9..628a079b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -102,3 +102,10 @@ Project Index & Search * :ref:`modindex` * :ref:`search` +Examples +******** + +.. toctree:: + :maxdepth: 2 + + api_Examples