From 65bfa623e3bb7376f0b06d78f3f00f1d01406cf7 Mon Sep 17 00:00:00 2001 From: "niko.sarcevic" Date: Tue, 30 Jun 2026 10:33:34 -0400 Subject: [PATCH 1/3] added gh icon to conf, updated icon colors in static --- docs/_static/custom.css | 12 ++++++++++++ docs/conf.py | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 4331dd32..8daf03ed 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -139,4 +139,16 @@ h3:hover .headerlink { .sidebar-tree a { padding: 0.15rem 0; +} + +/* ========================================================================== + LFKit — Footer icons + ========================================================================== */ + +.lfkit-github-icon svg { + color: #FE5019; /* LFKit red */ +} + +.lfkit-github-icon:hover svg { + color: #28A8C8; /* LFKit blue */ } \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 17c3c612..16dec264 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -72,9 +72,44 @@ html_static_path = ["_static"] html_theme_options = { + "source_repository": "https://github.com/cosmo-hub/lfkit/", + "source_branch": "main", + "source_directory": "docs/", + "light_logo": "logos/lfkit_logo-icon.png", "dark_logo": "logos/lfkit_logo-icon.png", + "footer_icons": [ + { + "name": "GitHub", + "url": "https://github.com/cosmo-hub/lfkit", + "html": """ + + style="color: #FE5019;"> + + + + """, + "class": "lfkit-github-icon", + }, + ], + "light_css_variables": { "color-brand-primary": "#28A8C8", "color-brand-content": "#28A8C8", From 01cc8279f4b1f50c14448262da98303d9c87c6c3 Mon Sep 17 00:00:00 2001 From: "niko.sarcevic" Date: Tue, 30 Jun 2026 10:41:31 -0400 Subject: [PATCH 2/3] fixed numpy type ci fail in tests --- tests/test_utils_types.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_utils_types.py b/tests/test_utils_types.py index 251edc61..f9c94be1 100644 --- a/tests/test_utils_types.py +++ b/tests/test_utils_types.py @@ -6,6 +6,7 @@ from typing import Any, get_args, get_origin import numpy as np +from numpy.typing import NDArray import lfkit.utils.types as lf_types @@ -25,10 +26,9 @@ def test_types_exports_expected_public_names() -> None: assert set(lf_types.__all__) == expected -def test_float_array_alias_points_to_numpy_ndarray() -> None: - """Tests that FloatArray aliases a NumPy ndarray type.""" - assert get_origin(lf_types.FloatArray) is np.ndarray - assert "float64" in str(lf_types.FloatArray) +def test_float_array_alias_is_float64_ndarray() -> None: + """Tests that FloatArray is a NumPy float64 array typing alias.""" + assert lf_types.FloatArray == NDArray[np.float64] def test_float_input_includes_expected_user_input_forms() -> None: From 967b5d1bf3566a618a817ede8c8a2f05fe3474e4 Mon Sep 17 00:00:00 2001 From: "niko.sarcevic" Date: Tue, 30 Jun 2026 10:42:01 -0400 Subject: [PATCH 3/3] added py 3.13 CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8ca44aa..838a8978 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout