invenio-theme-kth
This module provides templates overrides and modification to invenio default theme:
- Customization of templates and modifications to the Invenio default theme are provided by this module
- Adding terms of use check box to the registration process when using third-party authentication services such as ORCID before registration.
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:
Maintainers
This section intended for you who want to further develop this module.
Last Updated
invenio RDM V11
Maintaining
Keep the following files up to date with source:
RDMDepositFormOverride.js with Source RDMDepositForm.js
index.js with Source index.js
Update translations: Follow the steps here
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-create
make package-upload USER="" PASS=""
make package-createcommand will:
- remove old dist folder
- auto increment package version
- zip the package into dist dir
- check if the package pass twin checks
You can change version increment to major or minor by adding ARG:
-
make package-create ARG="-ma"increment major version -
make package-create ARG="-mi"increment minor version -
make package-createincrement patch version -
make package-check# verify if the package pass twine checks -
make package-upload USER="" PASS=""# will and upload to pypi will prompt for username and pass
or manually: twine upload -u -p dist/* --verbose
Changes
Version 1.0.0 (released 2022-12-01) Version 1.1.0 Add terms of use checkbox for Registration form
Metadata
Release files for invenio-theme-kth 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| invenio-theme-kth-1.2.6.tar.gz | 185.2 kB | Without provenance | Details for invenio-theme-kth-1.2.6.tar.gz |
Release files / invenio-theme-kth-1.2.6.tar.gz
| Download URL | invenio-theme-kth-1.2.6.tar.gz |
|---|---|
| Size | 185.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68683514380c56dbe66798f455226326ede4bf4cb65dcde9cb1f36f3953becff
|
|
BLAKE2b-256 checksum How to use checksums |
6de63919e18d80b86de758e83f92109091b14ac90033124483f96a3c584326f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.15
|
Security for invenio-theme-kth 1.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.