Skip to content

Commit

Permalink
docs: Disable transition between images
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaphoenix committed Jun 28, 2023
1 parent 1ea334f commit 6ec9c8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/_static/js/sphinxcontrib-images.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Disable white flash between image group boxes (annoying for comparison reasons)
lightbox.option({
"imageFadeDuration": 0,
"wrapAround": false
});
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/brands.min.css',
]

html_js_files = [
'js/sphinxcontrib-images.js'
]

html_sidebars = {
'**': [
'sidebar/scroll-start.html',
Expand Down

0 comments on commit 6ec9c8b

Please sign in to comment.