@@ -14,6 +14,8 @@ Using ``repo2docker``
1414follows :ref: `specification `. repo2docker is called with the URL of a Git repository,
1515a `DOI <https://en.wikipedia.org/wiki/Digital_object_identifier >`_ from Zenodo or Figshare,
1616a `Handle <https://en.wikipedia.org/wiki/Handle_System >`_ or DOI from a Dataverse installation,
17+ a `SWHID `_ of a directory of a revision archived in the
18+ `Software Heritage Archive <https://archive.softwareheritage.org >`_,
1719or a path to a local directory.
1820
1921It then performs these steps:
@@ -36,7 +38,8 @@ repo2docker is called with this command::
3638where ``<source-repository> `` is:
3739
3840 * a URL of a Git repository (``https://github.com/binder-examples/requirements ``),
39- * a Zenodo DOI (``10.5281/zenodo.1211089 ``), or
41+ * a Zenodo DOI (``10.5281/zenodo.1211089 ``),
42+ * a SWHID _ (``swh:1:rev:999dd06c7f679a2714dfe5199bdca09522a29649 ``), or
4043 * a path to a local directory (``a/local/directory ``)
4144
4245of the source repository you want to build.
@@ -132,3 +135,4 @@ Command line API
132135
133136
134137.. _Pytudes : https://github.com/norvig/pytudes
138+ .. _SWHID : https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html
0 commit comments