# 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
- Addeding a check box to the registration process when using third-party authentication services such as ORCID to ensure agreement with the terms of use before registration.
## Installation
```bash
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
```bash
make install
# if you use pyenv
make install-pipenv
make test
```
while working on assets you can watch the assets with
```bash
invenio-cli assets watch
```
When you are done with your development
```bash
invenio-cli assets build
```
## Upload to pypi
make package-create # this will zip the package into dist dir
make package-check # verify if the package pass twine checks
twine upload -u <USERNAME> -p <PASSWORD> --repository-url https://test.pypi.org/legacy/ dist/* --verbose
<!--
#
# Copyright (C) 2022 KTH Royal Institute of Technology Sweden
#
# invenio-config-kth is free software, you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file details.
-->
Changes
=======
Version 1.0.0 (released 2022-12-01)
Version 1.1.0 Add terms of use checkbox for Registration form
Raw data
{
"_id": null,
"home_page": "https://github.com/Samk13/invenio-theme-kth",
"name": "invenio-theme-kth",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "invenio rdm config kth theme",
"author": "KTH Royal Institute of Technology",
"author_email": "info@kth.se",
"download_url": "https://files.pythonhosted.org/packages/34/c5/63ddda56da3ca4dae395894fd3de766d30d3adf61aa52f78df0acb4cacc7/invenio-theme-kth-1.1.0.tar.gz",
"platform": "any",
"description": "# invenio-theme-kth\nThis module provides templates overrides and modification to invenio default theme:\n- Customization of templates and modifications to the Invenio default theme are provided by this module\n- Addeding a check box to the registration process when using third-party authentication services such as ORCID to ensure agreement with the terms of use before registration.\n\n## Installation\n```bash\npip install invenio-theme-kth\n```\n\n## Components\n`views.py`: provides a Blueprint that registers both the static/ and templates/ folders to be usable by Invenio\n\n`webpack.py`: registers the front-end assets (in the assets/ folder) to webpack\n\n`config.py`: overrides several configuration items related to theming Invenio If new files is been added, first run:\n\n## Development\nThis section intended if you want to further develop this module.\n## Local setup\n```bash\nmake install\n# if you use pyenv\nmake install-pipenv\nmake test\n```\n\nwhile working on assets you can watch the assets with\n```bash\ninvenio-cli assets watch\n```\nWhen you are done with your development\n```bash\ninvenio-cli assets build\n```\n\n## Upload to pypi\nmake package-create # this will zip the package into dist dir\nmake package-check # verify if the package pass twine checks\ntwine upload -u <USERNAME> -p <PASSWORD> --repository-url https://test.pypi.org/legacy/ dist/* --verbose\n<!--\n#\n# Copyright (C) 2022 KTH Royal Institute of Technology Sweden\n#\n# invenio-config-kth is free software, you can redistribute it and/or\n# modify it under the terms of the MIT License; see LICENSE file details.\n-->\nChanges\n=======\n\nVersion 1.0.0 (released 2022-12-01)\nVersion 1.1.0 Add terms of use checkbox for Registration form\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "invenio-theme-kth",
"version": "1.1.0",
"split_keywords": [
"invenio",
"rdm",
"config",
"kth",
"theme"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "34c563ddda56da3ca4dae395894fd3de766d30d3adf61aa52f78df0acb4cacc7",
"md5": "2ceb1fe8fdb379d71185904c23f46e33",
"sha256": "b36e454d89a0136354a08be610652ac1ff2084994ec0dca6ab2713bc2f614b3d"
},
"downloads": -1,
"filename": "invenio-theme-kth-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "2ceb1fe8fdb379d71185904c23f46e33",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 168708,
"upload_time": "2023-01-25T17:35:02",
"upload_time_iso_8601": "2023-01-25T17:35:02.056856Z",
"url": "https://files.pythonhosted.org/packages/34/c5/63ddda56da3ca4dae395894fd3de766d30d3adf61aa52f78df0acb4cacc7/invenio-theme-kth-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-25 17:35:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Samk13",
"github_project": "invenio-theme-kth",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "invenio-theme-kth"
}