|
43 | 43 | # The short X.Y version |
44 | 44 | version = '2021' |
45 | 45 | # The full version, including alpha/beta/rc tags |
46 | | -release = '2021.2.1' |
| 46 | +release = '2021.4' |
47 | 47 |
|
48 | 48 |
|
49 | 49 | # -- General configuration --------------------------------------------------- |
|
96 | 96 | # a list of builtin themes. |
97 | 97 | # |
98 | 98 | #html_theme = 'alabaster' |
99 | | -html_theme = "sphinx_rtd_theme" |
100 | | -html_theme_options = { |
101 | | - "sidebarwidth": 30, |
102 | | - "nosidebar": False, |
103 | | -} |
| 99 | +html_theme = 'sphinx_book_theme' |
| 100 | +html_logo = '_static/oneAPI-rgb-rev-100.png' |
| 101 | +html_favicon = '_static/favicons.png' |
104 | 102 |
|
105 | 103 | # Theme options are theme-specific and customize the look and feel of a theme |
106 | 104 | # further. For a list of options available for each theme, see the |
107 | 105 | # documentation. |
108 | 106 | # |
109 | | -# html_theme_options = {} |
110 | 107 |
|
111 | | -# Add any paths that contain custom static files (such as style sheets) here, |
112 | | -# relative to this directory. They are copied after the builtin static files, |
113 | | -# so a file named "default.css" will overwrite the builtin "default.css". |
114 | | -html_static_path = ['_static'] |
| 108 | +cookie_link = ''' |
| 109 | + <p align="right"> |
| 110 | + <a href= |
| 111 | + "https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html"> |
| 112 | + Cookies |
| 113 | + </a> |
| 114 | + </p> |
| 115 | +''' |
115 | 116 |
|
116 | | -html_context = { |
117 | | - 'css_files': [ |
118 | | - '_static/style.css' |
119 | | - ] |
| 117 | +html_theme_options = { |
| 118 | + 'repository_url': 'https://github.com/intel/scikit-learn-intelex', |
| 119 | + 'path_to_docs': 'doc/sources', |
| 120 | + 'use_issues_button': True, |
| 121 | + 'use_edit_page_button': True, |
| 122 | + 'repository_branch': 'master', |
| 123 | + 'extra_footer': cookie_link |
120 | 124 | } |
121 | 125 |
|
122 | 126 |
|
123 | | -# Custom sidebar templates, must be a dictionary that maps document names |
124 | | -# to template names. |
125 | | -# |
126 | | -# The default sidebars (for documents that don't match any pattern) are |
127 | | -# defined by theme itself. Builtin themes are using these templates by |
128 | | -# default: ``['localtoc.html', 'relations.html', 'sourcelink.html', |
129 | | -# 'searchbox.html']``. |
130 | | -# |
131 | | -# html_sidebars = {} |
132 | | -html_sidebars = { |
133 | | - '**': [ |
134 | | - 'globaltoc.html', 'relations.html', |
135 | | - 'sourcelink.html', 'searchbox.html' |
136 | | - ] |
137 | | -} |
138 | | - |
| 127 | +# Add any paths that contain custom static files (such as style sheets) here, |
| 128 | +# relative to this directory. They are copied after the builtin static files, |
| 129 | +# so a file named "default.css" will overwrite the builtin "default.css". |
| 130 | +html_static_path = ['_static'] |
139 | 131 |
|
140 | 132 | # -- Options for HTMLHelp output --------------------------------------------- |
141 | 133 |
|
|
0 commit comments