Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: point to correct readthedocs docs #587

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading