Skip to content

Commit

Permalink
Attempt to fix RTD not showing some API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Feb 2, 2016
1 parent da344a6 commit cd16e7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,6 @@
}


# Set Ginga toolkit -- Need for widget imports to work
from ginga import toolkit as ginga_toolkit
ginga_toolkit.use('qt')


# a simple/non-configurable extension that generates the rst files for ipython
# notebooks
def notebooks_to_rst(app):
Expand Down
7 changes: 6 additions & 1 deletion stginga/plugins/local_plugin_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@
from astropy.utils.misc import JsonCustomEncoder

# GINGA
from ginga.gw.GwHelp import FileSelection
from ginga.gw import Widgets
from ginga.misc.Future import Future

# Need this for RTD to build successfully without Qt
try:
from ginga.gw.GwHelp import FileSelection
except ImportError:
pass

# STGINGA
from stginga import utils

Expand Down

0 comments on commit cd16e7e

Please sign in to comment.