Skip to content

Commit

Permalink
docs(logo-fix): Added the assets with ref to dark/light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyamdogra authored and ankitrgadiya committed Dec 27, 2021
1 parent 837352b commit dc9ddda
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/source/_static/css/rio-sphinx.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ dl.py.method > dd {

.sidebar-tree label {
display: none;
}

.sidebar-logo {
padding: 1rem;
}
Binary file added docs/source/_static/logo-dark-mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/logo-light-mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@
todo_include_todos = False

html_theme = 'furo'
html_logo = 'logo.png'
html_favicon = 'favicon.ico'
html_static_path = ['_static']
html_theme_options = {
"light_logo": "logo-light-mode.png",
"dark_logo": "logo-dark-mode.png",
}
html_css_files = ['css/rio-sphinx.css']
html_js_files = ['js/rio-sphinx.js']
htmlhelp_basename = 'RIOdoc'
man_pages = [
(master_doc, 'cli', u'Rapyuta IO CLI',
[author], 1)
[author], 1)
]
intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
Expand Down
Binary file removed docs/source/logo.png
Binary file not shown.

0 comments on commit dc9ddda

Please sign in to comment.