Skip to content

Commit

Permalink
Update conf.py (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
aepanchi authored Oct 1, 2021
1 parent a8206f8 commit b3d63b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# -- Project information -----------------------------------------------------

if BUILD_TYPE == 'oneapi':
if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita':
project = u'Intel® oneAPI Threading Building Blocks (oneTBB)'
else:
project = u'oneAPI Threading Building Blocks (oneTBB)'
Expand Down Expand Up @@ -90,7 +90,7 @@
# Syntax highlighting for the :: directive
highlight_language = 'cpp'

if BUILD_TYPE == 'oneapi':
if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita':
rst_prolog = """
.. |full_name| replace:: Intel\ |reg|\ oneAPI Threading Building Blocks (oneTBB)
.. |short_name| replace:: oneTBB
Expand Down Expand Up @@ -120,7 +120,7 @@
# further. For a list of options available for each theme, see the
# documentation.
#
if BUILD_TYPE == 'oneapi':
if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita':
html_theme = 'sphinx_rtd_theme'
else:
html_theme = 'sphinx_book_theme'
Expand All @@ -140,7 +140,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

if BUILD_TYPE == 'oneapi':
if BUILD_TYPE == 'oneapi' or BUILD_TYPE == 'dita':
html_context = {
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
Expand Down

0 comments on commit b3d63b7

Please sign in to comment.