Skip to content

Commit

Permalink
Update conf.py (uxlfoundation#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
aepanchi authored Mar 22, 2022
1 parent efea993 commit 3859d11
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/GSG/intro_gsg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ to be executed simultaneously.
Here you can see one of the possible executions of tasks by threads.

.. figure:: /GSG/Images/how-oneTBB-works.png
:scale: 100%
:scale: 70%
:align: center

Use oneTBB to write scalable applications that:
Expand Down
26 changes: 17 additions & 9 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,22 @@
#

html_theme = 'sphinx_book_theme'
html_theme_options = {
'repository_url': 'https://github.com/oneapi-src/oneTBB',
'path_to_docs': 'doc/main',
'use_issues_button': True,
'use_edit_page_button': True,
'repository_branch': 'master',
'extra_footer': '<p align="right"><a href="https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html">Cookies</a></p>'
}

if BUILD_TYPE == 'dita':
html_theme_options = {
'repository_url': 'https://github.com/oneapi-src/oneTBB',
'path_to_docs': 'doc',
'repository_branch': 'master'
}
else:
html_theme_options = {
'repository_url': 'https://github.com/oneapi-src/oneTBB',
'path_to_docs': 'doc/main',
'use_issues_button': True,
'use_edit_page_button': True,
'repository_branch': 'master',
'extra_footer': '<p align="right"><a href="https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html">Cookies</a></p>'
}


# Add any paths that contain custom static files (such as style sheets) here,
Expand All @@ -146,8 +153,9 @@
}
else:
html_js_files = ['custom.js']
html_logo = '_static/oneAPI-rgb-rev-100.png'


html_logo = '_static/oneAPI-rgb-rev-100.png'
html_favicon = '_static/favicons.png'

# Custom sidebar templates, must be a dictionary that maps document names
Expand Down

0 comments on commit 3859d11

Please sign in to comment.