docs: added scroll-to-top button with JS and CSS

This commit is contained in:
DaleStack 2025-08-01 02:32:49 +08:00
parent 85cc710464
commit a486b9025e
3 changed files with 36 additions and 0 deletions

View file

@ -62,6 +62,10 @@ html_favicon = "_static/flask-icon.svg"
html_logo = "_static/flask-logo.svg"
html_title = f"Flask Documentation ({version})"
html_show_sourcelink = False
html_static_path = ['_static']
html_js_files = ['scrolltop.js']
html_css_files = ['scrolltop.css']
gettext_uuid = True
gettext_compact = False