From bc2b83a5cde7033cec6e9e1665e35431dc19176c Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Thu, 21 Aug 2025 16:23:40 +0545 Subject: [PATCH 1/2] Fix: Update TorchMetrics documentation link --- docs/source-pytorch/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 62cd21fc127f4..9795d9627ad6f 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -127,7 +127,7 @@ def _load_py_module(name: str, location: str) -> ModuleType: "https://pytorch.org/docs/stable/", "https://pytorch.org/docs/{torch.__version__}/", _PATH_ROOT ) adjust_linked_external_docs( - "https://lightning.ai/docs/torchmetrics", "https://lightning.ai/docs/torchmetrics/v{torchmetrics.__version__}/", _PATH_ROOT, version_digits=3 + "https://lightning.ai/docs/torchmetrics/", "https://lightning.ai/docs/torchmetrics/v{torchmetrics.__version__}/", _PATH_ROOT, version_digits=3 ) adjust_linked_external_docs( "https://lightning.ai/docs/fabric/stable/", "https://lightning.ai/docs/fabric/{lightning_fabric.__version__}/", _PATH_ROOT, version_digits=3 From 40c82885c9725eaaf9d19d59c2d4b314587fd227 Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Thu, 21 Aug 2025 16:28:02 +0545 Subject: [PATCH 2/2] Fix: Update TorchMetrics documentation link to stable version --- docs/source-pytorch/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 9795d9627ad6f..35f7aa6ee646c 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -127,7 +127,7 @@ def _load_py_module(name: str, location: str) -> ModuleType: "https://pytorch.org/docs/stable/", "https://pytorch.org/docs/{torch.__version__}/", _PATH_ROOT ) adjust_linked_external_docs( - "https://lightning.ai/docs/torchmetrics/", "https://lightning.ai/docs/torchmetrics/v{torchmetrics.__version__}/", _PATH_ROOT, version_digits=3 + "https://lightning.ai/docs/torchmetrics/stable/", "https://lightning.ai/docs/torchmetrics/v{torchmetrics.__version__}/", _PATH_ROOT, version_digits=3 ) adjust_linked_external_docs( "https://lightning.ai/docs/fabric/stable/", "https://lightning.ai/docs/fabric/{lightning_fabric.__version__}/", _PATH_ROOT, version_digits=3