From 35e6f076c01ec9f2d640c239db0450ee46e03fa2 Mon Sep 17 00:00:00 2001 From: SEOGI KANG Date: Fri, 11 Jul 2014 22:41:26 -0700 Subject: [PATCH] Upload notebooks for DC and Seismic Examples - Scipy2014 --- docs/api_Examples.rst | 7 ++++++- docs/conf.py | 8 +++++++- docs/index.rst | 5 ++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/api_Examples.rst b/docs/api_Examples.rst index d508a641..214dd8e1 100644 --- a/docs/api_Examples.rst +++ b/docs/api_Examples.rst @@ -2,5 +2,10 @@ Examples ******** -* `Forward Problem: Acoustic Wave Equation `_ + +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 acd4a329..628a079b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -105,4 +105,7 @@ Project Index & Search Examples ******** -* Examples +.. toctree:: + :maxdepth: 2 + + api_Examples