Skip to content

Commit 0f0e786

Browse files
committed
adding repository button
1 parent ecd2a2b commit 0f0e786

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@
7979

8080
html_theme_options = {
8181
"single_page": True,
82+
"repository_url": "https://github.com/executablebooks/sphinx-togglebutton",
83+
"use_repository_button": True,
84+
"use_issues_button": True,
85+
"use_edit_page_button": True,
8286
}
8387

8488
# Add any paths that contain custom static files (such as style sheets) here,

sphinx_togglebutton/_static/togglebutton.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ var initToggleItems = () => {
3636
var toggleHidden = (button) => {
3737
target = button.dataset['target']
3838
var itemToToggle = document.getElementById(target);
39-
console.log(itemToToggle)
4039
if (itemToToggle.classList.contains("toggle-hidden")) {
4140
itemToToggle.classList.remove("toggle-hidden");
4241
button.classList.remove("toggle-button-hidden");

0 commit comments

Comments
 (0)