invenio-theme-kth
Project description
invenio-theme-kth
This module provides templates overrides and modification to invenio default theme
Installation
pip install invenio-theme-kth
Components
views.py
: provides a Blueprint that registers both the static/ and templates/ folders to be usable by Invenio
webpack.py
: registers the front-end assets (in the assets/ folder) to webpack
config.py
: overrides several configuration items related to theming Invenio If new files is been added, first run:
Development
This section intended if you want to further develop this module.
Local setup
make install
# if you use pyenv
make install-pipenv
make test
while working on assets you can watch the assets with
invenio-cli assets watch
When you are done with your development
invenio-cli assets build
Upload to pypi
make package # this will zip the package into dist dir make package-check # verify if the package pass twine checks twine upload -u -p --repository-url https://test.pypi.org/legacy/ dist/* --verbose
Changes
Version 1.0.0 (released 2022-12-01)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.