Compare commits

...

13 Commits

Author SHA1 Message Date
Cian-H 4155fb875a Patch: format fix 2025-05-23 17:24:21 +01:00
Cian-H 51dac9f287 Fix badge display 2025-05-23 17:24:07 +01:00
Cian-H de36035b59 Patch: fixed code coverage badge display 2025-05-23 17:16:58 +01:00
Cian-H f0643b3488 Patch: config cleanup 2025-05-23 17:15:26 +01:00
Cian-H 9b5e74ae67 Removed unnecessary docker version check 2025-05-23 16:26:44 +01:00
Cian-H 1a91b1c33c Added automatic coveralls coverage reporting 2025-05-23 16:13:39 +01:00
Cian-H f4d6435146 Fixed url for code coverage badge 2025-05-23 16:12:19 +01:00
Cian-H 2297d2f3dd Removed unnecessary docs/requirements.txt 2025-05-23 15:25:08 +01:00
Cian-H 626eeafe25 Patch: documentation autobuild 2025-05-23 15:22:11 +01:00
Cian-H 62f4b88759 Updated shpinx config 2025-05-23 15:21:53 +01:00
Cian-H d2ab271883 Added dependency group "docs" 2025-05-23 15:16:47 +01:00
Cian-H 725c4197b9 Fixed .readthedocs.yaml 2025-05-23 15:15:14 +01:00
Cian-H 7e690305a6 Added readthedocs config 2025-05-23 14:24:48 +01:00
8 changed files with 60 additions and 14 deletions
+8 -2
View File
@@ -74,13 +74,19 @@ jobs:
run: |
uv --version
uv run python --version
docker --version
docker ps
- name: Install dependencies
run: |
uv sync --group tests
- name: Run tests
env:
PYTEST_ADDOPTS: "--cov-report=lcov"
run: |
uv run test
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
+20
View File
@@ -0,0 +1,20 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv sync --group docs
install:
- uv run python -m sphinx -T -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
+5 -5
View File
@@ -15,20 +15,20 @@
.. image:: https://img.shields.io/pypi/dm/invenio-theme-iform.svg
:target: https://pypi.python.org/pypi/invenio-theme-iform
.. image:: https://img.shields.io/github/tag/tu-graz-library/invenio-theme-iform.svg
.. image:: https://img.shields.io/github/tag/Cian-H/invenio-theme-iform.svg
:target: https://github.com/Cian-H/invenio-theme-iform/releases
.. image:: https://img.shields.io/github/license/tu-graz-library/invenio-theme-iform.svg
.. image:: https://img.shields.io/github/license/Cian-H/invenio-theme-iform.svg
:target: https://github.com/Cian-H/invenio-theme-iform/blob/master/LICENSE
.. image:: https://readthedocs.org/projects/invenio-theme-iform/badge/?version=latest
:target: https://invenio-theme-iform.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-theme-iform.svg
:target: https://coveralls.io/r/mb-wali/invenio-theme-iform
.. image:: https://coveralls.io/repos/github/Cian-H/invenio-theme-iform/badge.svg?branch=master
:target: https://coveralls.io/github/Cian-H/invenio-theme-iform?branch=master
.. image:: https://img.shields.io/badge/code%20style-Ruff-D7FF64.svg
:target: https://github.com/astral-sh/ruff
:target: https://github.com/astral-sh/ruff
I-Form standard theme.
+5 -5
View File
@@ -45,8 +45,8 @@ master_doc = "index"
# General information about the project.
project = "invenio-theme-iform"
copyright = "2020, Graz University of Technology"
author = "Graz University of Technology"
copyright = "2025, I-Form"
author = "I-Form"
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -109,8 +109,8 @@ html_theme_options = {
"description": "invenio module for I-Form theme.",
"github_user": "Cian-H",
"github_repo": "invenio-theme-iform",
"github_button": False,
"github_banner": True,
"github_button": True,
"github_banner": False,
"show_powered_by": False,
"extra_nav_links": {
"invenio-theme-iform@GitHub": "https://github.com/Cian-H/invenio-theme-iform",
@@ -242,7 +242,7 @@ latex_documents = [
master_doc,
"invenio-theme-iform.tex",
"invenio-theme-iform Documentation",
"Graz University of Technology",
"I-Form",
"manual",
),
]
-1
View File
@@ -1 +0,0 @@
-e .[docs,tests]
+1 -1
View File
@@ -8,4 +8,4 @@
"""Metadata for this python module."""
__version__ = "2025.5.20.1"
__version__ = "2025.5.20.7"
+7
View File
@@ -73,6 +73,13 @@ tests = [
"pytest-ruff>=0.4.1",
"Sphinx>=4.5.0",
]
docs = [
"invenio-app>=1.3.4",
"invenio-previewer>=3.0.0",
"invenio-rdm-records>=18.0.0",
"invenio-search[opensearch2]>=2.1.0",
"Sphinx>=4.5.0",
]
[build-system]
requires = ["hatchling", "hatch-calver"]
Generated
+14
View File
@@ -2367,6 +2367,13 @@ dev = [
{ name = "pydocstyle" },
{ name = "ruff" },
]
docs = [
{ name = "invenio-app" },
{ name = "invenio-previewer" },
{ name = "invenio-rdm-records" },
{ name = "invenio-search", extra = ["opensearch2"] },
{ name = "sphinx" },
]
tests = [
{ name = "invenio-app" },
{ name = "invenio-previewer" },
@@ -2393,6 +2400,13 @@ dev = [
{ name = "pydocstyle", specifier = ">=6.3.0" },
{ name = "ruff", specifier = ">=0.11.7" },
]
docs = [
{ name = "invenio-app", specifier = ">=1.3.4" },
{ name = "invenio-previewer", specifier = ">=3.0.0" },
{ name = "invenio-rdm-records", specifier = ">=18.0.0" },
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
{ name = "sphinx", specifier = ">=4.5.0" },
]
tests = [
{ name = "invenio-app", specifier = ">=1.3.4" },
{ name = "invenio-previewer", specifier = ">=3.0.0" },