import os
import sys
from recommonmark.transform import AutoStructify
import os.path
project = 'Pathmaster'
copyright = '2025, Justin Wayne Liles'
author = 'Justin Wayne Liles'
version = '0.2.7'
release = '0.2.7'
extensions = [
'recommonmark',
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
]
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'book', 'book.toml', 'theme']
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
def setup(app):
app.add_config_value('recommonmark_config', {
'auto_toc_tree_section': 'Contents',
'enable_eval_rst': True,
'enable_auto_doc_ref': True,
}, True)
app.add_transform(AutoStructify)
source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
}
master_doc = 'index'
import sys
sys.path.insert(0, os.path.abspath('./src'))
from recommonmark.parser import CommonMarkParser
source_parsers = {
'.md': CommonMarkParser,
}
html_extra_path = ['src/images']