File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ jobs:
28
28
29
29
- name : Building documentation
30
30
run : |
31
- cd docs && make clean && make html
31
+ cd docs && poetry run make clean && poetry run make html
32
32
33
33
- name : Publishing documentation
34
34
run : |
35
- ghp-import -f -n docs/_build/html
35
+ poetry run ghp-import -f -n docs/_build/html
36
36
37
37
- name : Publishing
38
38
env :
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ BUILDDIR = _build
12
12
help :
13
13
@$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
14
14
15
- import :
16
- ghp-import -n -c flask-babel.tkte.ch " $( BUILDDIR) /html"
17
-
18
15
.PHONY : help Makefile
19
16
20
17
# Catch-all target: route all unknown targets to Sphinx using the new
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ class BabelConfiguration:
40
40
41
41
def get_babel (app = None ) -> 'BabelConfiguration' :
42
42
app = app or current_app
43
+ if not hasattr (app , 'extensions' ):
44
+ app .extensions = {}
43
45
return app .extensions ['babel' ]
44
46
45
47
You can’t perform that action at this time.
0 commit comments