From de1766b4bec6cc435ceafc63bf788bb91a2a9924 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Sun, 1 Jun 2025 14:26:38 +0100 Subject: [PATCH 1/4] Update tutorial --- Doc/tutorial/introduction.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index cdb35da7bc95ba..86595da971b636 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -13,10 +13,8 @@ end a multi-line command. .. only:: html - You can toggle the display of prompts and output by clicking on ``>>>`` - in the upper-right corner of an example box. If you hide the prompts - and output for an example, then you can easily copy and paste the input - lines into your interpreter. + You can use the ``Copy`` button, which strips prompts and omits output, to + easily copy and paste the input lines into your interpreter. .. index:: single: # (hash); comment From 517c9e5985b40884a390b8022efab829e75583d8 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sun, 1 Jun 2025 15:08:35 +0100 Subject: [PATCH 2/4] Add on hover bit --- Doc/tutorial/introduction.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 86595da971b636..eb1bd390227f10 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -13,7 +13,8 @@ end a multi-line command. .. only:: html - You can use the ``Copy`` button, which strips prompts and omits output, to + You can use the ``Copy`` button which appears when hovering over a code + example, and which strips prompts and omits output, to easily copy and paste the input lines into your interpreter. .. index:: single: # (hash); comment From a3ac158eced786113e498caa14a14fb5ddf778ec Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sun, 1 Jun 2025 16:34:06 +0100 Subject: [PATCH 3/4] Suggestion Co-authored-by: Sergey B Kirpichev --- Doc/tutorial/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index eb1bd390227f10..e47e37ff463fe2 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -13,8 +13,8 @@ end a multi-line command. .. only:: html - You can use the ``Copy`` button which appears when hovering over a code - example, and which strips prompts and omits output, to + You can use the ``Copy`` button (it appears in the upper-right corner + when hovering over a code example), which strips prompts and omits output, to easily copy and paste the input lines into your interpreter. .. index:: single: # (hash); comment From 5d54cab5e7892252b5199697fa4e68ed75f20508 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sun, 1 Jun 2025 22:56:06 +0100 Subject: [PATCH 4/4] Suggestions --- Doc/tutorial/introduction.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index e47e37ff463fe2..9e06e03991bc96 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -13,9 +13,9 @@ end a multi-line command. .. only:: html - You can use the ``Copy`` button (it appears in the upper-right corner - when hovering over a code example), which strips prompts and omits output, to - easily copy and paste the input lines into your interpreter. + You can use the "Copy" button (it appears in the upper-right corner + when hovering over or tapping a code example), which strips prompts + and omits output, to copy and paste the input lines into your interpreter. .. index:: single: # (hash); comment