From e2cdb561550cf35b29aabfe7bc0470af4067bd91 Mon Sep 17 00:00:00 2001 From: Stephen Vavasis Date: Fri, 11 Dec 2020 17:07:46 -0500 Subject: [PATCH 1/3] Add section regarding Pkg mode to REPL docs --- stdlib/REPL/docs/src/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/stdlib/REPL/docs/src/index.md b/stdlib/REPL/docs/src/index.md index ecdb7595fb62e..4a042636b2693 100644 --- a/stdlib/REPL/docs/src/index.md +++ b/stdlib/REPL/docs/src/index.md @@ -22,7 +22,7 @@ and a `julia>` prompt. ### The Julian mode -The REPL has four main modes of operation. The first and most common is the Julian prompt. It +The REPL has five main modes of operation. The first and most common is the Julian prompt. It is the default mode of operation; each new line initially starts with `julia>`. It is here that you can enter Julia expressions. Hitting return or enter after a complete expression has been entered will evaluate the entry and show the result of the last expression. @@ -188,6 +188,14 @@ C:\Users\elm>dir 02/02/2020 08:06 .atom ``` +### Pkg mode + +The Package manager mode accepts specialized commands for loading and updating packages. It is entered +by pressing the `]` key at the Julian REPL prompt and exited by pressing CTRL-C or pressing the backspace key +at the beginning of the line. The prompt for this mode is `pkg>`. It supports its own help-mode, which is +entered by pressing `?` at the beginning of the line of the `pkg>` prompt. The Package manager mode is +documented in the Pkg (Package Manager) chapter of the standard library manual. + ### Search modes In all of the above modes, the executed lines get saved to a history file, which can be searched. From e3cb56e36017945efee0e0c88906ddb2d6168310 Mon Sep 17 00:00:00 2001 From: Mustafa M Date: Sun, 13 Dec 2020 15:11:27 -0500 Subject: [PATCH 2/3] Update index.md --- stdlib/REPL/docs/src/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/REPL/docs/src/index.md b/stdlib/REPL/docs/src/index.md index 4a042636b2693..f9d9dd4f9922e 100644 --- a/stdlib/REPL/docs/src/index.md +++ b/stdlib/REPL/docs/src/index.md @@ -190,10 +190,10 @@ C:\Users\elm>dir ### Pkg mode -The Package manager mode accepts specialized commands for loading and updating packages. It is entered +The Package manager mode accepts specialized commands for loading and updating packages. It is entered by pressing the `]` key at the Julian REPL prompt and exited by pressing CTRL-C or pressing the backspace key -at the beginning of the line. The prompt for this mode is `pkg>`. It supports its own help-mode, which is -entered by pressing `?` at the beginning of the line of the `pkg>` prompt. The Package manager mode is +at the beginning of the line. The prompt for this mode is `pkg>`. It supports its own help-mode, which is +entered by pressing `?` at the beginning of the line of the `pkg>` prompt. The Package manager mode is documented in the Pkg (Package Manager) chapter of the standard library manual. ### Search modes From 45f4f6b770be8115bcae9aba5dcff0e664c507b8 Mon Sep 17 00:00:00 2001 From: Mustafa M Date: Mon, 14 Dec 2020 11:12:54 -0500 Subject: [PATCH 3/3] Update index.md --- stdlib/REPL/docs/src/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/REPL/docs/src/index.md b/stdlib/REPL/docs/src/index.md index f9d9dd4f9922e..168d3e963b589 100644 --- a/stdlib/REPL/docs/src/index.md +++ b/stdlib/REPL/docs/src/index.md @@ -194,7 +194,7 @@ The Package manager mode accepts specialized commands for loading and updating p by pressing the `]` key at the Julian REPL prompt and exited by pressing CTRL-C or pressing the backspace key at the beginning of the line. The prompt for this mode is `pkg>`. It supports its own help-mode, which is entered by pressing `?` at the beginning of the line of the `pkg>` prompt. The Package manager mode is -documented in the Pkg (Package Manager) chapter of the standard library manual. +documented in the Pkg manual, available at [https://julialang.github.io/Pkg.jl/v1/](https://julialang.github.io/Pkg.jl/v1/). ### Search modes