From 8c15a0f4ca41b36ef62a16995d6069f9ef9182c4 Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Sun, 4 May 2025 17:03:21 +0900 Subject: [PATCH] docs: some minor follow-up to JuliaLang/julia#58253 - indent the numbered list so that it is rendered nicely - add the world age docs to the manual index --- doc/make.jl | 1 + doc/src/manual/worldage.md | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/make.jl b/doc/make.jl index 068531be24a1d..f149e4b37a9e9 100644 --- a/doc/make.jl +++ b/doc/make.jl @@ -173,6 +173,7 @@ Manual = [ "manual/noteworthy-differences.md", "manual/unicode-input.md", "manual/command-line-interface.md", + "manual/worldage.md", ] BaseDocs = [ diff --git a/doc/src/manual/worldage.md b/doc/src/manual/worldage.md index 378b5a1b8f4e9..26853b84b3031 100644 --- a/doc/src/manual/worldage.md +++ b/doc/src/manual/worldage.md @@ -82,15 +82,15 @@ will raise the current task's world age to the latest global world age, thus mak (both from the current task and any concurrently executing other tasks) visible. The following statements raise the current world age: - 1. An explicit invocation of `Core.@latestworld` - 2. The start of every top-level statement - 3. The start of every REPL prompt - 4. Any type or struct definition - 5. Any method definition - 6. Any constant declaration - 7. Any global variable declaration (but not a global variable assignment) - 8. Any `using`, `import`, `export` or `public` statement - 9. Certain other macros like [`@eval`](@ref) (depends on the macro implementation) +1. An explicit invocation of `Core.@latestworld` +2. The start of every top-level statement +3. The start of every REPL prompt +4. Any type or struct definition +5. Any method definition +6. Any constant declaration +7. Any global variable declaration (but not a global variable assignment) +8. Any `using`, `import`, `export` or `public` statement +9. Certain other macros like [`@eval`](@ref) (depends on the macro implementation) Note, however, that the current task's world age may only ever be permanently incremented at top level. As a general rule, using any of the above statements in non-top-level scope is a syntax error: