From 4fb724ca3dec9e9627fc8e2e3c770150657e3b0e Mon Sep 17 00:00:00 2001 From: Shengyu Zhang Date: Thu, 27 Nov 2025 11:19:13 +0800 Subject: [PATCH] Update steps for "enable GitHub Pages on your repository" (#14096) Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> --- doc/tutorial/deploying.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/tutorial/deploying.rst b/doc/tutorial/deploying.rst index f0deb53df1..c5911f2629 100644 --- a/doc/tutorial/deploying.rst +++ b/doc/tutorial/deploying.rst @@ -222,13 +222,14 @@ following contents: furo==2021.11.16 -And finally, you are ready to `enable GitHub Pages on your repository`_. For +And finally, you are ready to `publish GitHub Pages from a branch`_. For that, go to :guilabel:`Settings`, then :guilabel:`Pages` on the left sidebar, -select the ``gh-pages`` branch in the "Source" dropdown menu, and click +select the ``Deploy from a branch`` item in the "Source" dropdown menu, +select the ``gh-page`` branch in the "Branch" dropdown menu, and click :guilabel:`Save`. After a few minutes, you should be able to see your HTML at the designated URL. -.. _enable GitHub Pages on your repository: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site +.. _publish GitHub Pages from a branch: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-from-a-branch GitLab Pages ~~~~~~~~~~~~