From 88a761b41edbbce50f8b14cebe6f9b553018fa75 Mon Sep 17 00:00:00 2001
From: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date: Mon, 13 Feb 2023 14:37:42 +0100
Subject: [PATCH] Replace references to phabricator by gitlab in the getting
 started pages

There are plenty of other phabricator links in another places in the
doc, but this ones are the first encountered by a new comer.

Related to swh/devel/swh-docs#4732
---
 README.md                      | 4 ++--
 docs/devel/developer-setup.rst | 6 +++---
 docs/devel/getting-started.rst | 2 +-
 setup.py                       | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 3e1c8ca0..d6bf6e67 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ How to build the doc
 
 Install the [Software Heritage development environment][2]
 
-    $ git clone https://forge.softwareheritage.org/source/swh-environment
+    $ git clone https://gitlab.softwareheritage.org/swh/devel/swh-environment.git
     $ cd swh-environment
     $ ./bin/update  # this will clone needed git repos, inc. swh-docs
     $ cd swh-docs
@@ -116,7 +116,7 @@ The HTML documentation is now available starting from `docs/_build/html/index.ht
 
 
 [1]: http://www.sphinx-doc.org/
-[2]: https://forge.softwareheritage.org/source/swh-environment/
+[2]: https://gitlab.softwareheritage.org/swh/devel/swh-environment.git
 [3]: https://graphviz.org
 [4]: http://plantuml.com
 [5]: https://inkscape.org/
diff --git a/docs/devel/developer-setup.rst b/docs/devel/developer-setup.rst
index 0eaf2280..f71d0515 100644
--- a/docs/devel/developer-setup.rst
+++ b/docs/devel/developer-setup.rst
@@ -14,7 +14,7 @@ hack it, and run locally the unit tests.
 To test the effect of your modifications, you can :ref:`install your own local
 Software Heritage instance <getting-started>` using Docker.
 
-.. _`documentation`: https://forge.softwareheritage.org/source/swh-environment/browse/master/docker/README.rst?as=remarkup
+.. _`documentation`: https://gitlab.softwareheritage.org/swh/devel/swh-environment/-/blob/master/docker/README.rst
 .. _`virtual environment`: https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment
 
 
@@ -86,7 +86,7 @@ Checkout the source code
 
 Clone the |swh| environment repository::
 
-    ~$ git clone https://forge.softwareheritage.org/source/swh-environment.git
+    ~$ git clone https://gitlab.softwareheritage.org/swh/devel/swh-environment.git
     [...]
     ~$ cd swh-environment
     ~/swh-environment$
@@ -280,5 +280,5 @@ forge. See the guide on :ref:`how to submit patches <patch-submission>`.
 .. _pytest: https://pytest.org
 .. _tox: https://tox.readthedocs.io
 .. _pypi: https://pypi.org
-.. _swh-loader-git: https://forge.softwareheritage.org/source/swh-loader-git
+.. _swh-loader-git: https://gitlab.softwareheritage.org/swh/devel/swh-loader-git
 .. _pifpaf: https://github.com/jd/pifpaf
diff --git a/docs/devel/getting-started.rst b/docs/devel/getting-started.rst
index 03fa6791..892e1188 100644
--- a/docs/devel/getting-started.rst
+++ b/docs/devel/getting-started.rst
@@ -31,7 +31,7 @@ Quick start
 First, retrieve Software Heritage development environment to get the
 Docker configuration::
 
-   ~$ git clone https://forge.softwareheritage.org/source/swh-environment.git
+   ~$ git clone https://gitlab.softwareheritage.org/swh/devel/swh-environment.git
    ~$ cd swh-environment/docker
 
 Then, start containers::
diff --git a/setup.py b/setup.py
index 67181989..9b8d1bfe 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ setup(
     python_requires=">=3.7",
     author="Software Heritage developers",
     author_email="swh-devel@inria.fr",
-    url="https://forge.softwareheritage.org/source/swh-docs/",
+    url="https://gitlab.softwareheritage.org/swh/devel/swh-docs/",
     packages=find_packages(),
     scripts=[],
     install_requires=parse_requirements(),
-- 
GitLab