We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9034a commit 3e5469eCopy full SHA for 3e5469e
doc/conf.py
@@ -282,6 +282,7 @@ def make_carousel_thumbs(app, exception):
282
def setup(app):
283
# to hide/show the prompt in code examples:
284
app.add_javascript('js/copybutton.js')
285
+ app.add_javascript('js/extra.js')
286
app.connect('build-finished', make_carousel_thumbs)
287
288
doc/themes/scikit-learn/static/js/extra.js
@@ -0,0 +1,12 @@
1
+// Miscellaneous enhancements to doc display
2
+
3
4
+$(document).ready(function() {
5
+ /*** Add permalink buttons next to glossary terms ***/
6
7
+ $('dl.glossary > dt[id]').append(function() {
8
+ return ('<a class="headerlink" href="#' +
9
+ this.getAttribute('id') +
10
+ '" title="Permalink to this term">¶</a>');
11
+ })
12
+});
0 commit comments