Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospat committed Jun 14, 2023
1 parent 4f55092 commit 3d56ed7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@

import sys, os
docs_italia_theme = __import__("docs_italia_theme")
html_theme = "docs_italia_theme"
html_theme_path = [docs_italia_theme.get_html_theme_path()]

from recommonmark.transform import AutoStructify
from recommonmark.parser import CommonMarkParser

Expand Down Expand Up @@ -115,7 +112,8 @@ def setup(app):


# -- Options for HTML output ----------------------------------------------
html_theme = 'docs-italia-theme'

html_theme = 'docs_italia_theme'

html_theme_path = [docs_italia_theme.get_html_theme_path()]

Expand All @@ -133,7 +131,7 @@ def setup(app):
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
html_theme = 'docs-italia-theme'
html_theme = 'docs_italia_theme'
#html_theme_path = ["themes", ]
else:
# Override default css to get a larger width for ReadTheDoc build
Expand Down

0 comments on commit 3d56ed7

Please sign in to comment.