Skip to content

Commit

Permalink
fix path to source for building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
whitews committed Mar 29, 2024
1 parent 1040bf6 commit 5934bde
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../src'))
else:
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../src'))


class Mock(MagicMock):
Expand Down Expand Up @@ -71,10 +71,10 @@ def __getattr__(cls, name):
html_theme = 'sphinx_rtd_theme'

html_theme_options = {
# 'logo': 'flowutils.png',
'github_user': 'whitews',
'github_repo': 'flowio',
'github_banner': True
# 'logo': 'logo.png',
# 'github_user': 'whitews',
# 'github_repo': 'flowio',
# 'github_banner': True
}

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down

0 comments on commit 5934bde

Please sign in to comment.