Skip to content

Commit

Permalink
Fixing Read the Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbayarri committed Oct 30, 2023
1 parent 8e29047 commit 4050b07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion biobb_io/docs/source/_static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ a:visited { color:#9e8830; }

.highlight { background: #fffae4; }

.rst-content dl:not(.docutils) dt { background: #d5f0f1; color: #29b3b5; border-top: solid 3px #29b3b5; }
.rst-content dl:not(.docutils) dt { background: #d5f0f1!important; color: #29b3b5!important; border-top: solid 3px #29b3b5!important; }
.rst-content .viewcode-link, .rst-content .viewcode-back { color: #dcbc3c; }
.rst-versions .rst-current-version { color: #29b3b5; }

Expand Down
6 changes: 3 additions & 3 deletions biobb_io/docs/source/_static/theme_overrides.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$(document).ready(function() {
var path = '';

if($('.icon.icon-home').attr('href') == '../index.html') path = '../';
else if($('.icon.icon-home').attr('href') == '../../index.html') path = '../../';
if($('.wy-side-nav-search .icon.icon-home').attr('href') == '../index.html') path = '../';
else if($('.wy-side-nav-search .icon.icon-home').attr('href') == '../../index.html') path = '../../';

$('.icon.icon-home').html('<img src="' + path + '_static/logo.png" class="logo" alt="Logo">');
$('.wy-side-nav-search .icon.icon-home').html('<img src="' + path + '_static/logo.png" class="logo" alt="Logo">');
});
2 changes: 1 addition & 1 deletion biobb_io/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

# -- Options for HTML output ----------------------------------------------
def setup(app):
app.add_stylesheet('theme_overrides.css')
app.add_css_file('theme_overrides.css')
app.add_js_file('theme_overrides.js')


Expand Down

0 comments on commit 4050b07

Please sign in to comment.