File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ jobs:
2828
2929 - name : Building documentation
3030 run : |
31- cd docs && make clean && make html
31+ cd docs && poetry run make clean && poetry run make html
3232
3333 - name : Publishing documentation
3434 run : |
35- ghp-import -f -n docs/_build/html
35+ poetry run ghp-import -f -n docs/_build/html
3636
3737 - name : Publishing
3838 env :
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ BUILDDIR = _build
1212help :
1313 @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
1414
15- import :
16- ghp-import -n -c flask-babel.tkte.ch " $( BUILDDIR) /html"
17-
1815.PHONY : help Makefile
1916
2017# 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:
4040
4141def get_babel (app = None ) -> 'BabelConfiguration' :
4242 app = app or current_app
43+ if not hasattr (app , 'extensions' ):
44+ app .extensions = {}
4345 return app .extensions ['babel' ]
4446
4547
You can’t perform that action at this time.
0 commit comments