-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
86 lines (77 loc) · 2.31 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"""Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
"""
# pylint: disable=invalid-name,redefined-builtin
import os
import sys
sys.path.append(os.path.abspath('python/python-basic-cert/reverse_and_swap'))
sys.path.append(os.path.abspath('python/python-basic-cert/implement_multiset'))
sys.path.append(os.path.abspath('python/simple_array_sum'))
sys.path.append(os.path.abspath('python/compare_the_triplets'))
author = 'Xander Harris'
autoyaml_root = "."
autoyaml_doc_delimiter = "###"
autoyaml_comment = "#"
autoyaml_level = 10
autoyaml_safe_loader = True
copyright = '2024, Xander Harris'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
exclude_patterns = [
'_build',
'Thumbs.db',
'.DS_Store',
'.venv/*',
'.tmp/*',
'.pytest_cache/*',
]
extensions = [
'myst_parser',
'sphinx_design',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.githubpages',
'sphinx.ext.intersphinx',
'sphinxcontrib.autoyaml',
'sphinxcontrib.youtube',
]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_logo = '_static/img/hr-logo.svg'
html_favicon = '_static/img/hr-logo.svg'
html_static_path = ['_static']
html_theme = 'sphinx_book_theme'
myst_dmath_double_inline=True
myst_enable_extensions = [
"amsmath",
"attrs_block",
"attrs_inline",
"colon_fence",
"deflist",
"dollarmath",
"fieldlist",
"html_admonition",
"html_image",
"linkify",
"replacements",
"smartquotes",
"strikethrough",
"substitution",
"tasklist",
]
myst_title_to_header = True
project = 'Hacker Rank Challenges'
rst_epilog = """
.. sectionauthor:: Xander Harris <[email protected]>
"""
release = '0.0.1'
show_authors=True
source_suffix = {
'.md': 'markdown',
'.rst': 'restructuredtext'
}
templates_path = ['_templates']