From 1d4ee20d556f549851242917f026e849fa08a6c5 Mon Sep 17 00:00:00 2001 From: Damir Shamanaev Date: Wed, 27 Mar 2024 00:51:20 +0300 Subject: [PATCH] move-move (#31) --- .gitignore | 1 - book.toml | 14 +++++++++----- {src => book}/SUMMARY.md | 0 {src => book}/appendix/acknowledgements.md | 0 {src => book}/appendix/contributing.md | 0 {src => book}/appendix/glossary.md | 0 {src => book}/appendix/publications.md | 0 {src => book}/appendix/references.md | 0 {src => book}/basic-syntax/README.md | 0 {src => book}/basic-syntax/address.md | 0 {src => book}/basic-syntax/assert-and-abort.md | 0 {src => book}/basic-syntax/comments.md | 0 {src => book}/basic-syntax/constants.md | 0 {src => book}/basic-syntax/control-flow.md | 0 {src => book}/basic-syntax/copy-ability.md | 0 {src => book}/basic-syntax/drop-ability.md | 0 {src => book}/basic-syntax/expression.md | 0 {src => book}/basic-syntax/function.md | 0 {src => book}/basic-syntax/generics.md | 0 {src => book}/basic-syntax/importing-modules.md | 0 {src => book}/basic-syntax/module.md | 0 {src => book}/basic-syntax/option.md | 0 {src => book}/basic-syntax/ownership-and-scope.md | 0 {src => book}/basic-syntax/primitive-types.md | 0 {src => book}/basic-syntax/references.md | 0 {src => book}/basic-syntax/standard-library.md | 0 {src => book}/basic-syntax/string.md | 0 {src => book}/basic-syntax/struct-methods.md | 0 {src => book}/basic-syntax/struct.md | 0 {src => book}/basic-syntax/testing.md | 0 {src => book}/basic-syntax/type-reflection.md | 0 {src => book}/basic-syntax/vector.md | 0 {src => book}/basic-syntax/visibility.md | 0 {src => book}/before-we-begin/README.md | 0 {src => book}/before-we-begin/ide-support.md | 0 {src => book}/before-we-begin/install-sui.md | 0 {src => book}/before-we-begin/move-2024.md | 0 {src => book}/concepts/README.md | 0 {src => book}/concepts/address.md | 0 {src => book}/concepts/manifest.md | 0 {src => book}/concepts/modules.md | 0 {src => book}/concepts/object-model.md | 0 {src => book}/concepts/packages.md | 0 {src => book}/concepts/user-interaction.md | 0 {src => book}/concepts/what-is-a-transaction.md | 0 {src => book}/concepts/what-is-an-account.md | 2 +- {src => book}/foreword.md | 0 {src => book}/guides/2024-migration-guide.md | 0 {src => book}/guides/README.md | 0 {src => book}/guides/better-error-handling.md | 0 {src => book}/guides/building-against-limits.md | 0 {src => book}/guides/debugging.md | 0 {src => book}/guides/open-sourcing-libraries.md | 0 {src => book}/guides/testing.md | 0 {src => book}/guides/upgradeability-practices.md | 0 {src => book}/hello-sui/README.md | 0 {src => book}/hello-sui/hello-sui.md | 0 {src => book}/hello-sui/module-structure.md | 0 {src => book}/history.md | 0 {src => book}/introduction.md | 0 {src => book}/object/README.md | 0 {src => book}/object/key-ability.md | 0 {src => book}/object/shared-state.md | 0 {src => book}/object/store-ability.md | 0 {src => book}/object/transfer-restrictions.md | 0 {src => book}/object/transfer-to-object.md | 0 {src => book}/object/true-ownership.md | 0 {src => book}/object/what-is-an-object.md | 0 {src => book}/programmability/README.md | 0 {src => book}/programmability/abstract-class.md | 0 .../programmability/authorization-patterns.md | 0 {src => book}/programmability/balance-and-coin.md | 0 {src => book}/programmability/bcs.md | 0 {src => book}/programmability/capability.md | 0 {src => book}/programmability/collections.md | 0 .../programmability/cryptography-and-hashing.md | 0 {src => book}/programmability/display.md | 0 .../programmability/dynamic-collections.md | 0 {src => book}/programmability/dynamic-fields.md | 0 .../programmability/dynamic-object-fields.md | 0 {src => book}/programmability/epoch-and-time.md | 0 {src => book}/programmability/events.md | 0 {src => book}/programmability/fast-path.md | 0 .../programmability/module-initializer.md | 0 {src => book}/programmability/one-time-witness.md | 0 {src => book}/programmability/package-upgrades.md | 0 {src => book}/programmability/publisher.md | 0 {src => book}/programmability/randomness.md | 0 {src => book}/programmability/sui-framework.md | 0 .../programmability/transaction-blocks.md | 0 .../programmability/transaction-context.md | 0 .../witness-and-abstract-implementation.md | 0 {src => book}/programmability/witness-pattern.md | 0 {src => book}/your-first-move.md | 0 {src => book}/your-first-move/README.md | 0 {src => book}/your-first-move/_hello-world.md | 0 {src => book}/your-first-move/adding-tests.md | 0 {src => book}/your-first-move/debugging.md | 0 {src => book}/your-first-move/generating-docs.md | 0 {src => book}/your-first-move/hello-world.md | 0 {src => book}/your-first-move/publishing.md | 0 temp.publish.sh | 2 +- 102 files changed, 11 insertions(+), 8 deletions(-) rename {src => book}/SUMMARY.md (100%) rename {src => book}/appendix/acknowledgements.md (100%) rename {src => book}/appendix/contributing.md (100%) rename {src => book}/appendix/glossary.md (100%) rename {src => book}/appendix/publications.md (100%) rename {src => book}/appendix/references.md (100%) rename {src => book}/basic-syntax/README.md (100%) rename {src => book}/basic-syntax/address.md (100%) rename {src => book}/basic-syntax/assert-and-abort.md (100%) rename {src => book}/basic-syntax/comments.md (100%) rename {src => book}/basic-syntax/constants.md (100%) rename {src => book}/basic-syntax/control-flow.md (100%) rename {src => book}/basic-syntax/copy-ability.md (100%) rename {src => book}/basic-syntax/drop-ability.md (100%) rename {src => book}/basic-syntax/expression.md (100%) rename {src => book}/basic-syntax/function.md (100%) rename {src => book}/basic-syntax/generics.md (100%) rename {src => book}/basic-syntax/importing-modules.md (100%) rename {src => book}/basic-syntax/module.md (100%) rename {src => book}/basic-syntax/option.md (100%) rename {src => book}/basic-syntax/ownership-and-scope.md (100%) rename {src => book}/basic-syntax/primitive-types.md (100%) rename {src => book}/basic-syntax/references.md (100%) rename {src => book}/basic-syntax/standard-library.md (100%) rename {src => book}/basic-syntax/string.md (100%) rename {src => book}/basic-syntax/struct-methods.md (100%) rename {src => book}/basic-syntax/struct.md (100%) rename {src => book}/basic-syntax/testing.md (100%) rename {src => book}/basic-syntax/type-reflection.md (100%) rename {src => book}/basic-syntax/vector.md (100%) rename {src => book}/basic-syntax/visibility.md (100%) rename {src => book}/before-we-begin/README.md (100%) rename {src => book}/before-we-begin/ide-support.md (100%) rename {src => book}/before-we-begin/install-sui.md (100%) rename {src => book}/before-we-begin/move-2024.md (100%) rename {src => book}/concepts/README.md (100%) rename {src => book}/concepts/address.md (100%) rename {src => book}/concepts/manifest.md (100%) rename {src => book}/concepts/modules.md (100%) rename {src => book}/concepts/object-model.md (100%) rename {src => book}/concepts/packages.md (100%) rename {src => book}/concepts/user-interaction.md (100%) rename {src => book}/concepts/what-is-a-transaction.md (100%) rename {src => book}/concepts/what-is-an-account.md (77%) rename {src => book}/foreword.md (100%) rename {src => book}/guides/2024-migration-guide.md (100%) rename {src => book}/guides/README.md (100%) rename {src => book}/guides/better-error-handling.md (100%) rename {src => book}/guides/building-against-limits.md (100%) rename {src => book}/guides/debugging.md (100%) rename {src => book}/guides/open-sourcing-libraries.md (100%) rename {src => book}/guides/testing.md (100%) rename {src => book}/guides/upgradeability-practices.md (100%) rename {src => book}/hello-sui/README.md (100%) rename {src => book}/hello-sui/hello-sui.md (100%) rename {src => book}/hello-sui/module-structure.md (100%) rename {src => book}/history.md (100%) rename {src => book}/introduction.md (100%) rename {src => book}/object/README.md (100%) rename {src => book}/object/key-ability.md (100%) rename {src => book}/object/shared-state.md (100%) rename {src => book}/object/store-ability.md (100%) rename {src => book}/object/transfer-restrictions.md (100%) rename {src => book}/object/transfer-to-object.md (100%) rename {src => book}/object/true-ownership.md (100%) rename {src => book}/object/what-is-an-object.md (100%) rename {src => book}/programmability/README.md (100%) rename {src => book}/programmability/abstract-class.md (100%) rename {src => book}/programmability/authorization-patterns.md (100%) rename {src => book}/programmability/balance-and-coin.md (100%) rename {src => book}/programmability/bcs.md (100%) rename {src => book}/programmability/capability.md (100%) rename {src => book}/programmability/collections.md (100%) rename {src => book}/programmability/cryptography-and-hashing.md (100%) rename {src => book}/programmability/display.md (100%) rename {src => book}/programmability/dynamic-collections.md (100%) rename {src => book}/programmability/dynamic-fields.md (100%) rename {src => book}/programmability/dynamic-object-fields.md (100%) rename {src => book}/programmability/epoch-and-time.md (100%) rename {src => book}/programmability/events.md (100%) rename {src => book}/programmability/fast-path.md (100%) rename {src => book}/programmability/module-initializer.md (100%) rename {src => book}/programmability/one-time-witness.md (100%) rename {src => book}/programmability/package-upgrades.md (100%) rename {src => book}/programmability/publisher.md (100%) rename {src => book}/programmability/randomness.md (100%) rename {src => book}/programmability/sui-framework.md (100%) rename {src => book}/programmability/transaction-blocks.md (100%) rename {src => book}/programmability/transaction-context.md (100%) rename {src => book}/programmability/witness-and-abstract-implementation.md (100%) rename {src => book}/programmability/witness-pattern.md (100%) rename {src => book}/your-first-move.md (100%) rename {src => book}/your-first-move/README.md (100%) rename {src => book}/your-first-move/_hello-world.md (100%) rename {src => book}/your-first-move/adding-tests.md (100%) rename {src => book}/your-first-move/debugging.md (100%) rename {src => book}/your-first-move/generating-docs.md (100%) rename {src => book}/your-first-move/hello-world.md (100%) rename {src => book}/your-first-move/publishing.md (100%) diff --git a/.gitignore b/.gitignore index 7294be09..378eac25 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ build -book diff --git a/book.toml b/book.toml index 1e14847a..013d83ef 100644 --- a/book.toml +++ b/book.toml @@ -4,20 +4,25 @@ description = "First book about the Move programming language and the Move VM. M authors = ["Damir Shamanaev"] language = "en" multilingual = false -src = "src" +src = "book" repository = "damirka/move-book" +[build] +build-dir = "build" +extra-watch-dirs = ["packages"] # rebuild on Move Source changes + [output.html] additional-css = ["theme/css/custom.css"] git-repository-url = "https://github.com/MystenLabs/move-book" git-repository-icon = "fa-github" edit-url-template = "https://github.com/MystenLabs/move-book/edit/second-edition/{path}" +# Contains the redirects from the old book [output.html.redirect] -# optional = true "introduction/foreword" = "foreword" "introduction/getting-started" = "before-we-begin" +# syntax basics redirects "syntax-basics/index.html" = "/basic-syntax/index.html" "syntax-basics/concept.html" = "/basic-syntax/module.html" "syntax-basics/comments.html" = "/basic-syntax/comments.html" @@ -27,10 +32,10 @@ edit-url-template = "https://github.com/MystenLabs/move-book/edit/second-edition "syntax-basics/function.html" = "/basic-syntax/function.html" "advanced-topics/struct.html" = "/basic-syntax/struct.html" +# advanced topics redirects "advanced-topics/index.html" = "/programmability/index.html" -# TBD Redirects - +# TODO: "advanced-topics/types-with-abilities/index.html" = "/index.html" "advanced-topics/ownership-and-references.html" = "/index.html" "advanced-topics/understanding-generics.html" = "/index.html" @@ -45,7 +50,6 @@ edit-url-template = "https://github.com/MystenLabs/move-book/edit/second-edition "resources/resource-by-example/destroy-resource.html" = "/index.html" "resources/resource-by-example/furher-steps.html" = "/index.html" - "tutorials/index.html" = "/index.html" "tutorials/erc20.html" = "/index.html" "translations.html" = "/index.html" diff --git a/src/SUMMARY.md b/book/SUMMARY.md similarity index 100% rename from src/SUMMARY.md rename to book/SUMMARY.md diff --git a/src/appendix/acknowledgements.md b/book/appendix/acknowledgements.md similarity index 100% rename from src/appendix/acknowledgements.md rename to book/appendix/acknowledgements.md diff --git a/src/appendix/contributing.md b/book/appendix/contributing.md similarity index 100% rename from src/appendix/contributing.md rename to book/appendix/contributing.md diff --git a/src/appendix/glossary.md b/book/appendix/glossary.md similarity index 100% rename from src/appendix/glossary.md rename to book/appendix/glossary.md diff --git a/src/appendix/publications.md b/book/appendix/publications.md similarity index 100% rename from src/appendix/publications.md rename to book/appendix/publications.md diff --git a/src/appendix/references.md b/book/appendix/references.md similarity index 100% rename from src/appendix/references.md rename to book/appendix/references.md diff --git a/src/basic-syntax/README.md b/book/basic-syntax/README.md similarity index 100% rename from src/basic-syntax/README.md rename to book/basic-syntax/README.md diff --git a/src/basic-syntax/address.md b/book/basic-syntax/address.md similarity index 100% rename from src/basic-syntax/address.md rename to book/basic-syntax/address.md diff --git a/src/basic-syntax/assert-and-abort.md b/book/basic-syntax/assert-and-abort.md similarity index 100% rename from src/basic-syntax/assert-and-abort.md rename to book/basic-syntax/assert-and-abort.md diff --git a/src/basic-syntax/comments.md b/book/basic-syntax/comments.md similarity index 100% rename from src/basic-syntax/comments.md rename to book/basic-syntax/comments.md diff --git a/src/basic-syntax/constants.md b/book/basic-syntax/constants.md similarity index 100% rename from src/basic-syntax/constants.md rename to book/basic-syntax/constants.md diff --git a/src/basic-syntax/control-flow.md b/book/basic-syntax/control-flow.md similarity index 100% rename from src/basic-syntax/control-flow.md rename to book/basic-syntax/control-flow.md diff --git a/src/basic-syntax/copy-ability.md b/book/basic-syntax/copy-ability.md similarity index 100% rename from src/basic-syntax/copy-ability.md rename to book/basic-syntax/copy-ability.md diff --git a/src/basic-syntax/drop-ability.md b/book/basic-syntax/drop-ability.md similarity index 100% rename from src/basic-syntax/drop-ability.md rename to book/basic-syntax/drop-ability.md diff --git a/src/basic-syntax/expression.md b/book/basic-syntax/expression.md similarity index 100% rename from src/basic-syntax/expression.md rename to book/basic-syntax/expression.md diff --git a/src/basic-syntax/function.md b/book/basic-syntax/function.md similarity index 100% rename from src/basic-syntax/function.md rename to book/basic-syntax/function.md diff --git a/src/basic-syntax/generics.md b/book/basic-syntax/generics.md similarity index 100% rename from src/basic-syntax/generics.md rename to book/basic-syntax/generics.md diff --git a/src/basic-syntax/importing-modules.md b/book/basic-syntax/importing-modules.md similarity index 100% rename from src/basic-syntax/importing-modules.md rename to book/basic-syntax/importing-modules.md diff --git a/src/basic-syntax/module.md b/book/basic-syntax/module.md similarity index 100% rename from src/basic-syntax/module.md rename to book/basic-syntax/module.md diff --git a/src/basic-syntax/option.md b/book/basic-syntax/option.md similarity index 100% rename from src/basic-syntax/option.md rename to book/basic-syntax/option.md diff --git a/src/basic-syntax/ownership-and-scope.md b/book/basic-syntax/ownership-and-scope.md similarity index 100% rename from src/basic-syntax/ownership-and-scope.md rename to book/basic-syntax/ownership-and-scope.md diff --git a/src/basic-syntax/primitive-types.md b/book/basic-syntax/primitive-types.md similarity index 100% rename from src/basic-syntax/primitive-types.md rename to book/basic-syntax/primitive-types.md diff --git a/src/basic-syntax/references.md b/book/basic-syntax/references.md similarity index 100% rename from src/basic-syntax/references.md rename to book/basic-syntax/references.md diff --git a/src/basic-syntax/standard-library.md b/book/basic-syntax/standard-library.md similarity index 100% rename from src/basic-syntax/standard-library.md rename to book/basic-syntax/standard-library.md diff --git a/src/basic-syntax/string.md b/book/basic-syntax/string.md similarity index 100% rename from src/basic-syntax/string.md rename to book/basic-syntax/string.md diff --git a/src/basic-syntax/struct-methods.md b/book/basic-syntax/struct-methods.md similarity index 100% rename from src/basic-syntax/struct-methods.md rename to book/basic-syntax/struct-methods.md diff --git a/src/basic-syntax/struct.md b/book/basic-syntax/struct.md similarity index 100% rename from src/basic-syntax/struct.md rename to book/basic-syntax/struct.md diff --git a/src/basic-syntax/testing.md b/book/basic-syntax/testing.md similarity index 100% rename from src/basic-syntax/testing.md rename to book/basic-syntax/testing.md diff --git a/src/basic-syntax/type-reflection.md b/book/basic-syntax/type-reflection.md similarity index 100% rename from src/basic-syntax/type-reflection.md rename to book/basic-syntax/type-reflection.md diff --git a/src/basic-syntax/vector.md b/book/basic-syntax/vector.md similarity index 100% rename from src/basic-syntax/vector.md rename to book/basic-syntax/vector.md diff --git a/src/basic-syntax/visibility.md b/book/basic-syntax/visibility.md similarity index 100% rename from src/basic-syntax/visibility.md rename to book/basic-syntax/visibility.md diff --git a/src/before-we-begin/README.md b/book/before-we-begin/README.md similarity index 100% rename from src/before-we-begin/README.md rename to book/before-we-begin/README.md diff --git a/src/before-we-begin/ide-support.md b/book/before-we-begin/ide-support.md similarity index 100% rename from src/before-we-begin/ide-support.md rename to book/before-we-begin/ide-support.md diff --git a/src/before-we-begin/install-sui.md b/book/before-we-begin/install-sui.md similarity index 100% rename from src/before-we-begin/install-sui.md rename to book/before-we-begin/install-sui.md diff --git a/src/before-we-begin/move-2024.md b/book/before-we-begin/move-2024.md similarity index 100% rename from src/before-we-begin/move-2024.md rename to book/before-we-begin/move-2024.md diff --git a/src/concepts/README.md b/book/concepts/README.md similarity index 100% rename from src/concepts/README.md rename to book/concepts/README.md diff --git a/src/concepts/address.md b/book/concepts/address.md similarity index 100% rename from src/concepts/address.md rename to book/concepts/address.md diff --git a/src/concepts/manifest.md b/book/concepts/manifest.md similarity index 100% rename from src/concepts/manifest.md rename to book/concepts/manifest.md diff --git a/src/concepts/modules.md b/book/concepts/modules.md similarity index 100% rename from src/concepts/modules.md rename to book/concepts/modules.md diff --git a/src/concepts/object-model.md b/book/concepts/object-model.md similarity index 100% rename from src/concepts/object-model.md rename to book/concepts/object-model.md diff --git a/src/concepts/packages.md b/book/concepts/packages.md similarity index 100% rename from src/concepts/packages.md rename to book/concepts/packages.md diff --git a/src/concepts/user-interaction.md b/book/concepts/user-interaction.md similarity index 100% rename from src/concepts/user-interaction.md rename to book/concepts/user-interaction.md diff --git a/src/concepts/what-is-a-transaction.md b/book/concepts/what-is-a-transaction.md similarity index 100% rename from src/concepts/what-is-a-transaction.md rename to book/concepts/what-is-a-transaction.md diff --git a/src/concepts/what-is-an-account.md b/book/concepts/what-is-an-account.md similarity index 77% rename from src/concepts/what-is-an-account.md rename to book/concepts/what-is-an-account.md index 7bfd7f3c..71b17162 100644 --- a/src/concepts/what-is-an-account.md +++ b/book/concepts/what-is-an-account.md @@ -17,6 +17,6 @@ An account is a way to identify a user. An account is generated from a private key, and is identified by an address. An account can own objects, and can send transactions. Every transaction has a sender, and the sender is identified by an [address](./address.md). -Sui supports multiple cryptographic algorithms for account generation. The supported two curves are ed25519, secp256k1, there is also a special way of generating an account - zklogin. The cryptographic agility - the unique feature of Sui - allows for flexibility in the account generation. +Sui supports multiple cryptographic algorithms for account generation. The two supported curves are ed25519, secp256k1, and there is also a special way of generating an account - zklogin. The cryptographic agility - the unique feature of Sui - allows for flexibility in the account generation. diff --git a/src/foreword.md b/book/foreword.md similarity index 100% rename from src/foreword.md rename to book/foreword.md diff --git a/src/guides/2024-migration-guide.md b/book/guides/2024-migration-guide.md similarity index 100% rename from src/guides/2024-migration-guide.md rename to book/guides/2024-migration-guide.md diff --git a/src/guides/README.md b/book/guides/README.md similarity index 100% rename from src/guides/README.md rename to book/guides/README.md diff --git a/src/guides/better-error-handling.md b/book/guides/better-error-handling.md similarity index 100% rename from src/guides/better-error-handling.md rename to book/guides/better-error-handling.md diff --git a/src/guides/building-against-limits.md b/book/guides/building-against-limits.md similarity index 100% rename from src/guides/building-against-limits.md rename to book/guides/building-against-limits.md diff --git a/src/guides/debugging.md b/book/guides/debugging.md similarity index 100% rename from src/guides/debugging.md rename to book/guides/debugging.md diff --git a/src/guides/open-sourcing-libraries.md b/book/guides/open-sourcing-libraries.md similarity index 100% rename from src/guides/open-sourcing-libraries.md rename to book/guides/open-sourcing-libraries.md diff --git a/src/guides/testing.md b/book/guides/testing.md similarity index 100% rename from src/guides/testing.md rename to book/guides/testing.md diff --git a/src/guides/upgradeability-practices.md b/book/guides/upgradeability-practices.md similarity index 100% rename from src/guides/upgradeability-practices.md rename to book/guides/upgradeability-practices.md diff --git a/src/hello-sui/README.md b/book/hello-sui/README.md similarity index 100% rename from src/hello-sui/README.md rename to book/hello-sui/README.md diff --git a/src/hello-sui/hello-sui.md b/book/hello-sui/hello-sui.md similarity index 100% rename from src/hello-sui/hello-sui.md rename to book/hello-sui/hello-sui.md diff --git a/src/hello-sui/module-structure.md b/book/hello-sui/module-structure.md similarity index 100% rename from src/hello-sui/module-structure.md rename to book/hello-sui/module-structure.md diff --git a/src/history.md b/book/history.md similarity index 100% rename from src/history.md rename to book/history.md diff --git a/src/introduction.md b/book/introduction.md similarity index 100% rename from src/introduction.md rename to book/introduction.md diff --git a/src/object/README.md b/book/object/README.md similarity index 100% rename from src/object/README.md rename to book/object/README.md diff --git a/src/object/key-ability.md b/book/object/key-ability.md similarity index 100% rename from src/object/key-ability.md rename to book/object/key-ability.md diff --git a/src/object/shared-state.md b/book/object/shared-state.md similarity index 100% rename from src/object/shared-state.md rename to book/object/shared-state.md diff --git a/src/object/store-ability.md b/book/object/store-ability.md similarity index 100% rename from src/object/store-ability.md rename to book/object/store-ability.md diff --git a/src/object/transfer-restrictions.md b/book/object/transfer-restrictions.md similarity index 100% rename from src/object/transfer-restrictions.md rename to book/object/transfer-restrictions.md diff --git a/src/object/transfer-to-object.md b/book/object/transfer-to-object.md similarity index 100% rename from src/object/transfer-to-object.md rename to book/object/transfer-to-object.md diff --git a/src/object/true-ownership.md b/book/object/true-ownership.md similarity index 100% rename from src/object/true-ownership.md rename to book/object/true-ownership.md diff --git a/src/object/what-is-an-object.md b/book/object/what-is-an-object.md similarity index 100% rename from src/object/what-is-an-object.md rename to book/object/what-is-an-object.md diff --git a/src/programmability/README.md b/book/programmability/README.md similarity index 100% rename from src/programmability/README.md rename to book/programmability/README.md diff --git a/src/programmability/abstract-class.md b/book/programmability/abstract-class.md similarity index 100% rename from src/programmability/abstract-class.md rename to book/programmability/abstract-class.md diff --git a/src/programmability/authorization-patterns.md b/book/programmability/authorization-patterns.md similarity index 100% rename from src/programmability/authorization-patterns.md rename to book/programmability/authorization-patterns.md diff --git a/src/programmability/balance-and-coin.md b/book/programmability/balance-and-coin.md similarity index 100% rename from src/programmability/balance-and-coin.md rename to book/programmability/balance-and-coin.md diff --git a/src/programmability/bcs.md b/book/programmability/bcs.md similarity index 100% rename from src/programmability/bcs.md rename to book/programmability/bcs.md diff --git a/src/programmability/capability.md b/book/programmability/capability.md similarity index 100% rename from src/programmability/capability.md rename to book/programmability/capability.md diff --git a/src/programmability/collections.md b/book/programmability/collections.md similarity index 100% rename from src/programmability/collections.md rename to book/programmability/collections.md diff --git a/src/programmability/cryptography-and-hashing.md b/book/programmability/cryptography-and-hashing.md similarity index 100% rename from src/programmability/cryptography-and-hashing.md rename to book/programmability/cryptography-and-hashing.md diff --git a/src/programmability/display.md b/book/programmability/display.md similarity index 100% rename from src/programmability/display.md rename to book/programmability/display.md diff --git a/src/programmability/dynamic-collections.md b/book/programmability/dynamic-collections.md similarity index 100% rename from src/programmability/dynamic-collections.md rename to book/programmability/dynamic-collections.md diff --git a/src/programmability/dynamic-fields.md b/book/programmability/dynamic-fields.md similarity index 100% rename from src/programmability/dynamic-fields.md rename to book/programmability/dynamic-fields.md diff --git a/src/programmability/dynamic-object-fields.md b/book/programmability/dynamic-object-fields.md similarity index 100% rename from src/programmability/dynamic-object-fields.md rename to book/programmability/dynamic-object-fields.md diff --git a/src/programmability/epoch-and-time.md b/book/programmability/epoch-and-time.md similarity index 100% rename from src/programmability/epoch-and-time.md rename to book/programmability/epoch-and-time.md diff --git a/src/programmability/events.md b/book/programmability/events.md similarity index 100% rename from src/programmability/events.md rename to book/programmability/events.md diff --git a/src/programmability/fast-path.md b/book/programmability/fast-path.md similarity index 100% rename from src/programmability/fast-path.md rename to book/programmability/fast-path.md diff --git a/src/programmability/module-initializer.md b/book/programmability/module-initializer.md similarity index 100% rename from src/programmability/module-initializer.md rename to book/programmability/module-initializer.md diff --git a/src/programmability/one-time-witness.md b/book/programmability/one-time-witness.md similarity index 100% rename from src/programmability/one-time-witness.md rename to book/programmability/one-time-witness.md diff --git a/src/programmability/package-upgrades.md b/book/programmability/package-upgrades.md similarity index 100% rename from src/programmability/package-upgrades.md rename to book/programmability/package-upgrades.md diff --git a/src/programmability/publisher.md b/book/programmability/publisher.md similarity index 100% rename from src/programmability/publisher.md rename to book/programmability/publisher.md diff --git a/src/programmability/randomness.md b/book/programmability/randomness.md similarity index 100% rename from src/programmability/randomness.md rename to book/programmability/randomness.md diff --git a/src/programmability/sui-framework.md b/book/programmability/sui-framework.md similarity index 100% rename from src/programmability/sui-framework.md rename to book/programmability/sui-framework.md diff --git a/src/programmability/transaction-blocks.md b/book/programmability/transaction-blocks.md similarity index 100% rename from src/programmability/transaction-blocks.md rename to book/programmability/transaction-blocks.md diff --git a/src/programmability/transaction-context.md b/book/programmability/transaction-context.md similarity index 100% rename from src/programmability/transaction-context.md rename to book/programmability/transaction-context.md diff --git a/src/programmability/witness-and-abstract-implementation.md b/book/programmability/witness-and-abstract-implementation.md similarity index 100% rename from src/programmability/witness-and-abstract-implementation.md rename to book/programmability/witness-and-abstract-implementation.md diff --git a/src/programmability/witness-pattern.md b/book/programmability/witness-pattern.md similarity index 100% rename from src/programmability/witness-pattern.md rename to book/programmability/witness-pattern.md diff --git a/src/your-first-move.md b/book/your-first-move.md similarity index 100% rename from src/your-first-move.md rename to book/your-first-move.md diff --git a/src/your-first-move/README.md b/book/your-first-move/README.md similarity index 100% rename from src/your-first-move/README.md rename to book/your-first-move/README.md diff --git a/src/your-first-move/_hello-world.md b/book/your-first-move/_hello-world.md similarity index 100% rename from src/your-first-move/_hello-world.md rename to book/your-first-move/_hello-world.md diff --git a/src/your-first-move/adding-tests.md b/book/your-first-move/adding-tests.md similarity index 100% rename from src/your-first-move/adding-tests.md rename to book/your-first-move/adding-tests.md diff --git a/src/your-first-move/debugging.md b/book/your-first-move/debugging.md similarity index 100% rename from src/your-first-move/debugging.md rename to book/your-first-move/debugging.md diff --git a/src/your-first-move/generating-docs.md b/book/your-first-move/generating-docs.md similarity index 100% rename from src/your-first-move/generating-docs.md rename to book/your-first-move/generating-docs.md diff --git a/src/your-first-move/hello-world.md b/book/your-first-move/hello-world.md similarity index 100% rename from src/your-first-move/hello-world.md rename to book/your-first-move/hello-world.md diff --git a/src/your-first-move/publishing.md b/book/your-first-move/publishing.md similarity index 100% rename from src/your-first-move/publishing.md rename to book/your-first-move/publishing.md diff --git a/temp.publish.sh b/temp.publish.sh index a3194462..687425e1 100755 --- a/temp.publish.sh +++ b/temp.publish.sh @@ -11,4 +11,4 @@ mv book sui; git add sui; git commit -m "update $time"; git push origin head; -git checkout second-edition; +git checkout main;