Skip to content

Commit

Permalink
Merge pull request #200 from jrleeman/doc_enhancements
Browse files Browse the repository at this point in the history
Doc enhancements
  • Loading branch information
dopplershift authored Mar 29, 2018
2 parents f4a42a7 + c270126 commit e99953a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Binary file added docs/_static/siphon_150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/siphon_150x150_white_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
'sphinx.ext.intersphinx',
'sphinx.ext.mathjax',
'sphinx.ext.napoleon',
'sphinx_gallery.gen_gallery'
'sphinx_gallery.gen_gallery',
'sphinx.ext.viewcode'
]

mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
Expand All @@ -60,7 +61,9 @@
'examples_dirs': ['../examples'],
'gallery_dirs': ['examples'],
'filename_pattern': '/',
'backreferences_dir': 'api/generated'
'backreferences_dir': 'api/generated',
'default_thumb_file': os.path.join('_static', 'siphon_150x150_white_bg.png'),
'abort_on_example_error': True
}

source_parsers = {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. image:: _static/tds-logo.png
.. image:: _static/siphon_150x150.png
:width: 150 px
:align: left

Expand Down

0 comments on commit e99953a

Please sign in to comment.