|
29 | 29 | project = u'Intel® oneAPI Threading Building Blocks (oneTBB)'
|
30 | 30 | else:
|
31 | 31 | project = u'oneTBB'
|
32 |
| -copyright = u'2021, Intel Corporation' |
| 32 | +copyright = u'2022, Intel Corporation' |
33 | 33 | author = u'Intel'
|
34 | 34 |
|
35 | 35 | # The short X.Y version
|
|
60 | 60 | ]
|
61 | 61 |
|
62 | 62 | # Add any paths that contain templates here, relative to this directory.
|
63 |
| -templates_path = ['_templates'] |
| 63 | +templates_path = ['main/_templates'] |
64 | 64 |
|
65 | 65 | # The suffix(es) of source filenames.
|
66 | 66 | # You can specify multiple suffix as a list of string:
|
|
120 | 120 | # further. For a list of options available for each theme, see the
|
121 | 121 | # documentation.
|
122 | 122 | #
|
123 |
| -if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita': |
124 |
| - html_theme = 'sphinx_rtd_theme' |
| 123 | + |
| 124 | +html_theme = 'sphinx_book_theme' |
| 125 | + |
| 126 | +if BUILD_TYPE == 'dita': |
| 127 | + html_theme_options = { |
| 128 | + 'repository_url': 'https://github.com/oneapi-src/oneTBB', |
| 129 | + 'path_to_docs': 'doc', |
| 130 | + 'repository_branch': 'master' |
| 131 | + } |
125 | 132 | else:
|
126 |
| - html_theme = 'sphinx_book_theme' |
127 | 133 | html_theme_options = {
|
128 |
| - 'repository_url': 'https://github.com/oneapi-src/oneTBB', |
129 |
| - 'path_to_docs': 'doc/main', |
130 |
| - 'use_issues_button': True, |
131 |
| - 'use_edit_page_button': True, |
132 |
| - 'repository_branch': 'master', |
133 |
| - 'extra_footer': '<p align="right"><a href="https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html">Cookies</a></p>' |
| 134 | + 'repository_url': 'https://github.com/oneapi-src/oneTBB', |
| 135 | + 'path_to_docs': 'doc/main', |
| 136 | + 'use_issues_button': True, |
| 137 | + 'use_edit_page_button': True, |
| 138 | + 'repository_branch': 'master', |
| 139 | + 'extra_footer': '<p align="right"><a href="https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html">Cookies</a></p>' |
134 | 140 | }
|
135 | 141 |
|
136 | 142 |
|
137 |
| - |
138 | 143 | # Add any paths that contain custom static files (such as style sheets) here,
|
139 | 144 | # relative to this directory. They are copied after the builtin static files,
|
140 | 145 | # so a file named "default.css" will overwrite the builtin "default.css".
|
|
148 | 153 | }
|
149 | 154 | else:
|
150 | 155 | html_js_files = ['custom.js']
|
151 |
| - html_logo = '_static/oneAPI-rgb-rev-100.png' |
| 156 | + |
152 | 157 |
|
| 158 | +html_logo = '_static/oneAPI-rgb-rev-100.png' |
153 | 159 | html_favicon = '_static/favicons.png'
|
154 | 160 |
|
155 | 161 | # Custom sidebar templates, must be a dictionary that maps document names
|
|
0 commit comments