mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-10 09:02:14 +00:00
Merge remote-tracking branch 'origin/master' into nightly
This commit is contained in:
commit
d68cb47ea6
1
changelog.d/20240118_155012_r.khetani.md
Normal file
1
changelog.d/20240118_155012_r.khetani.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
[Improvement] Add `.webp` and. `.otf` extensions to list of binary extensions to ignore when rendering templates.
|
@ -20,7 +20,7 @@ google-auth==2.23.3
|
|||||||
# via kubernetes
|
# via kubernetes
|
||||||
idna==3.4
|
idna==3.4
|
||||||
# via requests
|
# via requests
|
||||||
jinja2==3.1.2
|
jinja2==3.1.3
|
||||||
# via -r requirements/base.in
|
# via -r requirements/base.in
|
||||||
kubernetes==28.1.0
|
kubernetes==28.1.0
|
||||||
# via -r requirements/base.in
|
# via -r requirements/base.in
|
||||||
@ -40,7 +40,7 @@ pyasn1==0.5.0
|
|||||||
# rsa
|
# rsa
|
||||||
pyasn1-modules==0.3.0
|
pyasn1-modules==0.3.0
|
||||||
# via google-auth
|
# via google-auth
|
||||||
pycryptodome==3.19.0
|
pycryptodome==3.20.0
|
||||||
# via -r requirements/base.in
|
# via -r requirements/base.in
|
||||||
python-dateutil==2.8.2
|
python-dateutil==2.8.2
|
||||||
# via kubernetes
|
# via kubernetes
|
||||||
|
@ -74,7 +74,7 @@ jeepney==0.8.0
|
|||||||
# via
|
# via
|
||||||
# keyring
|
# keyring
|
||||||
# secretstorage
|
# secretstorage
|
||||||
jinja2==3.1.2
|
jinja2==3.1.3
|
||||||
# via
|
# via
|
||||||
# -r requirements/base.txt
|
# -r requirements/base.txt
|
||||||
# scriv
|
# scriv
|
||||||
@ -136,7 +136,7 @@ pyasn1-modules==0.3.0
|
|||||||
# google-auth
|
# google-auth
|
||||||
pycparser==2.21
|
pycparser==2.21
|
||||||
# via cffi
|
# via cffi
|
||||||
pycryptodome==3.19.0
|
pycryptodome==3.20.0
|
||||||
# via -r requirements/base.txt
|
# via -r requirements/base.txt
|
||||||
pygments==2.16.1
|
pygments==2.16.1
|
||||||
# via
|
# via
|
||||||
|
@ -44,7 +44,7 @@ imagesize==1.4.1
|
|||||||
# via sphinx
|
# via sphinx
|
||||||
importlib-metadata==6.8.0
|
importlib-metadata==6.8.0
|
||||||
# via sphinx
|
# via sphinx
|
||||||
jinja2==3.1.2
|
jinja2==3.1.3
|
||||||
# via
|
# via
|
||||||
# -r requirements/base.txt
|
# -r requirements/base.txt
|
||||||
# sphinx
|
# sphinx
|
||||||
@ -76,7 +76,7 @@ pyasn1-modules==0.3.0
|
|||||||
# via
|
# via
|
||||||
# -r requirements/base.txt
|
# -r requirements/base.txt
|
||||||
# google-auth
|
# google-auth
|
||||||
pycryptodome==3.19.0
|
pycryptodome==3.20.0
|
||||||
# via -r requirements/base.txt
|
# via -r requirements/base.txt
|
||||||
pygments==2.16.1
|
pygments==2.16.1
|
||||||
# via sphinx
|
# via sphinx
|
||||||
|
12
tutor/env.py
12
tutor/env.py
@ -15,7 +15,17 @@ from tutor.types import Config, ConfigValue
|
|||||||
|
|
||||||
TEMPLATES_ROOT = pkg_resources.resource_filename("tutor", "templates")
|
TEMPLATES_ROOT = pkg_resources.resource_filename("tutor", "templates")
|
||||||
VERSION_FILENAME = "version"
|
VERSION_FILENAME = "version"
|
||||||
BIN_FILE_EXTENSIONS = [".ico", ".jpg", ".patch", ".png", ".ttf", ".woff", ".woff2"]
|
BIN_FILE_EXTENSIONS = [
|
||||||
|
".ico",
|
||||||
|
".jpg",
|
||||||
|
".otf",
|
||||||
|
".patch",
|
||||||
|
".png",
|
||||||
|
".ttf",
|
||||||
|
".webp",
|
||||||
|
".woff",
|
||||||
|
".woff2",
|
||||||
|
]
|
||||||
JinjaFilter = t.Callable[..., t.Any]
|
JinjaFilter = t.Callable[..., t.Any]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user