-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
42 lines (31 loc) · 1.23 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import os
import sys
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# 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.
# sys.path.insert(0, os.path.abspath('.'))
# -- Project information -----------------------------------------------------
project = 'Sphinx Template'
copyright = '2024, James Morse'
author = 'James Morse'
# -- General configuration ---------------------------------------------------
extensions = [
'recommonmark',
'sphinx_rtd_theme',
]
# Paths to look for files (here we include the project root and subdirectories)
source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
}
# The master toctree document.
master_doc = 'index'
# -- Options for HTML output -------------------------------------------------
html_theme = 'furo'
html_static_path = ['_static']
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and directories to ignore when looking for source files.
exclude_patterns = [
'lib/python3.12/site-packages/**',
'README.md',
]