Skip to content

Commit

Permalink
Docs: Switches over to QCArchive theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dgasmith committed Mar 3, 2019
1 parent a0e9703 commit 9c26cc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ dependencies:
- sphinx_rtd_theme
- sphinx-automodapi
- graphviz

- pip:
- git+git://github.com/MolSSI/qcarchive-sphinx-theme#egg=qcarchive_sphinx_theme
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
try:
import qcarchive_sphinx_theme
html_theme = 'qcarchive_sphinx_theme'
except ModuleNotFoundError:
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 9c26cc5

Please sign in to comment.