38 lines
1014 B
Python
38 lines
1014 B
Python
|
|
# This script exists solely for generating documentation using Sphinx.
|
||
|
|
import sphinx_rtd_theme
|
||
|
|
import datetime
|
||
|
|
import sys
|
||
|
|
import os
|
||
|
|
|
||
|
|
console_utils_path, folder = os.path.split(os.getcwd())
|
||
|
|
console_utils_path = os.path.join(console_utils_path, 'ConsoleUtils')
|
||
|
|
|
||
|
|
sys.path.append(os.getcwd())
|
||
|
|
sys.path.append(console_utils_path)
|
||
|
|
sys.path.append(r'C:\Users\chris\Documents\Code\Git\scorewalker-utils\RunScoreWalker')
|
||
|
|
|
||
|
|
current_date_time = datetime.datetime.now().strftime('%Y.%m.%d')
|
||
|
|
|
||
|
|
show_authors = True
|
||
|
|
|
||
|
|
extensions = ['sphinx.ext.autodoc']
|
||
|
|
|
||
|
|
autoclass_content = 'both'
|
||
|
|
pygments_style = 'sphinx'
|
||
|
|
|
||
|
|
html_theme = 'sphinx_rtd_theme'
|
||
|
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||
|
|
|
||
|
|
html_title = 'Run ScoreWalker Tool-set'
|
||
|
|
raw_enabled = True
|
||
|
|
|
||
|
|
html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'], }
|
||
|
|
|
||
|
|
project = u'Run ScoreWalker'
|
||
|
|
copyright = u'2017, Sequence Logic, LLC'
|
||
|
|
version = current_date_time
|
||
|
|
release = '1.%s' % version
|
||
|
|
|
||
|
|
source_suffix = '.rst'
|
||
|
|
master_doc = 'index'
|