docs: Add sphinx copy button configurations in conf.py (#2466)

Add sphinx copy button configurations in conf.py
This commit is contained in:
Jithuraj
2023-04-05 19:43:24 +05:30
committed by GitHub
parent ac878d8edf
commit be31336da5

View File

@ -93,6 +93,7 @@ pygments_style = 'monokai'
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['images', 'scripts', 'theme'] html_static_path = ['images', 'scripts', 'theme']
html_js_files = ['versions.js', 'menu-expand.js'] html_js_files = ['versions.js', 'menu-expand.js']
html_css_files = ["copy-button.css"]
# -- Custom setup ------------------------------------------------------------ # -- Custom setup ------------------------------------------------------------