From 40e227efac8dbb094248784595411dba52075a2b Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Tue, 18 Jan 2022 18:20:22 +0100 Subject: [PATCH] docs: Fix sphinx warning Related to D6967 --- docs/tutorial.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 65a6db0..331a555 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -204,7 +204,7 @@ This datatype can also further be detailed with the optional fields: able to load the origin. It is needed for example when additional context is needed along with the URL to effectively load from the origin. -See the definition of ListedOrigin_. +See the definition of :swh_web:`ListedOrigin `. Now that that we showed how those two methods operate, let's put it together by showing how they fit in the principal :py:meth:`Lister.run` method:: @@ -239,8 +239,6 @@ have the lister state reliably recorded in case of unhandled error. We will expl role of the remaining methods and attributes appearing here in the next section as it is related to the lister state. -.. _ListedOrigin: https://archive.softwareheritage.org/browse/swh:1:rev:03460207a17d82635ef5a6f12358392143eb9eef/?origin_url=https://forge.softwareheritage.org/source/swh-scheduler.git&path=swh/scheduler/model.py&revision=03460207a17d82635ef5a6f12358392143eb9eef#L134-L177 - .. _handling-lister-state: Handling lister state