Skip to content

Commit

Permalink
update for readthedocs support
Browse files Browse the repository at this point in the history
  • Loading branch information
engineerjoe440 committed Dec 17, 2023
1 parent 0cd7709 commit bd0b461
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions docsource/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,12 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import re
# import sys
# print("Build with:", sys.version)
# parent_dir = os.path.dirname(os.getcwd())
# initfile = os.path.join(parent_dir,'selprotopy','__init__.py')
# sys.path.insert(0,parent_dir)
# print(parent_dir)
# # Gather Version Information from Python File
# with open(initfile) as fh:
# file_str = fh.read()
# name = re.search('_name_ = \"(.*)\"', file_str).group(1)
# ver = re.search('_version_ = \"(.*)\"', file_str).group(1)
# # Version Breakdown:
# # MAJOR CHANGE . MINOR CHANGE . MICRO CHANGE
# print("Sphinx HTML Build For:",name," Version:",ver)
import os
import sys
print("Build with:", sys.version)
parent_dir = os.path.dirname(os.path.dirname(__file__))
sys.path.insert(0,parent_dir)
print(parent_dir)


# Verify Import
Expand Down

0 comments on commit bd0b461

Please sign in to comment.