Skip to content

Commit

Permalink
* Updating conf.py to use absolute path of files relative to itself. …
Browse files Browse the repository at this point in the history
…This will hopefully fix the readthedocs issues of calling docs/conf.py rather than cd into docs and calling conf.
  • Loading branch information
jredmondson committed Dec 23, 2023
1 parent f8798c0 commit 7aaf138
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,23 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import subprocess
subprocess.call('cd .. ; doxygen', shell=True)
import os

# -- Project information -----------------------------------------------------

project = u'MADARA'
copyright = u'2018-2023, James Edmondson'
copyright = u'2018-2023, James Edmondson'
author = u'James Edmondson'

# The short X.Y version
version = u''
# The full version, including alpha/beta/rc tags
release = u'3.4.0'

subprocess.call('perl get_version.pl; doxygen Doxyfile_MADARA_NoGraphviz.dxy', shell=True)
script_path = os.path.dirname(os.path.abspath(__file__))

subprocess.call('perl ' + script_path + '/get_version.pl; doxygen ' + script_path + '/Doxyfile_MADARA_NoGraphviz.dxy', shell=True)


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 7aaf138

Please sign in to comment.