Skip to content

Commit

Permalink
Attempt a Python path hack to get ReadTheDocs build working
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed Oct 22, 2024
1 parent 1472b99 commit fc784fd
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 fc784fd

Please sign in to comment.