From cd867b180ffd3566235d52646717207fbd79f173 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 30 Aug 2020 17:25:36 +0800 Subject: [PATCH] Restructure book chapters. --- doc/src/SUMMARY.md | 10 +++++----- doc/src/{rust => engine}/options.md | 0 doc/src/{rust => engine}/scope.md | 0 doc/src/links.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename doc/src/{rust => engine}/options.md (100%) rename doc/src/{rust => engine}/scope.md (100%) diff --git a/doc/src/SUMMARY.md b/doc/src/SUMMARY.md index 59584d28..f897b61e 100644 --- a/doc/src/SUMMARY.md +++ b/doc/src/SUMMARY.md @@ -26,15 +26,14 @@ The Rhai Scripting Language 4. [Create a Rust Closure from a Rhai Function](engine/func.md) 5. [Evaluate Expressions Only](engine/expressions.md) 6. [Raw Engine](engine/raw.md) + 7. [Scope - Initializing and Maintaining State](engine/scope.md) + 8. [Engine Configuration Options](engine/options.md) 4. [Extend Rhai with Rust](rust/index.md) 1. [Traits](rust/traits.md) 2. [Register a Rust Function](rust/functions.md) 1. [String Parameters in Rust Functions](rust/strings.md) 3. [Register a Generic Rust Function](rust/generic.md) 4. [Register a Fallible Rust Function](rust/fallible.md) - 5. [Packages](rust/packages/index.md) - 1. [Built-in Packages](rust/packages/builtin.md) - 2. [Create a Custom Package](rust/packages/create.md) 6. [Override a Built-in Function](rust/override.md) 7. [Operator Overloading](rust/operators.md) 8. [Register a Custom Type and its Methods](rust/custom.md) @@ -42,8 +41,9 @@ The Rhai Scripting Language 2. [Indexers](rust/indexers.md) 3. [Disable Custom Types](rust/disable-custom.md) 4. [Printing Custom Types](rust/print-custom.md) - 9. [Scope - Initializing and Maintaining State](rust/scope.md) - 10. [Engine Configuration Options](rust/options.md) + 9. [Packages](rust/packages/index.md) + 1. [Built-in Packages](rust/packages/builtin.md) + 2. [Create a Custom Package](rust/packages/create.md) 5. [Rhai Language Reference](language/index.md) 1. [Comments](language/comments.md) 2. [Values and Types](language/values-and-types.md) diff --git a/doc/src/rust/options.md b/doc/src/engine/options.md similarity index 100% rename from doc/src/rust/options.md rename to doc/src/engine/options.md diff --git a/doc/src/rust/scope.md b/doc/src/engine/scope.md similarity index 100% rename from doc/src/rust/scope.md rename to doc/src/engine/scope.md diff --git a/doc/src/links.md b/doc/src/links.md index 953c1164..e030478a 100644 --- a/doc/src/links.md +++ b/doc/src/links.md @@ -33,7 +33,7 @@ [packages]: {{rootUrl}}/rust/packages/index.md [custom package]: {{rootUrl}}/rust/packages/create.md [custom packages]: {{rootUrl}}/rust/packages/create.md -[`Scope`]: {{rootUrl}}/rust/scope.md +[`Scope`]: {{rootUrl}}/engine/scope.md [`serde`]: {{rootUrl}}/rust/serde.md [`type_of()`]: {{rootUrl}}/language/type-of.md