diff --git a/docs/tutorial.rst b/docs/tutorial.rst index eafafd9cdace9d1c00b72e46f5e04a6776edad1b..5e1b552885a22d0b28db6f577f22071d800f711d 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -374,7 +374,7 @@ More about listers See current implemented listers as examples (GitHub_, Bitbucket_, CGit_, GitLab_ ). -.. _GitHub: https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/github/lister.py -.. _Bitbucket: https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/bitbucket/lister.py -.. _CGit: https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/cgit/lister.py -.. _GitLab: https://forge.softwareheritage.org/source/swh-lister/browse/master/swh/lister/gitlab/lister.py +.. _GitHub: https://gitlab.softwareheritage.org/swh/devel/swh-lister/-/blob/master/swh/lister/github/lister.py +.. _Bitbucket: https://gitlab.softwareheritage.org/swh/devel/swh-lister/-/blob/master/swh/lister/bitbucket/lister.py +.. _CGit: https://gitlab.softwareheritage.org/swh/devel/swh-lister/-/blob/master/swh/lister/cgit/lister.py +.. _GitLab: https://gitlab.softwareheritage.org/swh/devel/swh-lister/-/blob/master/swh/lister/gitlab/lister.py diff --git a/swh/lister/cpan/__init__.py b/swh/lister/cpan/__init__.py index 2624112659d2aa25b4b638d36ece2284d05e31a4..b34561b1223227d8856e17df0e7005edf13ad5ae 100644 --- a/swh/lister/cpan/__init__.py +++ b/swh/lister/cpan/__init__.py @@ -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(): diff --git a/swh/lister/dlang/__init__.py b/swh/lister/dlang/__init__.py index 930f95f796e7f49c300ab0096cae99216173fa78..fcb9fd15b4883fe09592ae5f971bf90308928e56 100644 --- a/swh/lister/dlang/__init__.py +++ b/swh/lister/dlang/__init__.py @@ -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 """ diff --git a/swh/lister/gitea/lister.py b/swh/lister/gitea/lister.py index e429756aca02b94dbde9edda5619a5a0b064506c..8845ab07c8aaf4f0deccdc89ea31325b61eabed1 100644 --- a/swh/lister/gitea/lister.py +++ b/swh/lister/gitea/lister.py @@ -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" diff --git a/swh/lister/github/lister.py b/swh/lister/github/lister.py index 986f3d6d0995ac8b4dc7e2d9c721fc0c614f1f72..8712d361b28ac2366d21149ccd9a698dd3a0287e 100644 --- a/swh/lister/github/lister.py +++ b/swh/lister/github/lister.py @@ -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: