-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
130 lines (104 loc) · 3.02 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# 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
# def setup(app):
# # (create a setup() function if you don't already have one;
# # or add to the existing setup() ...)
html_title = ' '
project = 'kuberada-Hands-on Learning'
# release = '2024'
html_show_copyright=True
html_show_sourcelink = False
html_show_sphinx = False
extensions = [
"myst_parser",
# "sphinx-social-previews",
"sphinxext.opengraph",
"sphinx_design",
"sphinx_comments"
]
comments_config = {
"utterances": {
"repo": "colossus06/kuberada-blog",
"optional": "config",
}
}
# -- Project information
# copyright = "2024, Kuberada"
author = "Gulcan Topcu"
ogp_site_url = "https://kuberada.devtechops.dev/"
ogp_type = "article"
ogp_image = "https://raw.githubusercontent.com/colossus06/kuberada-blog/main/images/mylogo.png"
ogp_use_first_image= True
ogp_enable_meta_description=True
ogp_social_cards = {
"enable": True,
"font": "Noto Sans CJK JP"
}
templates_path = ['_templates']
exclude_patterns = [
"tracking/**",
"venv",
"_build",
"Thumbs.db",
".DS_Store",
"*import_posts*",
"**/pandoc_ipynb/inputs/*",
"README.md",
"**/.ipynb_checkpoints/*",
"docs",
]
source_suffix = ['.rst', '.md']
html_favicon = 'images/favicon.png'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
copyright = "2024, Kuberada. All rights reserved"
html_logo= "images/kuberada.png"
html_theme = 'furo'
html_static_path = ['_static']
html_css_files = ["css/custom.css"]
html_theme_options = {
'navigation_with_keys': True,
"announcement": "Kuberada 💛 Hands-on Only 🏭",
"light_css_variables": {
# "font-stack": "Ubuntu, sans-serif",
# "font-stack--monospace": "Oswald, monospace",
"color-brand-primary": "#13306D",
"color-brand-content": "#b86767"
},
"dark_css_variables": {
# "font-stack": "Ubuntu, sans-serif",
# "font-stack--monospace": "Oswald, monospace",
"color-brand-primary": "#AC6BF6",
"color-brand-content": "#FFEBD8"
# #10CD23
},
}
html_js_files = [
'js/random_blue.js'
]
# These are options specifically for the Wagtail Theme.
myst_enable_extensions = [
"amsmath",
"attrs_inline",
"colon_fence",
"dollarmath",
"fieldlist",
"html_admonition",
"html_image",
"replacements",
"smartquotes",
"strikethrough",
"substitution",
"tasklist",
]
html_context = {
"display_github": False, # Add 'Edit on Github' link instead of 'View page source'
"last_updated": False,
"commit": False,
"default_mode": "light"
}
master_doc = 'index'