Compare commits

..

10 Commits

Author SHA1 Message Date
Cian-H 4fad1ced08 Updated sphinx documentation config 2025-05-23 15:20:26 +01:00
Cian-H 3bb38a95eb Removed default sphinx build pipeline 2025-05-23 14:57:39 +01:00
Cian-H 36f9b91cc1 Another attempt to fix readthedocs 2025-05-23 14:55:44 +01:00
Cian-H 3013095bdd Attempt to fix readthedocs build 2025-05-23 14:36:32 +01:00
Cian-H 6e84ea0446 Added readthedocs config 2025-05-23 14:19:15 +01:00
Cian-H 529fe17d24 Patch to improve uv publishing 2025-05-23 12:57:52 +01:00
Cian-H 0fd2466b49 Another attempt to patch publish workflow 2025-05-23 12:45:29 +01:00
Cian-H 8f5c1e36a5 Attempt to patch publishing workflow 2025-05-23 12:39:16 +01:00
Cian-H 1992a4cee0 Version Increment 2025-05-23 12:36:23 +01:00
Cian-H 40ed1aa4f9 Set publish to trigger on tagging 2025-05-23 12:35:57 +01:00
6 changed files with 54 additions and 12 deletions
+12 -5
View File
@@ -1,9 +1,11 @@
name: Publish to PyPI
on:
push:
tags:
- "*"
workflow_run:
workflows:
- Auto Version Tag
types:
- completed
jobs:
publish:
@@ -11,8 +13,13 @@ jobs:
environment: release
steps:
- uses: actions/checkout@v4
- name: Install uv
run: pip install uv
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
python-version: "${{ matrix.python-version }}"
enable-cache: true
cache-dependency-glob: |
pyproject.toml
- name: Build package
run: uv build
- name: Publish to PyPI
+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
+6 -6
View File
@@ -47,8 +47,8 @@ master_doc = "index"
# General information about the project.
project = "invenio-config-iform"
copyright = "2022, TU Graz"
author = "TU Graz"
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,10 +109,10 @@ html_theme = "alabaster"
html_theme_options = {
"description": "invenio module that adds iform configs.",
"github_user": "TU Graz",
"github_user": "Cian-H",
"github_repo": "invenio-config-iform",
"github_button": False,
"github_banner": True,
"github_button": True,
"github_banner": False,
"show_powered_by": False,
"extra_nav_links": {
"invenio-config-iform@Github": "https://github.com/Cian-H/invenio-config-iform",
@@ -244,7 +244,7 @@ latex_documents = [
master_doc,
"invenio-config-iform.tex",
"invenio-config-iform Documentation",
"Mojib Wali",
"I-Form",
"manual",
),
]
+1 -1
View File
@@ -8,4 +8,4 @@
"""Metadata for this python module."""
__version__ = "2025.5.20.2"
__version__ = "2025.5.20.11"
+5
View File
@@ -67,6 +67,11 @@ tests = [
"ruff>=0.5.3",
"Sphinx>=4.5.0",
]
docs = [
"invenio-app>=1.5.0",
"invenio-search[opensearch2]>=2.1.0",
"Sphinx>=4.5.0",
]
[build-system]
requires = ["hatchling", "hatch-calver"]
Generated
+10
View File
@@ -1722,6 +1722,11 @@ dev = [
{ name = "pydocstyle" },
{ name = "ruff" },
]
docs = [
{ name = "invenio-app" },
{ name = "invenio-search", extra = ["opensearch2"] },
{ name = "sphinx" },
]
tests = [
{ name = "invenio-app" },
{ name = "invenio-search", extra = ["opensearch2"] },
@@ -1745,6 +1750,11 @@ dev = [
{ name = "pydocstyle", specifier = ">=6.3.0" },
{ name = "ruff", specifier = ">=0.11.7" },
]
docs = [
{ name = "invenio-app", specifier = ">=1.5.0" },
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
{ name = "sphinx", specifier = ">=4.5.0" },
]
tests = [
{ name = "invenio-app", specifier = ">=1.5.0" },
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },