@@ -51,9 +51,11 @@ def whereis(binary):
51
51
# -- Project information -----------------------------------------------------
52
52
53
53
project = 'oneDNN'
54
- copyright = '2016-2024 Intel Corporation'
54
+ copyright = '2016-2025 Intel Corporation'
55
55
author = ''
56
56
57
+ release = os .environ .get ("PROJECT_VERSION" , "unknown" )
58
+
57
59
# -- General configuration ---------------------------------------------------
58
60
59
61
# Add any Sphinx extension module names here, as strings. They can be
@@ -116,6 +118,8 @@ def whereis(binary):
116
118
# Add any paths that contain templates here, relative to this directory.
117
119
templates_path = ['_templates' ]
118
120
121
+ source_suffix = '.rst'
122
+
119
123
# List of patterns, relative to source directory, that match files and
120
124
# directories to ignore when looking for source files.
121
125
# This pattern also affects html_static_path and html_extra_path.
@@ -135,13 +139,20 @@ def whereis(binary):
135
139
html_static_path = ['_static' ]
136
140
#html_js_files = [('dnnl.js', {'defer': 'defer'})]
137
141
142
+ html_logo = '_static/oneAPI-rgb-rev-100.png'
143
+ html_favicon = '_static/favicons.png'
144
+
138
145
html_theme_options = {
139
146
"repository_url" : "https://github.com/oneapi-src/oneDNN" ,
140
- "repository_branch" : "master " ,
147
+ "repository_branch" : "main " ,
141
148
"use_repository_button" : True ,
142
- "use_download_button" : False
149
+ "use_download_button" : True ,
150
+ "path_to_docs" : "doc" ,
151
+ "use_issues_button" : True
143
152
}
144
153
154
+ html_theme_options ["logo" ] = {"text" : "oneDNN Documentation\n " + release }
155
+
145
156
mathjax3_config = {
146
157
'tex' : {
147
158
'macros' : {
0 commit comments