Skip to content

Commit

Permalink
chore: point to correct readthedocs docs (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigarmo committed Jul 3, 2024
1 parent c62b1e2 commit 34cab41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion craft_providers/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ def __init__(self) -> None:
brief = "A network related operation failed in a context of no network access."
# XXX Facundo 2022-12-13: need to improve the URL here once
# we have the online docs updated
url = "https://canonical-craft-providers.readthedocs-hosted.com/en/latest/explanation/"
resolution = (
"Verify that the environment has internet connectivity; "
"see https://craft-providers.readthedocs.io/ for further reference."
f"see {url} for further reference."
)
super().__init__(brief=brief, resolution=resolution)
2 changes: 2 additions & 0 deletions docs/explanation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Explanation
.. toctree::
:maxdepth: 1

.. _network-error:

Failure to properly execute commands that depend on network access
==================================================================

Expand Down

0 comments on commit 34cab41

Please sign in to comment.