docs: Fix broken external links

Those were spotted thanks to the sphinx linkcheck builder
This commit is contained in:
Antoine Lambert 2025-02-06 14:33:25 +01:00 committed by Antoine Lambert
parent 3771a411ae
commit bde37867d8
5 changed files with 10 additions and 10 deletions

View file

@ -58,10 +58,10 @@ You can follow lister execution by displaying logs of swh-lister service::
.. _cpan.org: https://cpan.org/
.. _metacpan.org: https://metacpan.org/
.. _http api endpoint: https://explorer.metacpan.org/?url=/release/
.. _search: https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md#search-without-constraints # noqa: B950
.. _search: https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md#search-without-constraints
"""
""" # noqa: B950
def register():

View file

@ -62,7 +62,7 @@ You can follow lister execution by displaying logs of swh-lister service::
.. _Dlang: https://dlang.org/
.. _DUB: https://code.dlang.org/
.. _http api endpoint: https://code.dlang.org/api/packages/dump"
.. _http api endpoint: https://code.dlang.org/api/packages/dump
"""

View file

@ -13,10 +13,10 @@ logger = logging.getLogger(__name__)
class GiteaLister(GogsLister):
"""List origins from Gitea.
Gitea API documentation: https://try.gitea.io/api/swagger
Gitea API documentation: https://gitea.com/api/swagger
The API does pagination and provides navigation URLs through the 'Link' header.
The default value for page size is the maximum value observed on the instances
accessible at https://try.gitea.io/api/v1/ and https://codeberg.org/api/v1/."""
accessible at https://gitea.com/api/v1/ and https://codeberg.org/api/v1/."""
LISTER_NAME = "gitea"

View file

@ -52,7 +52,7 @@ class GitHubLister(Lister[GitHubListerState, List[Dict[str, Any]]]):
When the credentials aren't set in the lister config, the lister can run in
anonymous mode too (e.g. for testing purposes).
.. _abuse rate limit policy: https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits
.. _abuse rate limit policy: https://developer.github.com/v3/guides/best-practices-for-integrators/#handle-rate-limit-errors-appropriately
Args: