* isort

* manifest updated

* manifest updated

* tests

* tests modify
This commit is contained in:
mb-wali
2020-05-01 19:35:42 +02:00
committed by GitHub
parent 3a8e867411
commit 15ff93aa22
5 changed files with 31 additions and 10 deletions

View File

@@ -19,3 +19,24 @@ include .editorconfig
include .tx/config include .tx/config
prune docs/_build prune docs/_build
recursive-include invenio_theme_tugraz/translations *.po *.pot *.mo recursive-include invenio_theme_tugraz/translations *.po *.pot *.mo
# added by check_manifest.py
include *.md
include *.rst
include *.sh
include *.txt
include *.rst
include LICENSE
include babel.ini
include pytest.ini
recursive-include docs *.bat
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs *.txt
recursive-include docs Makefile
recursive-include invenio_theme_tugraz *.html
recursive-include invenio_theme_tugraz *.js
recursive-include invenio_theme_tugraz *.png
recursive-include invenio_theme_tugraz *.scss
recursive-include invenio_theme_tugraz *.svg
recursive-include tests *.py

View File

@@ -19,7 +19,7 @@ INVENIO_THEME_TUGRAZ_BASE_TEMPLATE = 'invenio_theme_tugraz/base.html'
# Theme Logo # Theme Logo
THEME_LOGO="images/tug_logo.png" THEME_LOGO = 'images/tug_logo.png'
# Instance's theme entrypoint file. Path relative to the ``assets/`` folder. # Instance's theme entrypoint file. Path relative to the ``assets/`` folder.
INSTANCE_THEME_FILE = './scss/invenio_tugraz_theme/theme.scss' INSTANCE_THEME_FILE = './scss/invenio_tugraz_theme/theme.scss'
@@ -37,16 +37,16 @@ THEME_FRONTPAGE_TEMPLATE = 'invenio_theme_tugraz/frontpage.html'
SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html' SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
# uncomment this to use the login with Tugraz @ login.html # uncomment this to use the login with Tugraz @ login.html
#SHIBBOLETH_ISACTIVE = 'False' SHIBBOLETH_ISACTIVE = 'False'
# icon used in login page # icon used in login page
TUG_ICON = "images/icon_use.png" TUG_ICON = 'images/icon_use.png'
# Frontpage title # Frontpage title
THEME_FRONTPAGE_TITLE = "RDM for TUGRAZ" THEME_FRONTPAGE_TITLE = "RDM for TUGRAZ"
# Mail server # Mail server
#MAIL_SERVER='129.27.11.182' MAIL_SERVER = '129.27.11.182'
#SECURITY_EMAIL_SENDER = "info@invenio-test.tugraz.at" SECURITY_EMAIL_SENDER = 'info@invenio-rdm.tugraz.at'
#SECURITY_EMAIL_SUBJECT_REGISTER = "Welcome to RDM!" SECURITY_EMAIL_SUBJECT_REGISTER = 'Welcome to RDM!'
#MAIL_SUPPRESS_SEND = False MAIL_SUPPRESS_SEND = False

View File

@@ -2,13 +2,13 @@
# #
# Copyright (C) 2020 TUGRAZ. # Copyright (C) 2020 TUGRAZ.
# #
# invenio-theme-tugraz is free software; you can redistribute it and/or modify it # invenio-theme-tugraz is free software.
# under the terms of the MIT License; see LICENSE file for more details.
"""JS/CSS Webpack bundles for theme.""" """JS/CSS Webpack bundles for theme."""
from flask_webpackext import WebpackBundle from flask_webpackext import WebpackBundle
def theme(): def theme():
"""Returns module's webpack bundle. """Returns module's webpack bundle.
@@ -20,7 +20,6 @@ def theme():
'assets', 'assets',
entry={ entry={
# TODO: # TODO:
#'invenio-theme-tugraz-js': './js/invenio_tugraz_theme/tugraz.js',
}, },
dependencies={ dependencies={
'jquery': '3.1.0' 'jquery': '3.1.0'

View File

@@ -43,6 +43,7 @@ setup_requires = [
install_requires = [ install_requires = [
'Flask-BabelEx>=0.9.4', 'Flask-BabelEx>=0.9.4',
'Flask-WebpackExt>=1.0.0',
] ]
packages = find_packages() packages = find_packages()