diff --git a/docs/_templates/breadcrumbs.html b/docs/_templates/breadcrumbs.html
index d43e81891cbbb606cc0cbeee62fea43ddc13e28e..6d256c13a01b54848281be38dadfc95993c18aa5 100644
--- a/docs/_templates/breadcrumbs.html
+++ b/docs/_templates/breadcrumbs.html
@@ -3,13 +3,13 @@
 {# Overrides RTD's default "View page source" link formatting, which
    forces the full page name in the link; but we don't want it because
    page names include the repo, eg. "swh-model/index".
-   The view_in_phabricator.py extension sets swh_source_url to
+   The view_in_gitlab.py extension sets swh_source_url to
    ".../source/swh-model/browse/master/docs/index"
 #}
 {%- block breadcrumbs_aside %}
   <li class="wy-breadcrumbs-aside">
     {%- if hasdoc(pagename) and display_vcs_links %}
-      <a href="{{ swh_source_url }}{{ page_source_suffix }}">{{ _('View page source') }}</a>
+      <a href="{{ swh_source_url }}{{ page_source_suffix }}?plain=1">{{ _('View page source') }}</a>
     {% endif %}
   </li>
 {%- endblock %}
diff --git a/swh/docs/sphinx/conf.py b/swh/docs/sphinx/conf.py
index d86ca856a95b1d596c64f1607c0136045f50b9d2..b85f71181d190d446c91490fdf030803e7913e8f 100755
--- a/swh/docs/sphinx/conf.py
+++ b/swh/docs/sphinx/conf.py
@@ -35,7 +35,7 @@ extensions = [
     "myst_parser",
     "sphinx.ext.todo",
     "sphinx_reredirects",
-    "swh.docs.sphinx.view_in_phabricator",
+    "swh.docs.sphinx.view_in_gitlab",
     # swh.scheduler inherits some attribute descriptions from celery that use
     # custom crossrefs (eg. :setting:`task_ignore_result`)
     "sphinx_celery.setting_crossref",
diff --git a/swh/docs/sphinx/view_in_phabricator.py b/swh/docs/sphinx/view_in_gitlab.py
similarity index 80%
rename from swh/docs/sphinx/view_in_phabricator.py
rename to swh/docs/sphinx/view_in_gitlab.py
index cd7b40d20973b92a051ea567da780169773050ba..e2c1269306a844158441fbe23c3fa2222244c83f 100644
--- a/swh/docs/sphinx/view_in_phabricator.py
+++ b/swh/docs/sphinx/view_in_gitlab.py
@@ -1,10 +1,10 @@
-# Copyright (C) 2021  The Software Heritage developers
+# Copyright (C) 2021-2023  The Software Heritage developers
 # See the AUTHORS file at the top-level directory of this distribution
 # License: GNU General Public License version 3, or any later version
 # See top-level LICENSE file for more information
 
 """
-Shows a link 'View this page in Phabricator' on top of each page.
+Shows a link 'View page source' on top of each page.
 """
 
 
@@ -22,8 +22,8 @@ def html_page_context(app, pagename, templatename, context, doctree):
         repository = "swh-docs"
         path = pagename
     source_url = (
-        f"https://forge.softwareheritage.org/source/{repository}"
-        f"/browse/master/docs/{path}"
+        f"https://gitlab.softwareheritage.org/swh/devel/{repository}"
+        f"/-/blob/master/docs/{path}"
     )
 
     # Set a variable that can be used by swh-docs/docs/_templates/breadcrumbs.html: