From 4ffc7bcb101c7e3a3aa58e0ad1c5320711479770 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli <zack@upsilon.cc> Date: Fri, 17 Apr 2020 16:27:17 +0200 Subject: [PATCH] spec: reference SWHID using explicit anchors --- docs/conf.py | 3 +-- docs/specs/spec-loading.rst | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index cab6f17a..947a35c7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,8 +1,7 @@ import os import django -os.environ.setdefault("DJANGO_SETTINGS_MODULE", - "swh.deposit.settings.development") +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "swh.deposit.settings.development") django.setup() from swh.docs.sphinx.conf import * # NoQA diff --git a/docs/specs/spec-loading.rst b/docs/specs/spec-loading.rst index 527ef02d..92557a48 100644 --- a/docs/specs/spec-loading.rst +++ b/docs/specs/spec-loading.rst @@ -403,7 +403,8 @@ Only ``deposited`` deposit are concerned by the loading. When the loading is done and successful, the deposit entry is updated: - ``status`` is updated to ``done`` - - ``swh-id`` is populated with the resulting `SWH persistent identifier <https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html>`_ + - ``swh-id`` is populated with the resulting :ref:`SWHID + <persistent-identifiers>` - ``complete_date`` is updated to the loading's finished time When the loading has failed, the deposit entry is updated: -- GitLab