summaryrefslogtreecommitdiffstats
path: root/docs/_static/debug.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:56:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:56:50 +0000
commit6637322c8ab1c5ff80a2b6ca59c9ba1d40aeba2c (patch)
tree04e41667e9eae835f5d88bda4f6d3f5c2664de01 /docs/_static/debug.js
parentInitial commit. (diff)
downloadsphinx-rtd-theme-6637322c8ab1c5ff80a2b6ca59c9ba1d40aeba2c.tar.xz
sphinx-rtd-theme-6637322c8ab1c5ff80a2b6ca59c9ba1d40aeba2c.zip
Adding upstream version 2.0.0+dfsg.upstream/2.0.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/_static/debug.js')
-rw-r--r--docs/_static/debug.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/_static/debug.js b/docs/_static/debug.js
new file mode 100644
index 0000000..338b241
--- /dev/null
+++ b/docs/_static/debug.js
@@ -0,0 +1,7 @@
+// Add debug actions to flyout menu
+
+$(function () {
+ $("[data-toggle='rst-debug-badge']").on("click", function () {
+ $("[data-toggle='rst-versions']").toggleClass("rst-badge");
+ });
+})