This commit is contained in:
mb
2020-05-01 18:48:43 +02:00
parent a700a800e5
commit 161478117c
3 changed files with 7 additions and 4 deletions

View File

@@ -1,2 +1,5 @@
# invenio-theme-tugraz
invenio module with TUGRAZ theme.
invenio module for TUGRAZ theme.
## install
```pipenv install git+https://github.com/mb-wali/invenio-theme-tugraz.git@master#egg=invenio_theme_tugraz```

View File

@@ -8,10 +8,10 @@
"""JS/CSS Webpack bundles for theme."""
from flask_webpackext import WebpackBundle
from flask import current_app
def theme():
"""Returns module's webpack bundle.
This is a callable function in order to lazy load `current_app`
and avoid working outside application context.
"""

View File

@@ -8,7 +8,7 @@
# details.
pydocstyle invenio_theme_tugraz tests docs && \
isort -rc -c -df && \
#isort -rc -c -df && \
check-manifest --ignore ".travis-*" && \
#sphinx-build -qnNW docs docs/_build/html && \
sphinx-build -qnNW docs docs/_build/html && \
python setup.py test