Skip to content

Commit

Permalink
Hook up to RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Apr 18, 2016
1 parent 6b12b15 commit e734c73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
5 changes: 5 additions & 0 deletions doc/rtd-pip-requirements
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
numpy
matplotlib
astropy-helpers
astropy
scipy
11 changes: 4 additions & 7 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# serve to show the default.

import sys, os
from stsci.sphinxext.conf import *

# work around that annoying warning that pysynphot always prints
import warnings
Expand All @@ -30,11 +29,9 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions += [
extensions = [
'sphinx.ext.autodoc',
'numpydoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'sphinx.ext.napoleon',
'sphinx.ext.intersphinx',
'sphinx.ext.pngmath']

Expand Down Expand Up @@ -81,7 +78,7 @@
exclude_trees = []

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
default_role = py:obj

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
Expand All @@ -105,7 +102,7 @@

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
#html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# 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
Expand Down

0 comments on commit e734c73

Please sign in to comment.