Skip to content

Commit

Permalink
alabaster version and no treeview
Browse files Browse the repository at this point in the history
  • Loading branch information
svenevs committed Aug 1, 2018
1 parent 50924f0 commit c4f133d
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions docs/conf.py
Expand Up @@ -54,7 +54,6 @@
############################################################################
# Suggested optional arguments. #
############################################################################
"createTreeView": True,
"exhaleExecutesDoxygen": True,
"exhaleDoxygenStdin": textwrap.dedent('''
INPUT = ../include
Expand All @@ -67,10 +66,9 @@
############################################################################
# HTML Theme specific configurations. #
############################################################################
# Fix broken Sphinx RTD Theme 'Edit on GitHub' links
# Search for 'Edit on GitHub' on the FAQ:
# http://exhale.readthedocs.io/en/latest/faq.html
"pageLevelConfigMeta": ":github_url: https://github.com/svenevs/exhale-companion",
# The alabaster build of these docs exists to demonstrate why the tree view
# *SHOULD* be set to True ;)
"createTreeView": False,
############################################################################
# Main library page layout example configuration. #
############################################################################
Expand Down Expand Up @@ -220,22 +218,10 @@
# a list of builtin themes.
# [[[ begin theme marker ]]]
# The name of the Pygments (syntax highlighting) style to use.
# `sphinx` works very well with the RTD theme, but you can always change it
pygments_style = 'sphinx'

# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
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'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = 'alabaster'
# [[[ end theme marker ]]]

# NOTE: this is only here for me to auto-place sections of conf.py in the docs
# but isn't needed in producion releases
html_theme = 'sphinx_rtd_theme'

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
Expand Down

0 comments on commit c4f133d

Please sign in to comment.