Skip to content

Commit 34cab41

Browse files
committed
chore: point to correct readthedocs docs (#587)
1 parent c62b1e2 commit 34cab41

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

craft_providers/errors.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ def __init__(self) -> None:
125125
brief = "A network related operation failed in a context of no network access."
126126
# XXX Facundo 2022-12-13: need to improve the URL here once
127127
# we have the online docs updated
128+
url = "https://canonical-craft-providers.readthedocs-hosted.com/en/latest/explanation/"
128129
resolution = (
129130
"Verify that the environment has internet connectivity; "
130-
"see https://craft-providers.readthedocs.io/ for further reference."
131+
f"see {url} for further reference."
131132
)
132133
super().__init__(brief=brief, resolution=resolution)

docs/explanation/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Explanation
66
.. toctree::
77
:maxdepth: 1
88

9+
.. _network-error:
10+
911
Failure to properly execute commands that depend on network access
1012
==================================================================
1113

0 commit comments

Comments
 (0)