Skip to content

Commit

Permalink
Attempt a Python path hack to get ReadTheDocs build working (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt authored Oct 22, 2024
1 parent 1472b99 commit a4d1941
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
documentation root, use os.path.abspath to make it absolute, like shown here.
"""

import sys
from os.path import abspath, dirname

# Make sure we get the version of this copy of cmd2
sys.path.insert(1, dirname(dirname(abspath(__file__))))

# Import for custom theme from Read the Docs
import sphinx_rtd_theme

Expand Down

0 comments on commit a4d1941

Please sign in to comment.