mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
changes
This commit is contained in:
@@ -1,2 +1,5 @@
|
|||||||
# invenio-theme-tugraz
|
# 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```
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
"""JS/CSS Webpack bundles for theme."""
|
"""JS/CSS Webpack bundles for theme."""
|
||||||
|
|
||||||
from flask_webpackext import WebpackBundle
|
from flask_webpackext import WebpackBundle
|
||||||
from flask import current_app
|
|
||||||
|
|
||||||
def theme():
|
def theme():
|
||||||
"""Returns module's webpack bundle.
|
"""Returns module's webpack bundle.
|
||||||
|
|
||||||
This is a callable function in order to lazy load `current_app`
|
This is a callable function in order to lazy load `current_app`
|
||||||
and avoid working outside application context.
|
and avoid working outside application context.
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# details.
|
# details.
|
||||||
|
|
||||||
pydocstyle invenio_theme_tugraz tests docs && \
|
pydocstyle invenio_theme_tugraz tests docs && \
|
||||||
isort -rc -c -df && \
|
#isort -rc -c -df && \
|
||||||
check-manifest --ignore ".travis-*" && \
|
check-manifest --ignore ".travis-*" && \
|
||||||
#sphinx-build -qnNW docs docs/_build/html && \
|
sphinx-build -qnNW docs docs/_build/html && \
|
||||||
python setup.py test
|
python setup.py test
|
||||||
|
|||||||
Reference in New Issue
Block a user