Skip to content

Commit

Permalink
Clean up docs/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
natezb committed Dec 31, 2024
1 parent 5b5dbd8 commit dc99be7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
if not on_rtd:
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]


# Allow docs to build even without required modules
Expand Down Expand Up @@ -113,7 +112,7 @@ def setup(app):
# Load metadata from __about__.py
base_dir = os.path.join(os.path.dirname(__file__), os.pardir)
about = {}
with open(os.path.join(base_dir, 'instrumental', '__about__.py')) as f:
with open(os.path.join(base_dir, 'src', 'instrumental', '__about__.py')) as f:
exec(f.read(), about)

# General information about the project.
Expand Down Expand Up @@ -320,4 +319,4 @@ def setup(app):


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

0 comments on commit dc99be7

Please sign in to comment.