mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Compare commits
4 Commits
8b55d5f5bc
...
pre-commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4973a55b47 | ||
|
|
1df02de795 | ||
|
|
181aa975f5 | ||
|
|
243fcf7be0 |
@@ -11,7 +11,7 @@
|
|||||||
repos:
|
repos:
|
||||||
# Autoformat: Python code, syntax patterns are modernized
|
# Autoformat: Python code, syntax patterns are modernized
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.21.0
|
rev: v3.21.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args:
|
args:
|
||||||
@@ -37,7 +37,7 @@ repos:
|
|||||||
|
|
||||||
# Autoformat: Python code
|
# Autoformat: Python code
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 25.9.0
|
rev: 25.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
|
|||||||
11
docs/conf.py
11
docs/conf.py
@@ -138,3 +138,14 @@ rediraffe_redirects = {
|
|||||||
"howto/env/notebook-interfaces": "howto/user-env/notebook-interfaces",
|
"howto/env/notebook-interfaces": "howto/user-env/notebook-interfaces",
|
||||||
"howto/env/server-resources": "howto/user-env/server-resources",
|
"howto/env/server-resources": "howto/user-env/server-resources",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def setup(app):
|
||||||
|
# Enable Plausible.io stats
|
||||||
|
app.add_js_file(
|
||||||
|
"https://plausible.io/js/pa-B75UO5--FNXYQSG7GBWkf.js", loading_method="async"
|
||||||
|
)
|
||||||
|
app.add_js_file(
|
||||||
|
filename=None,
|
||||||
|
body="window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};plausible.init({hashBasedRouting:true})",
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user