mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
adding copy buttons to code blocks
This commit is contained in:
@@ -10,6 +10,12 @@ version = ''
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = 'v0.1'
|
||||
|
||||
# Add custom CSS/Javascript
|
||||
def setup(app):
|
||||
app.add_javascript("custom.js")
|
||||
app.add_stylesheet("custom.css")
|
||||
app.add_javascript("https://cdn.jsdelivr.net/npm/clipboard@1/dist/clipboard.min.js")
|
||||
|
||||
# Enable MathJax for Math
|
||||
extensions = ['sphinx.ext.mathjax']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user