Skip to content

Commit

Permalink
revert changes to config and redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklise committed Aug 31, 2023
1 parent f89c874 commit 1e6d3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 2 additions & 5 deletions documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,9 @@
# The encoding of source files.
#source_encoding = 'utf-8-sig'

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

# The master toctree document.
master_doc = 'index'
if on_rtd:
master_doc = 'index_redirect'


# General information about the project.
project = u'WNTR'
copyright = u'2023 National Technology & Engineering Solutions of Sandia, LLC (NTESS)'
Expand Down Expand Up @@ -141,6 +137,7 @@
def setup(app):
app.add_css_file( "wntr.css")

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
Expand Down
7 changes: 0 additions & 7 deletions documentation/index_redirect.rst

This file was deleted.

0 comments on commit 1e6d3b7

Please sign in to comment.