From 9fbbc9e2175450bd3b90143fff18e241db49e8ee Mon Sep 17 00:00:00 2001 From: ponderingdemocritus Date: Sun, 21 Jan 2024 10:39:43 +1100 Subject: [PATCH] update directory structure --- {next/dojo-book => dojo-book}/.gitignore | 0 {next/dojo-book => dojo-book}/README.md | 0 .../docs/pages}/cairo/authorization.md | 2 +- .../docs/pages}/cairo/commands.md | 4 +- .../docs/pages/cairo/config.md | 0 .../docs/pages/cairo/entities.md | 0 .../docs/pages/cairo/enum.md | 0 {src => dojo-book/docs/pages}/cairo/events.md | 8 +-- .../docs/pages}/cairo/hello-dojo.md | 12 ++-- .../docs/pages/cairo/metadata.md | 0 .../docs/pages/cairo/migration.md | 0 .../docs/pages/cairo/migration/0.3.0.md | 0 .../docs/pages/cairo/migration/0.4.0.md | 0 .../docs/pages/cairo/models.md | 0 .../docs/pages}/cairo/origami.md | 2 +- .../docs/pages/cairo/overview.md | 0 .../docs/pages}/cairo/systems.md | 4 +- .../docs/pages/cairo/testing.md | 0 {src => dojo-book/docs/pages}/cairo/world.md | 4 +- .../docs/pages/client/dojojs.md | 0 .../docs/pages/client/overview.md | 0 .../docs/pages/client/sdk/c.md | 0 .../docs/pages/client/sdk/dojojs.md | 0 .../docs/pages}/client/sdk/unity.md | 26 +++---- .../docs/pages/client/torii.md | 0 .../docs/pages}/community/get-started.md | 2 +- .../docs/pages}/deployment/locally.md | 6 +- .../docs/pages}/deployment/remote.md | 4 +- .../docs/pages/example.mdx | 0 .../docs/pages/getting-started.md | 0 .../pages}/getting-started/contributing.md | 0 .../pages}/getting-started/from-source.md | 2 +- .../pages}/getting-started/quick-start.md | 6 +- .../docs/pages}/getting-started/setup.md | 2 +- .../docs/pages/images/Built with.svg | 0 .../docs/pages/images/Dojo - Contracts.png | Bin .../docs/pages}/images/ECS.png | Bin .../docs/pages}/images/board.png | Bin .../docs/pages}/images/dojo-auth.png | Bin .../pages}/images/dojo-mark-full-dark.svg | 0 .../docs/pages}/images/dojo-sozo-workflow.jpg | Bin .../docs/pages/images/dojo.unity_demo.mp4 | Bin dojo-book/docs/pages/images/favicon.ico | Bin 0 -> 15406 bytes .../docs/pages/images/katana-icon-word.png | Bin .../docs/pages/images/katana-icon.png | Bin .../docs/pages/images/katana.png | Bin .../docs/pages/images/origami-icon-word.png | Bin .../docs/pages/images/origami-icon.png | Bin .../docs/pages/images/origami.png | Bin .../docs/pages/images/permissions.png | Bin .../docs/pages/images/slot-icon-word.png | Bin .../docs/pages/images/slot-icon.png | Bin .../docs/pages/images/sozo-icon-word.png | Bin .../docs/pages/images/sozo-icon.png | Bin .../docs/pages/images/torii-icon-word.png | Bin .../docs/pages/images/torii-icon.png | Bin .../docs/pages/images/unity-screen-grab.png | Bin .../docs/pages/images/unity/models.png | Bin .../docs/pages/images/unity/sync-master.png | Bin .../docs/pages/images/unity/world-manager.png | Bin .../docs/pages/images/world-map.png | Bin .../docs/pages/images/world_flow.png | Bin .../pages/images/worlds-dev-icon-word.png | Bin .../docs/pages/images/worlds-dev-icon.png | Bin .../docs/pages/index.mdx | 8 +-- .../docs/pages}/misc/contributors.md | 0 .../docs/pages/theory/autonomous-worlds.md | 0 {src => dojo-book/docs/pages}/theory/cairo.md | 4 +- {src => dojo-book/docs/pages}/theory/faqs.md | 6 +- .../docs/pages}/theory/what-is-dojo.md | 8 +-- .../docs/pages/toolchain/dojoup.md | 0 .../pages}/toolchain/katana/development.md | 0 .../docs/pages}/toolchain/katana/overview.md | 4 +- .../docs/pages/toolchain/katana/reference.md | 0 .../slot/deployments-commands/deployments.md | 0 .../docs/pages}/toolchain/slot/overview.md | 2 +- .../docs/pages/toolchain/slot/reference.md | 0 .../toolchain/sozo/common-options/offline.md | 0 .../toolchain/sozo/common-options/profile.md | 0 .../toolchain/sozo/common/account-options.md | 0 .../sozo/common/signer-options-keystore.md | 0 .../sozo/common/signer-options-raw.md | 0 .../toolchain/sozo/common/starknet-options.md | 0 .../toolchain/sozo/common/world-options.md | 0 .../docs/pages}/toolchain/sozo/development.md | 0 .../docs/pages}/toolchain/sozo/overview.md | 4 +- .../toolchain/sozo/project-commands/build.md | 0 .../toolchain/sozo/project-commands/init.md | 0 .../sozo/project-commands/migrate.md | 0 .../toolchain/sozo/project-commands/test.md | 0 .../docs/pages/toolchain/sozo/reference.md | 0 .../toolchain/sozo/world-commands/auth.md | 0 .../toolchain/sozo/world-commands/events.md | 0 .../toolchain/sozo/world-commands/execute.md | 0 .../toolchain/sozo/world-commands/model.md | 0 .../toolchain/sozo/world-commands/register.md | 0 .../toolchain/sozo/world-commands/system.md | 0 .../docs/pages}/toolchain/torii/graphql.md | 6 +- .../docs/pages}/toolchain/torii/grpc.md | 2 +- .../docs/pages}/toolchain/torii/overview.md | 10 +-- .../docs/pages/toolchain/torii/reference.md | 0 .../pages/tutorial/deploy-using-slot/main.md | 0 .../pages}/tutorial/onchain-chess/0-setup.md | 4 +- .../pages}/tutorial/onchain-chess/1-action.md | 2 +- .../pages/tutorial/onchain-chess/2-move.md | 0 .../pages/tutorial/onchain-chess/3-test.md | 0 .../pages/tutorial/onchain-chess/README.md | 0 .../docs/public/Built with.svg | 0 .../docs/public/Dojo - Contracts.png | Bin .../images => dojo-book/docs/public}/ECS.png | Bin .../docs/public}/board.png | Bin .../docs/public}/dojo-auth.png | Bin .../docs/public}/dojo-mark-full-dark.svg | 0 .../docs/public}/dojo-sozo-workflow.jpg | Bin .../docs/public/dojo.unity_demo.mp4 | Bin .../docs/public/katana-icon-word.png | Bin .../docs/public/katana-icon.png | Bin .../docs/public/katana.png | Bin .../docs/public/origami-icon-word.png | Bin .../docs/public/origami-icon.png | Bin .../docs/public/origami.png | Bin .../docs/public/permissions.png | Bin .../docs/public/slot-icon-word.png | Bin .../docs/public/slot-icon.png | Bin .../docs/public/sozo-icon-word.png | Bin .../docs/public/sozo-icon.png | Bin .../docs/public/torii-icon-word.png | Bin .../docs/public/torii-icon.png | Bin .../docs/public/unity-screen-grab.png | Bin .../docs/public/unity/models.png | Bin .../docs/public/unity/sync-master.png | Bin .../docs/public/unity/world-manager.png | Bin .../docs/public/world-map.png | Bin .../docs/public/world_flow.png | Bin .../docs/public/worlds-dev-icon-word.png | Bin .../docs/public/worlds-dev-icon.png | Bin {next/dojo-book => dojo-book}/package.json | 0 {next/dojo-book => dojo-book}/pnpm-lock.yaml | 0 {next/dojo-book => dojo-book}/tsconfig.json | 0 {next/dojo-book => dojo-book}/vocs.config.ts | 44 ++++++++++-- next/dojo-book/docs/pages/README.md | 21 ------ readme.md | 61 +--------------- .gitignore => rust-book-old/.gitignore | 0 {0.2.0 => rust-book-old/0.2.0}/book.toml | 0 {0.2.0 => rust-book-old/0.2.0}/po/es.po | 0 {0.2.0 => rust-book-old/0.2.0}/po/ja.po | 0 {0.2.0 => rust-book-old/0.2.0}/po/ko.po | 0 .../0.2.0}/po/messages.pot | 0 {0.2.0 => rust-book-old/0.2.0}/po/vi.po | 0 {0.2.0 => rust-book-old/0.2.0}/po/zh-cn.po | 0 {0.2.0 => rust-book-old/0.2.0}/src/README.md | 0 {0.2.0 => rust-book-old/0.2.0}/src/SUMMARY.md | 0 .../0.2.0}/src/cairo/authorization.md | 0 .../0.2.0}/src/cairo/commands.md | 0 .../0.2.0}/src/cairo/components.md | 0 .../0.2.0}/src/cairo/config.md | 0 .../0.2.0}/src/cairo/entities.md | 0 .../0.2.0}/src/cairo/events.md | 0 .../0.2.0}/src/cairo/hello-dojo.md | 0 .../0.2.0}/src/cairo/modules.md | 0 .../0.2.0}/src/cairo/modules/defi.md | 0 .../0.2.0}/src/cairo/modules/erc1155.md | 0 .../0.2.0}/src/cairo/modules/erc20.md | 0 .../0.2.0}/src/cairo/modules/erc721.md | 0 .../0.2.0}/src/cairo/systems.md | 0 .../0.2.0}/src/cairo/testing.md | 0 .../0.2.0}/src/cairo/world.md | 0 .../0.2.0}/src/client/npm.md | 0 .../0.2.0}/src/client/npm/core.md | 0 .../0.2.0}/src/client/overview.md | 0 .../0.2.0}/src/community/get-started.md | 0 .../0.2.0}/src/deployment/locally.md | 0 .../0.2.0}/src/deployment/remote.md | 0 .../0.2.0}/src/framework.md | 0 .../src}/getting-started/contributing.md | 0 .../0.2.0}/src/getting-started/from-source.md | 0 .../0.2.0}/src/getting-started/quick-start.md | 0 .../0.2.0}/src/getting-started/setup.md | 0 .../0.2.0/src/images}/ECS.png | Bin .../0.2.0/src/images}/board.png | Bin .../0.2.0/src/images}/dojo-auth.png | Bin .../0.2.0/src/images}/dojo-mark-full-dark.svg | 0 .../0.2.0/src/images}/dojo-sozo-workflow.jpg | Bin .../0.2.0/src}/misc/contributors.md | 0 .../0.2.0}/src/theory/autonomous-worlds.md | 0 .../0.2.0}/src/theory/cairo.md | 0 .../0.2.0}/src/theory/faqs.md | 0 .../0.2.0}/src/theory/what-is-dojo.md | 0 .../0.2.0}/src/toolchain/dojoup.md | 0 .../src}/toolchain/katana/development.md | 0 .../0.2.0}/src/toolchain/katana/overview.md | 0 .../0.2.0}/src/toolchain/katana/reference.md | 0 .../toolchain/sozo/common/account-options.md | 0 .../sozo/common/signer-options-keystore.md | 0 .../sozo/common/signer-options-raw.md | 0 .../toolchain/sozo/common/starknet-options.md | 0 .../toolchain/sozo/common/world-options.md | 0 .../0.2.0/src}/toolchain/sozo/development.md | 0 .../0.2.0}/src/toolchain/sozo/overview.md | 0 .../toolchain/sozo/project-commands/build.md | 0 .../toolchain/sozo/project-commands/init.md | 0 .../sozo/project-commands/migrate.md | 0 .../toolchain/sozo/project-commands/test.md | 0 .../0.2.0}/src/toolchain/sozo/reference.md | 0 .../src/toolchain/sozo/world-commands/auth.md | 0 .../sozo/world-commands/component.md | 0 .../toolchain/sozo/world-commands/events.md | 0 .../toolchain/sozo/world-commands/execute.md | 0 .../toolchain/sozo/world-commands/register.md | 0 .../toolchain/sozo/world-commands/system.md | 0 .../0.2.0}/src/toolchain/torii/overview.md | 0 .../0.2.0}/src/toolchain/torii/reference.md | 0 .../src/tutorial/onchain-chess/0-setup.md | 0 .../src/tutorial/onchain-chess/1-initiate.md | 0 .../src/tutorial/onchain-chess/2-move.md | 0 .../src/tutorial/onchain-chess/3-legal.md | 0 .../src/tutorial/onchain-chess/4-test.md | 0 .../src/tutorial/onchain-chess/README.md | 0 LANGUAGES => rust-book-old/LANGUAGES | 0 book.toml => rust-book-old/book.toml | 0 main.py => rust-book-old/main.py | 0 {po => rust-book-old/po}/cn.po | 0 {po => rust-book-old/po}/jp.po | 0 {po => rust-book-old/po}/ko.po | 0 {po => rust-book-old/po}/lt.po | 0 {po => rust-book-old/po}/messages.pot | 0 {po => rust-book-old/po}/vi.po | 0 rust-book-old/readme.md | 68 ++++++++++++++++++ .../requirements.txt | 0 {src => rust-book-old/src}/SUMMARY.md | 0 .../src}/cairo/authorization.md | 0 .../src}/cairo/commands.md | 0 {src => rust-book-old/src}/cairo/config.md | 0 {src => rust-book-old/src}/cairo/entities.md | 0 {src => rust-book-old/src}/cairo/enum.md | 0 .../src}/cairo/events.md | 0 .../src}/cairo/hello-dojo.md | 0 {src => rust-book-old/src}/cairo/metadata.md | 0 {src => rust-book-old/src}/cairo/migration.md | 0 .../src}/cairo/migration/0.3.0.md | 0 .../src}/cairo/migration/0.4.0.md | 0 {src => rust-book-old/src}/cairo/models.md | 0 .../src}/cairo/origami.md | 0 {src => rust-book-old/src}/cairo/overview.md | 0 .../src}/cairo/systems.md | 0 {src => rust-book-old/src}/cairo/testing.md | 0 .../src}/cairo/world.md | 0 {src => rust-book-old/src}/client/dojojs.md | 0 {src => rust-book-old/src}/client/overview.md | 0 {src => rust-book-old/src}/client/sdk/c.md | 0 .../src}/client/sdk/dojojs.md | 0 .../src}/client/sdk/unity.md | 0 {src => rust-book-old/src}/client/torii.md | 0 .../src}/community/get-started.md | 0 .../src}/deployment/locally.md | 0 .../src}/deployment/remote.md | 0 .../src}/getting-started/contributing.md | 0 .../src}/getting-started/from-source.md | 0 .../src}/getting-started/quick-start.md | 0 .../src}/getting-started/setup.md | 0 .../src}/images/Built with.svg | 0 .../src}/images/Dojo - Contracts.png | Bin {src => rust-book-old/src}/images/ECS.png | Bin {src => rust-book-old/src}/images/board.png | Bin .../src}/images/dojo-auth.png | Bin .../src}/images/dojo-mark-full-dark.svg | 0 .../src}/images/dojo-sozo-workflow.jpg | Bin .../src}/images/dojo.unity_demo.mp4 | Bin .../src}/images/katana-icon-word.png | Bin .../src}/images/katana-icon.png | Bin {src => rust-book-old/src}/images/katana.png | Bin .../src}/images/origami-icon-word.png | Bin .../src}/images/origami-icon.png | Bin {src => rust-book-old/src}/images/origami.png | Bin .../src}/images/permissions.png | Bin .../src}/images/slot-icon-word.png | Bin .../src}/images/slot-icon.png | Bin .../src}/images/sozo-icon-word.png | Bin .../src}/images/sozo-icon.png | Bin .../src}/images/torii-icon-word.png | Bin .../src}/images/torii-icon.png | Bin .../src}/images/unity-screen-grab.png | Bin .../src}/images/unity/models.png | Bin .../src}/images/unity/sync-master.png | Bin .../src}/images/unity/world-manager.png | Bin .../src}/images/world-map.png | Bin .../src}/images/world_flow.png | Bin .../src}/images/worlds-dev-icon-word.png | Bin .../src}/images/worlds-dev-icon.png | Bin .../src}/misc/contributors.md | 0 .../src}/theory/autonomous-worlds.md | 0 .../src}/theory/cairo.md | 0 .../src}/theory/faqs.md | 0 .../src}/theory/what-is-dojo.md | 0 .../src}/toolchain/dojoup.md | 0 .../src}/toolchain/katana/development.md | 0 .../src}/toolchain/katana/overview.md | 0 .../src}/toolchain/katana/reference.md | 0 .../slot/deployments-commands/deployments.md | 0 .../src}/toolchain/slot/overview.md | 0 .../src}/toolchain/slot/reference.md | 0 .../toolchain/sozo/common-options/offline.md | 0 .../toolchain/sozo/common-options/profile.md | 0 .../toolchain/sozo/common/account-options.md | 0 .../sozo/common/signer-options-keystore.md | 0 .../sozo/common/signer-options-raw.md | 0 .../toolchain/sozo/common/starknet-options.md | 0 .../toolchain/sozo/common/world-options.md | 0 .../src}/toolchain/sozo/development.md | 0 .../src}/toolchain/sozo/overview.md | 0 .../toolchain/sozo/project-commands/build.md | 0 .../toolchain/sozo/project-commands/init.md | 0 .../sozo/project-commands/migrate.md | 0 .../toolchain/sozo/project-commands/test.md | 0 .../src}/toolchain/sozo/reference.md | 0 .../toolchain/sozo/world-commands/auth.md | 0 .../toolchain/sozo/world-commands/events.md | 0 .../toolchain/sozo/world-commands/execute.md | 0 .../toolchain/sozo/world-commands/model.md | 0 .../toolchain/sozo/world-commands/register.md | 0 .../toolchain/sozo/world-commands/system.md | 0 .../src}/toolchain/torii/graphql.md | 0 .../src}/toolchain/torii/grpc.md | 0 .../src}/toolchain/torii/overview.md | 0 .../src}/toolchain/torii/reference.md | 0 .../src}/tutorial/deploy-using-slot/main.md | 0 .../src}/tutorial/onchain-chess/0-setup.md | 0 .../src}/tutorial/onchain-chess/1-action.md | 0 .../src}/tutorial/onchain-chess/2-move.md | 0 .../src}/tutorial/onchain-chess/3-test.md | 0 .../src}/tutorial/onchain-chess/README.md | 0 {theme => rust-book-old/theme}/book.js | 0 {theme => rust-book-old/theme}/card.png | Bin {theme => rust-book-old/theme}/css/chrome.css | 0 .../theme}/css/general.css | 0 {theme => rust-book-old/theme}/css/print.css | 0 .../theme}/css/variables.css | 0 {theme => rust-book-old/theme}/favicon.png | Bin {theme => rust-book-old/theme}/favicon.svg | 0 .../theme}/fonts/OPEN-SANS-LICENSE.txt | 0 .../theme}/fonts/SOURCE-CODE-PRO-LICENSE.txt | 0 .../theme}/fonts/fonts.css | 0 .../open-sans-v17-all-charsets-300.woff2 | Bin ...open-sans-v17-all-charsets-300italic.woff2 | Bin .../open-sans-v17-all-charsets-600.woff2 | Bin ...open-sans-v17-all-charsets-600italic.woff2 | Bin .../open-sans-v17-all-charsets-700.woff2 | Bin ...open-sans-v17-all-charsets-700italic.woff2 | Bin .../open-sans-v17-all-charsets-800.woff2 | Bin ...open-sans-v17-all-charsets-800italic.woff2 | Bin .../open-sans-v17-all-charsets-italic.woff2 | Bin .../open-sans-v17-all-charsets-regular.woff2 | Bin ...source-code-pro-v11-all-charsets-500.woff2 | Bin {theme => rust-book-old/theme}/head.hbs | 0 {theme => rust-book-old/theme}/highlight.css | 0 {theme => rust-book-old/theme}/highlight.js | 0 {theme => rust-book-old/theme}/index.hbs | 0 .../translations.sh | 0 358 files changed, 182 insertions(+), 156 deletions(-) rename {next/dojo-book => dojo-book}/.gitignore (100%) rename {next/dojo-book => dojo-book}/README.md (100%) rename {src => dojo-book/docs/pages}/cairo/authorization.md (95%) rename {src => dojo-book/docs/pages}/cairo/commands.md (95%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/config.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/entities.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/enum.md (100%) rename {src => dojo-book/docs/pages}/cairo/events.md (85%) rename {src => dojo-book/docs/pages}/cairo/hello-dojo.md (93%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/metadata.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/migration.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/migration/0.3.0.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/migration/0.4.0.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/models.md (100%) rename {src => dojo-book/docs/pages}/cairo/origami.md (91%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/overview.md (100%) rename {src => dojo-book/docs/pages}/cairo/systems.md (97%) rename {next/dojo-book => dojo-book}/docs/pages/cairo/testing.md (100%) rename {src => dojo-book/docs/pages}/cairo/world.md (96%) rename {next/dojo-book => dojo-book}/docs/pages/client/dojojs.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/client/overview.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/client/sdk/c.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/client/sdk/dojojs.md (100%) rename {src => dojo-book/docs/pages}/client/sdk/unity.md (69%) rename {next/dojo-book => dojo-book}/docs/pages/client/torii.md (100%) rename {src => dojo-book/docs/pages}/community/get-started.md (98%) rename {src => dojo-book/docs/pages}/deployment/locally.md (64%) rename {src => dojo-book/docs/pages}/deployment/remote.md (92%) rename {next/dojo-book => dojo-book}/docs/pages/example.mdx (100%) rename {next/dojo-book => dojo-book}/docs/pages/getting-started.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/getting-started/contributing.md (100%) rename {src => dojo-book/docs/pages}/getting-started/from-source.md (93%) rename {src => dojo-book/docs/pages}/getting-started/quick-start.md (57%) rename {src => dojo-book/docs/pages}/getting-started/setup.md (95%) rename {next/dojo-book => dojo-book}/docs/pages/images/Built with.svg (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/Dojo - Contracts.png (100%) rename {0.2.0/src => dojo-book/docs/pages}/images/ECS.png (100%) rename {0.2.0/src => dojo-book/docs/pages}/images/board.png (100%) rename {0.2.0/src => dojo-book/docs/pages}/images/dojo-auth.png (100%) rename {0.2.0/src => dojo-book/docs/pages}/images/dojo-mark-full-dark.svg (100%) rename {0.2.0/src => dojo-book/docs/pages}/images/dojo-sozo-workflow.jpg (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/dojo.unity_demo.mp4 (100%) create mode 100644 dojo-book/docs/pages/images/favicon.ico rename {next/dojo-book => dojo-book}/docs/pages/images/katana-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/katana-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/katana.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/origami-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/origami-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/origami.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/permissions.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/slot-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/slot-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/sozo-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/sozo-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/torii-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/torii-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/unity-screen-grab.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/unity/models.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/unity/sync-master.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/unity/world-manager.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/world-map.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/world_flow.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/worlds-dev-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/images/worlds-dev-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/pages/index.mdx (52%) rename {0.2.0/src => dojo-book/docs/pages}/misc/contributors.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/theory/autonomous-worlds.md (100%) rename {src => dojo-book/docs/pages}/theory/cairo.md (87%) rename {src => dojo-book/docs/pages}/theory/faqs.md (89%) rename {src => dojo-book/docs/pages}/theory/what-is-dojo.md (86%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/dojoup.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/katana/development.md (100%) rename {src => dojo-book/docs/pages}/toolchain/katana/overview.md (95%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/katana/reference.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/slot/deployments-commands/deployments.md (100%) rename {src => dojo-book/docs/pages}/toolchain/slot/overview.md (91%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/slot/reference.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/common-options/offline.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/common-options/profile.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/common/account-options.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/common/signer-options-keystore.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/common/signer-options-raw.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/common/starknet-options.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/common/world-options.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/development.md (100%) rename {src => dojo-book/docs/pages}/toolchain/sozo/overview.md (85%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/project-commands/build.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/project-commands/init.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/project-commands/migrate.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/project-commands/test.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/reference.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/world-commands/auth.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/world-commands/events.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/world-commands/execute.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/sozo/world-commands/model.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/world-commands/register.md (100%) rename {0.2.0/src => dojo-book/docs/pages}/toolchain/sozo/world-commands/system.md (100%) rename {src => dojo-book/docs/pages}/toolchain/torii/graphql.md (96%) rename {src => dojo-book/docs/pages}/toolchain/torii/grpc.md (72%) rename {src => dojo-book/docs/pages}/toolchain/torii/overview.md (79%) rename {next/dojo-book => dojo-book}/docs/pages/toolchain/torii/reference.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/tutorial/deploy-using-slot/main.md (100%) rename {src => dojo-book/docs/pages}/tutorial/onchain-chess/0-setup.md (97%) rename {src => dojo-book/docs/pages}/tutorial/onchain-chess/1-action.md (98%) rename {next/dojo-book => dojo-book}/docs/pages/tutorial/onchain-chess/2-move.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/tutorial/onchain-chess/3-test.md (100%) rename {next/dojo-book => dojo-book}/docs/pages/tutorial/onchain-chess/README.md (100%) rename {next/dojo-book => dojo-book}/docs/public/Built with.svg (100%) rename {next/dojo-book => dojo-book}/docs/public/Dojo - Contracts.png (100%) rename {next/dojo-book/docs/pages/images => dojo-book/docs/public}/ECS.png (100%) rename {next/dojo-book/docs/pages/images => dojo-book/docs/public}/board.png (100%) rename {next/dojo-book/docs/pages/images => dojo-book/docs/public}/dojo-auth.png (100%) rename {next/dojo-book/docs/pages/images => dojo-book/docs/public}/dojo-mark-full-dark.svg (100%) rename {next/dojo-book/docs/pages/images => dojo-book/docs/public}/dojo-sozo-workflow.jpg (100%) rename {next/dojo-book => dojo-book}/docs/public/dojo.unity_demo.mp4 (100%) rename {next/dojo-book => dojo-book}/docs/public/katana-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/public/katana-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/public/katana.png (100%) rename {next/dojo-book => dojo-book}/docs/public/origami-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/public/origami-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/public/origami.png (100%) rename {next/dojo-book => dojo-book}/docs/public/permissions.png (100%) rename {next/dojo-book => dojo-book}/docs/public/slot-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/public/slot-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/public/sozo-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/public/sozo-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/public/torii-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/public/torii-icon.png (100%) rename {next/dojo-book => dojo-book}/docs/public/unity-screen-grab.png (100%) rename {next/dojo-book => dojo-book}/docs/public/unity/models.png (100%) rename {next/dojo-book => dojo-book}/docs/public/unity/sync-master.png (100%) rename {next/dojo-book => dojo-book}/docs/public/unity/world-manager.png (100%) rename {next/dojo-book => dojo-book}/docs/public/world-map.png (100%) rename {next/dojo-book => dojo-book}/docs/public/world_flow.png (100%) rename {next/dojo-book => dojo-book}/docs/public/worlds-dev-icon-word.png (100%) rename {next/dojo-book => dojo-book}/docs/public/worlds-dev-icon.png (100%) rename {next/dojo-book => dojo-book}/package.json (100%) rename {next/dojo-book => dojo-book}/pnpm-lock.yaml (100%) rename {next/dojo-book => dojo-book}/tsconfig.json (100%) rename {next/dojo-book => dojo-book}/vocs.config.ts (84%) delete mode 100644 next/dojo-book/docs/pages/README.md rename .gitignore => rust-book-old/.gitignore (100%) rename {0.2.0 => rust-book-old/0.2.0}/book.toml (100%) rename {0.2.0 => rust-book-old/0.2.0}/po/es.po (100%) rename {0.2.0 => rust-book-old/0.2.0}/po/ja.po (100%) rename {0.2.0 => rust-book-old/0.2.0}/po/ko.po (100%) rename {0.2.0 => rust-book-old/0.2.0}/po/messages.pot (100%) rename {0.2.0 => rust-book-old/0.2.0}/po/vi.po (100%) rename {0.2.0 => rust-book-old/0.2.0}/po/zh-cn.po (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/README.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/SUMMARY.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/authorization.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/commands.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/components.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/config.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/entities.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/events.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/hello-dojo.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/modules.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/modules/defi.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/modules/erc1155.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/modules/erc20.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/modules/erc721.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/systems.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/testing.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/cairo/world.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/client/npm.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/client/npm/core.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/client/overview.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/community/get-started.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/deployment/locally.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/deployment/remote.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/framework.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/getting-started/contributing.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/getting-started/from-source.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/getting-started/quick-start.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/getting-started/setup.md (100%) rename {next/dojo-book/docs/public => rust-book-old/0.2.0/src/images}/ECS.png (100%) rename {next/dojo-book/docs/public => rust-book-old/0.2.0/src/images}/board.png (100%) rename {next/dojo-book/docs/public => rust-book-old/0.2.0/src/images}/dojo-auth.png (100%) rename {next/dojo-book/docs/public => rust-book-old/0.2.0/src/images}/dojo-mark-full-dark.svg (100%) rename {next/dojo-book/docs/public => rust-book-old/0.2.0/src/images}/dojo-sozo-workflow.jpg (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/misc/contributors.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/theory/autonomous-worlds.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/theory/cairo.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/theory/faqs.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/theory/what-is-dojo.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/dojoup.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/katana/development.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/katana/overview.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/katana/reference.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/common/account-options.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/common/signer-options-keystore.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/common/signer-options-raw.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/common/starknet-options.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/common/world-options.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/development.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/sozo/overview.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/project-commands/build.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/project-commands/init.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/sozo/project-commands/migrate.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/project-commands/test.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/sozo/reference.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/sozo/world-commands/auth.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/sozo/world-commands/component.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/world-commands/events.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/sozo/world-commands/execute.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/world-commands/register.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/0.2.0/src}/toolchain/sozo/world-commands/system.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/torii/overview.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/toolchain/torii/reference.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/tutorial/onchain-chess/0-setup.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/tutorial/onchain-chess/1-initiate.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/tutorial/onchain-chess/2-move.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/tutorial/onchain-chess/3-legal.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/tutorial/onchain-chess/4-test.md (100%) rename {0.2.0 => rust-book-old/0.2.0}/src/tutorial/onchain-chess/README.md (100%) rename LANGUAGES => rust-book-old/LANGUAGES (100%) rename book.toml => rust-book-old/book.toml (100%) rename main.py => rust-book-old/main.py (100%) rename {po => rust-book-old/po}/cn.po (100%) rename {po => rust-book-old/po}/jp.po (100%) rename {po => rust-book-old/po}/ko.po (100%) rename {po => rust-book-old/po}/lt.po (100%) rename {po => rust-book-old/po}/messages.pot (100%) rename {po => rust-book-old/po}/vi.po (100%) create mode 100644 rust-book-old/readme.md rename requirements.txt => rust-book-old/requirements.txt (100%) rename {src => rust-book-old/src}/SUMMARY.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/authorization.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/commands.md (100%) rename {src => rust-book-old/src}/cairo/config.md (100%) rename {src => rust-book-old/src}/cairo/entities.md (100%) rename {src => rust-book-old/src}/cairo/enum.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/events.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/hello-dojo.md (100%) rename {src => rust-book-old/src}/cairo/metadata.md (100%) rename {src => rust-book-old/src}/cairo/migration.md (100%) rename {src => rust-book-old/src}/cairo/migration/0.3.0.md (100%) rename {src => rust-book-old/src}/cairo/migration/0.4.0.md (100%) rename {src => rust-book-old/src}/cairo/models.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/origami.md (100%) rename {src => rust-book-old/src}/cairo/overview.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/systems.md (100%) rename {src => rust-book-old/src}/cairo/testing.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/cairo/world.md (100%) rename {src => rust-book-old/src}/client/dojojs.md (100%) rename {src => rust-book-old/src}/client/overview.md (100%) rename {src => rust-book-old/src}/client/sdk/c.md (100%) rename {src => rust-book-old/src}/client/sdk/dojojs.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/client/sdk/unity.md (100%) rename {src => rust-book-old/src}/client/torii.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/community/get-started.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/deployment/locally.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/deployment/remote.md (100%) rename {src => rust-book-old/src}/getting-started/contributing.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/getting-started/from-source.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/getting-started/quick-start.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/getting-started/setup.md (100%) rename {src => rust-book-old/src}/images/Built with.svg (100%) rename {src => rust-book-old/src}/images/Dojo - Contracts.png (100%) rename {src => rust-book-old/src}/images/ECS.png (100%) rename {src => rust-book-old/src}/images/board.png (100%) rename {src => rust-book-old/src}/images/dojo-auth.png (100%) rename {src => rust-book-old/src}/images/dojo-mark-full-dark.svg (100%) rename {src => rust-book-old/src}/images/dojo-sozo-workflow.jpg (100%) rename {src => rust-book-old/src}/images/dojo.unity_demo.mp4 (100%) rename {src => rust-book-old/src}/images/katana-icon-word.png (100%) rename {src => rust-book-old/src}/images/katana-icon.png (100%) rename {src => rust-book-old/src}/images/katana.png (100%) rename {src => rust-book-old/src}/images/origami-icon-word.png (100%) rename {src => rust-book-old/src}/images/origami-icon.png (100%) rename {src => rust-book-old/src}/images/origami.png (100%) rename {src => rust-book-old/src}/images/permissions.png (100%) rename {src => rust-book-old/src}/images/slot-icon-word.png (100%) rename {src => rust-book-old/src}/images/slot-icon.png (100%) rename {src => rust-book-old/src}/images/sozo-icon-word.png (100%) rename {src => rust-book-old/src}/images/sozo-icon.png (100%) rename {src => rust-book-old/src}/images/torii-icon-word.png (100%) rename {src => rust-book-old/src}/images/torii-icon.png (100%) rename {src => rust-book-old/src}/images/unity-screen-grab.png (100%) rename {src => rust-book-old/src}/images/unity/models.png (100%) rename {src => rust-book-old/src}/images/unity/sync-master.png (100%) rename {src => rust-book-old/src}/images/unity/world-manager.png (100%) rename {src => rust-book-old/src}/images/world-map.png (100%) rename {src => rust-book-old/src}/images/world_flow.png (100%) rename {src => rust-book-old/src}/images/worlds-dev-icon-word.png (100%) rename {src => rust-book-old/src}/images/worlds-dev-icon.png (100%) rename {src => rust-book-old/src}/misc/contributors.md (100%) rename {src => rust-book-old/src}/theory/autonomous-worlds.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/theory/cairo.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/theory/faqs.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/theory/what-is-dojo.md (100%) rename {src => rust-book-old/src}/toolchain/dojoup.md (100%) rename {src => rust-book-old/src}/toolchain/katana/development.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/toolchain/katana/overview.md (100%) rename {src => rust-book-old/src}/toolchain/katana/reference.md (100%) rename {src => rust-book-old/src}/toolchain/slot/deployments-commands/deployments.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/toolchain/slot/overview.md (100%) rename {src => rust-book-old/src}/toolchain/slot/reference.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common-options/offline.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common-options/profile.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common/account-options.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common/signer-options-keystore.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common/signer-options-raw.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common/starknet-options.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/common/world-options.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/development.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/toolchain/sozo/overview.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/project-commands/build.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/project-commands/init.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/project-commands/migrate.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/project-commands/test.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/reference.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/world-commands/auth.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/world-commands/events.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/world-commands/execute.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/world-commands/model.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/world-commands/register.md (100%) rename {src => rust-book-old/src}/toolchain/sozo/world-commands/system.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/toolchain/torii/graphql.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/toolchain/torii/grpc.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/toolchain/torii/overview.md (100%) rename {src => rust-book-old/src}/toolchain/torii/reference.md (100%) rename {src => rust-book-old/src}/tutorial/deploy-using-slot/main.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/tutorial/onchain-chess/0-setup.md (100%) rename {next/dojo-book/docs/pages => rust-book-old/src}/tutorial/onchain-chess/1-action.md (100%) rename {src => rust-book-old/src}/tutorial/onchain-chess/2-move.md (100%) rename {src => rust-book-old/src}/tutorial/onchain-chess/3-test.md (100%) rename {src => rust-book-old/src}/tutorial/onchain-chess/README.md (100%) rename {theme => rust-book-old/theme}/book.js (100%) rename {theme => rust-book-old/theme}/card.png (100%) rename {theme => rust-book-old/theme}/css/chrome.css (100%) rename {theme => rust-book-old/theme}/css/general.css (100%) rename {theme => rust-book-old/theme}/css/print.css (100%) rename {theme => rust-book-old/theme}/css/variables.css (100%) rename {theme => rust-book-old/theme}/favicon.png (100%) rename {theme => rust-book-old/theme}/favicon.svg (100%) rename {theme => rust-book-old/theme}/fonts/OPEN-SANS-LICENSE.txt (100%) rename {theme => rust-book-old/theme}/fonts/SOURCE-CODE-PRO-LICENSE.txt (100%) rename {theme => rust-book-old/theme}/fonts/fonts.css (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-300.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-300italic.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-600.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-600italic.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-700.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-700italic.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-800.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-800italic.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-italic.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/open-sans-v17-all-charsets-regular.woff2 (100%) rename {theme => rust-book-old/theme}/fonts/source-code-pro-v11-all-charsets-500.woff2 (100%) rename {theme => rust-book-old/theme}/head.hbs (100%) rename {theme => rust-book-old/theme}/highlight.css (100%) rename {theme => rust-book-old/theme}/highlight.js (100%) rename {theme => rust-book-old/theme}/index.hbs (100%) rename translations.sh => rust-book-old/translations.sh (100%) diff --git a/next/dojo-book/.gitignore b/dojo-book/.gitignore similarity index 100% rename from next/dojo-book/.gitignore rename to dojo-book/.gitignore diff --git a/next/dojo-book/README.md b/dojo-book/README.md similarity index 100% rename from next/dojo-book/README.md rename to dojo-book/README.md diff --git a/src/cairo/authorization.md b/dojo-book/docs/pages/cairo/authorization.md similarity index 95% rename from src/cairo/authorization.md rename to dojo-book/docs/pages/cairo/authorization.md index 810b182b..53f56893 100644 --- a/src/cairo/authorization.md +++ b/dojo-book/docs/pages/cairo/authorization.md @@ -8,7 +8,7 @@ As discussed in the [World](./world.md) chapter, Autonomous Worlds (AWs) functio Every time a `set!` is called in a `System`, the world checks if the `System` has authorization to update the model state. Only when the `System` possesses the necessary authorization, the `set!` is executed. The following diagram illustrates the authorization architecture. -![Authorization Architecture](../images/dojo-auth.png) +![Authorization Architecture](/dojo-auth.png) ### Providing Authorization diff --git a/src/cairo/commands.md b/dojo-book/docs/pages/cairo/commands.md similarity index 95% rename from src/cairo/commands.md rename to dojo-book/docs/pages/cairo/commands.md index 17d831af..09ea8376 100644 --- a/src/cairo/commands.md +++ b/dojo-book/docs/pages/cairo/commands.md @@ -62,13 +62,13 @@ Here we are updating the `Moves` and `Position` models in the world state using ### The `emit!` command -The `emit!` command is used to emit custom events. These events are indexed by [Torii](../toolchain/torii/overview.md). +The `emit!` command is used to emit custom events. These events are indexed by [Torii](/toolchain/torii/overview.md). ```rust,ignore emit!(world, Moved { address: caller, direction }); ``` -This will emit these values which could be captured by a client or you could query these via [Torii](../toolchain/torii/overview.md). +This will emit these values which could be captured by a client or you could query these via [Torii](/toolchain/torii/overview.md). ### The `delete!` command diff --git a/next/dojo-book/docs/pages/cairo/config.md b/dojo-book/docs/pages/cairo/config.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/config.md rename to dojo-book/docs/pages/cairo/config.md diff --git a/next/dojo-book/docs/pages/cairo/entities.md b/dojo-book/docs/pages/cairo/entities.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/entities.md rename to dojo-book/docs/pages/cairo/entities.md diff --git a/next/dojo-book/docs/pages/cairo/enum.md b/dojo-book/docs/pages/cairo/enum.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/enum.md rename to dojo-book/docs/pages/cairo/enum.md diff --git a/src/cairo/events.md b/dojo-book/docs/pages/cairo/events.md similarity index 85% rename from src/cairo/events.md rename to dojo-book/docs/pages/cairo/events.md index 79090c0c..9e7c056c 100644 --- a/src/cairo/events.md +++ b/dojo-book/docs/pages/cairo/events.md @@ -1,6 +1,6 @@ ## Events -Events play a pivotal role in decoding the dynamics of a Dojo world. Every time there's an update to a `Model`, the `World` contract emits these events. What's even more exciting is that you can craft your own custom events to fit specific needs! Moreover, thanks to [Torii](../toolchain/torii/overview.md), all these events are seamlessly indexed, ensuring easy and efficient querying. +Events play a pivotal role in decoding the dynamics of a Dojo world. Every time there's an update to a `Model`, the `World` contract emits these events. What's even more exciting is that you can craft your own custom events to fit specific needs! Moreover, thanks to [Torii](/toolchain/torii/overview.md), all these events are seamlessly indexed, ensuring easy and efficient querying. ### Model Events @@ -26,7 +26,7 @@ struct StoreSetRecord { } ``` -This will then be captured by [Torii](../toolchain/torii/overview.md) and indexed for querying. This will allow you to then reconstruct the state of your world. +This will then be captured by [Torii](/toolchain/torii/overview.md) and indexed for querying. This will allow you to then reconstruct the state of your world. Similarly, when a model is deleted, the `World` contract will emit an event with the following structure: @@ -74,11 +74,11 @@ struct ContractUpgraded { } ``` -These events are also captured by [Torii](../toolchain/torii/overview.md) and indexed for querying. +These events are also captured by [Torii](/toolchain/torii/overview.md) and indexed for querying. ### Custom Events -Within your game, emitting custom events can be highly beneficial. Fortunately, there's a handy `emit!` command that lets you release events directly from your world. These events are indexed by [Torii](../toolchain/torii/overview.md). +Within your game, emitting custom events can be highly beneficial. Fortunately, there's a handy `emit!` command that lets you release events directly from your world. These events are indexed by [Torii](/toolchain/torii/overview.md). Use it like so: diff --git a/src/cairo/hello-dojo.md b/dojo-book/docs/pages/cairo/hello-dojo.md similarity index 93% rename from src/cairo/hello-dojo.md rename to dojo-book/docs/pages/cairo/hello-dojo.md index 299c0bcd..f44307a8 100644 --- a/src/cairo/hello-dojo.md +++ b/dojo-book/docs/pages/cairo/hello-dojo.md @@ -1,6 +1,6 @@ # Hello Dojo -> This section assumes that you have already installed the Dojo toolchain and are familiar with Cairo. If not, please refer to the [Getting Started](../getting-started/quick-start.md) section. +> This section assumes that you have already installed the Dojo toolchain and are familiar with Cairo. If not, please refer to the [Getting Started](/getting-started/quick-start.md) section. ## Dojo as an ECS in 15 Minutes @@ -231,19 +231,19 @@ sozo build That compiled the models and system into an artifact that can be deployed! Simple as that! -Now, let's deploy it to [Katana](../toolchain/katana/overview.md)! First, we need to get Katana running. Open a second terminal and execute: +Now, let's deploy it to [Katana](/toolchain/katana/overview.md)! First, we need to get Katana running. Open a second terminal and execute: ```bash katana --disable-fee ``` -Success! [Katana](../toolchain/katana/overview.md) should now be running locally on your machine. Now, let's deploy! In your primary terminal, execute: +Success! [Katana](/toolchain/katana/overview.md) should now be running locally on your machine. Now, let's deploy! In your primary terminal, execute: ```bash sozo migrate ``` -This will deploy the artifact to [Katana](../toolchain/katana/overview.md). You should see terminal output similar to this: +This will deploy the artifact to [Katana](/toolchain/katana/overview.md). You should see terminal output similar to this: ```bash @@ -301,7 +301,7 @@ With your local world address established, let's delve into indexing. You can in torii --world 0x5010c31f127114c6198df8a5239e2b7a5151e1156fb43791e37e7385faa8138 ``` -Running the command mentioned above starts a [Torii](../toolchain/torii/overview.md) server on your local machine. This server uses SQLite as its database and is accessible at http://0.0.0.0:8080/graphql. [Torii](../toolchain/torii/overview.md) will automatically organize your data into tables, making it easy for you to perform queries using GraphQL. When you run the command, you'll see terminal output that looks something like this: +Running the command mentioned above starts a [Torii](/toolchain/torii/overview.md) server on your local machine. This server uses SQLite as its database and is accessible at http://0.0.0.0:8080/graphql. [Torii](/toolchain/torii/overview.md) will automatically organize your data into tables, making it easy for you to perform queries using GraphQL. When you run the command, you'll see terminal output that looks something like this: ```bash 2023-10-18T06:49:48.184233Z INFO torii::server: πŸš€ Torii listening at http://0.0.0.0:8080 @@ -418,7 +418,7 @@ Now, go back to your GraphiQL IDE, and you will notice that you have received th } ``` -In the GraphiQL IDE, by clicking the `DOCS`-button on the right, you can open the API documentation. This documentation is auto-generated based on our schema definition and displays all API operations and data types of our schema.. In order to know more about query and subscription, you can jump to [GraphQL](../toolchain/torii/graphql.md) section. +In the GraphiQL IDE, by clicking the `DOCS`-button on the right, you can open the API documentation. This documentation is auto-generated based on our schema definition and displays all API operations and data types of our schema.. In order to know more about query and subscription, you can jump to [GraphQL](/toolchain/torii/graphql.md) section. We've covered quite a bit! Here's a recap: - Built a Dojo world diff --git a/next/dojo-book/docs/pages/cairo/metadata.md b/dojo-book/docs/pages/cairo/metadata.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/metadata.md rename to dojo-book/docs/pages/cairo/metadata.md diff --git a/next/dojo-book/docs/pages/cairo/migration.md b/dojo-book/docs/pages/cairo/migration.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/migration.md rename to dojo-book/docs/pages/cairo/migration.md diff --git a/next/dojo-book/docs/pages/cairo/migration/0.3.0.md b/dojo-book/docs/pages/cairo/migration/0.3.0.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/migration/0.3.0.md rename to dojo-book/docs/pages/cairo/migration/0.3.0.md diff --git a/next/dojo-book/docs/pages/cairo/migration/0.4.0.md b/dojo-book/docs/pages/cairo/migration/0.4.0.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/migration/0.4.0.md rename to dojo-book/docs/pages/cairo/migration/0.4.0.md diff --git a/next/dojo-book/docs/pages/cairo/models.md b/dojo-book/docs/pages/cairo/models.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/models.md rename to dojo-book/docs/pages/cairo/models.md diff --git a/src/cairo/origami.md b/dojo-book/docs/pages/cairo/origami.md similarity index 91% rename from src/cairo/origami.md rename to dojo-book/docs/pages/cairo/origami.md index 26cc9879..908c8182 100644 --- a/src/cairo/origami.md +++ b/dojo-book/docs/pages/cairo/origami.md @@ -1,4 +1,4 @@ -![origami](../images/origami.png) +![origami](/origami.png) > The magic of origami is in seeing a single piece of cairo evolve into a masterpiece through careful folds. diff --git a/next/dojo-book/docs/pages/cairo/overview.md b/dojo-book/docs/pages/cairo/overview.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/overview.md rename to dojo-book/docs/pages/cairo/overview.md diff --git a/src/cairo/systems.md b/dojo-book/docs/pages/cairo/systems.md similarity index 97% rename from src/cairo/systems.md rename to dojo-book/docs/pages/cairo/systems.md index 817b0fcd..23932a86 100644 --- a/src/cairo/systems.md +++ b/dojo-book/docs/pages/cairo/systems.md @@ -22,7 +22,7 @@ Systems play a pivotal role in your world's logic, directly mutating its compone Since the whole contract is given write access to the model, it is important to be careful when defining systems. A simple way to think about it is: -![System Permissions](../images/permissions.png) +![System Permissions](/permissions.png) ### System Structure @@ -153,4 +153,4 @@ mod player_actions { } ``` -> To interact with Systems read more in the [sozo](../toolchain/sozo/overview.md) docs. +> To interact with Systems read more in the [sozo](/toolchain/sozo/overview.md) docs. diff --git a/next/dojo-book/docs/pages/cairo/testing.md b/dojo-book/docs/pages/cairo/testing.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/testing.md rename to dojo-book/docs/pages/cairo/testing.md diff --git a/src/cairo/world.md b/dojo-book/docs/pages/cairo/world.md similarity index 96% rename from src/cairo/world.md rename to dojo-book/docs/pages/cairo/world.md index 0d1fdab2..eb74c3d1 100644 --- a/src/cairo/world.md +++ b/dojo-book/docs/pages/cairo/world.md @@ -1,6 +1,6 @@ > **To think about:** Consider Autonomous Worlds as sovereign blockchains residing within another blockchain - a nested blockchain, so to speak. Just as you can deploy contracts onto Ethereum to enhance its functionality, you can similarly introduce systems into the World contract to enrich its features. While anyone can contribute to the World, akin to Ethereum, authorization is required to interact with model state. There is a dedicated topic to [Authorisation](./authorization.md). -![overview](../images/world-map.png) +![overview](/world-map.png) ## The World Contract @@ -16,7 +16,7 @@ The world contract emits all model events via the `StoreSetRecord` event. This e ### Full World API -The world exposes an interface which can be interacted with by any client. It is worth noting here that as a developer you don't deploy this world, it is deployed when you [migrate](../toolchain/sozo/overview.md) the world. +The world exposes an interface which can be interacted with by any client. It is worth noting here that as a developer you don't deploy this world, it is deployed when you [migrate](/toolchain/sozo/overview.md) the world. ```rust,ignore // World interface diff --git a/next/dojo-book/docs/pages/client/dojojs.md b/dojo-book/docs/pages/client/dojojs.md similarity index 100% rename from next/dojo-book/docs/pages/client/dojojs.md rename to dojo-book/docs/pages/client/dojojs.md diff --git a/next/dojo-book/docs/pages/client/overview.md b/dojo-book/docs/pages/client/overview.md similarity index 100% rename from next/dojo-book/docs/pages/client/overview.md rename to dojo-book/docs/pages/client/overview.md diff --git a/next/dojo-book/docs/pages/client/sdk/c.md b/dojo-book/docs/pages/client/sdk/c.md similarity index 100% rename from next/dojo-book/docs/pages/client/sdk/c.md rename to dojo-book/docs/pages/client/sdk/c.md diff --git a/next/dojo-book/docs/pages/client/sdk/dojojs.md b/dojo-book/docs/pages/client/sdk/dojojs.md similarity index 100% rename from next/dojo-book/docs/pages/client/sdk/dojojs.md rename to dojo-book/docs/pages/client/sdk/dojojs.md diff --git a/src/client/sdk/unity.md b/dojo-book/docs/pages/client/sdk/unity.md similarity index 69% rename from src/client/sdk/unity.md rename to dojo-book/docs/pages/client/sdk/unity.md index e3a13b94..313f837e 100644 --- a/src/client/sdk/unity.md +++ b/dojo-book/docs/pages/client/sdk/unity.md @@ -23,7 +23,7 @@ This will generate a `.dll` or `.so` binary in the `target/release` directory, d ### Watch video -[![Watch the video](../../images/unity-screen-grab.png)](../../images/dojo.unity_demo.mp4) +[![Watch the video](/unity-screen-grab.png)](/dojo.unity_demo.mp4) ## Dojo Unity Concepts @@ -31,7 +31,7 @@ Building on-chain games and worlds with Unity involves understanding several key ## World Manager -![world-manager](../../images/unity/world-manager.png) +![world-manager](/unity/world-manager.png) - **Function**: The World Manager acts as the central hub for your Dojo world within Unity. It's the starting point where all entities from your Dojo world will be managed. - **Implementation**: In your Unity scene, you'll find a `WorldManager` game object. Under this object, all entities from your Dojo world will be instantiated. @@ -39,7 +39,7 @@ Building on-chain games and worlds with Unity involves understanding several key ## Synchronization Master -![world-manager](../../images/unity/sync-master.png) +![world-manager](/unity/sync-master.png) - **Role**: This component is crucial for managing the synchronization of entities between your Dojo world and the Unity world. - **Features**: In the SynchronizationMaster, you can specify the maximum number of entities you want to synchronize. It also handles the synchronization of your models' components. @@ -49,13 +49,13 @@ Building on-chain games and worlds with Unity involves understanding several key ## Models -![models](../../images/unity/models.png) +![models](/unity/models.png) -You should have a deep understanding of models in dojo if not checkout out models [here](../../cairo/models.md) before continuing. +You should have a deep understanding of models in dojo if not checkout out models [here](/cairo/models.md) before continuing. ### What are Models in Dojo? -1. **Definition**: In Dojo, [models](../../cairo/models.md) are essential state that represent various parts of [entities](../../cairo/entities.md) within your game. They are the building blocks that make up the content of your game world. Read about [ECS](../../cairo/hello-dojo.md). +1. **Definition**: In Dojo, [models](/cairo/models.md) are essential state that represent various parts of [entities](/cairo/entities.md) within your game. They are the building blocks that make up the content of your game world. Read about [ECS](/cairo/hello-dojo.md). 2. **Synchronization Role**: @@ -64,19 +64,19 @@ You should have a deep understanding of models in dojo if not checkout out model 3. **Flexibility in Adding Models**: - - You have the freedom to add as many [models](../../cairo/models.md) as needed for your game's design and functionality. - - It's vital, however, to ensure that these [models](../../cairo/models.md) are consistent across both the Dojo and Unity. This means that for every model you have in Unity, there should be a corresponding model in your Dojo world. + - You have the freedom to add as many [models](/cairo/models.md) as needed for your game's design and functionality. + - It's vital, however, to ensure that these [models](/cairo/models.md) are consistent across both the Dojo and Unity. This means that for every model you have in Unity, there should be a corresponding model in your Dojo world. 4. **Future Developments**: - - An important aspect to note is that in future versions of the Dojo-Unity integration, the process of adding and synchronizing [models](../../cairo/models.md) will be further streamlined. - - The plan is to have these [models](../../cairo/models.md) auto-generated, which would significantly simplify the development process and reduce the manual effort required for synchronization. + - An important aspect to note is that in future versions of the Dojo-Unity integration, the process of adding and synchronizing [models](/cairo/models.md) will be further streamlined. + - The plan is to have these [models](/cairo/models.md) auto-generated, which would significantly simplify the development process and reduce the manual effort required for synchronization. 5. **Importance of Understanding Models**: - - Before diving into game development with Dojo in Unity, it’s recommended to have a solid understanding of how [models](../../cairo/models.md) work in the Dojo environment. + - Before diving into game development with Dojo in Unity, it’s recommended to have a solid understanding of how [models](/cairo/models.md) work in the Dojo environment. - This knowledge is crucial for effectively designing and implementing game elements that interact seamlessly between the blockchain and the game's user interface. -In summary, [models](../../cairo/models.md) are the bridge between the onchain (Dojo) and off-chain (Unity) aspects of your game. +In summary, [models](/cairo/models.md) are the bridge between the onchain (Dojo) and off-chain (Unity) aspects of your game. ### Adding Models @@ -91,7 +91,7 @@ The process to add models is: ### Entities -Via toriiClient [models](../../cairo/entities.md) are synced to Unity and are comprised of the models that you defined. +Via toriiClient [models](/cairo/entities.md) are synced to Unity and are comprised of the models that you defined. ### Starter Project diff --git a/next/dojo-book/docs/pages/client/torii.md b/dojo-book/docs/pages/client/torii.md similarity index 100% rename from next/dojo-book/docs/pages/client/torii.md rename to dojo-book/docs/pages/client/torii.md diff --git a/src/community/get-started.md b/dojo-book/docs/pages/community/get-started.md similarity index 98% rename from src/community/get-started.md rename to dojo-book/docs/pages/community/get-started.md index 1a4dde88..58df884e 100644 --- a/src/community/get-started.md +++ b/dojo-book/docs/pages/community/get-started.md @@ -10,7 +10,7 @@ Dojo is a thriving community of builders, artists, and deep thinkers, pushing th ## Ecosystem & Studios powered by Dojo -![dojo](../images/Built%20with.svg) +![dojo](/Built%20with.svg) #### Realms World diff --git a/src/deployment/locally.md b/dojo-book/docs/pages/deployment/locally.md similarity index 64% rename from src/deployment/locally.md rename to dojo-book/docs/pages/deployment/locally.md index 6cff1eac..ff126aed 100644 --- a/src/deployment/locally.md +++ b/dojo-book/docs/pages/deployment/locally.md @@ -1,12 +1,12 @@ ## Local Deployment with Katana -Experience the power of rapid development with Dojo, featuring the ultra-fast local development sequencer, [Katana](../toolchain/katana/overview.md). Katana acts as an on-device Starknet, enabling thorough testing of your dojo world in a controlled environment before migrating them to the remote testnet. +Experience the power of rapid development with Dojo, featuring the ultra-fast local development sequencer, [Katana](/toolchain/katana/overview.md). Katana acts as an on-device Starknet, enabling thorough testing of your dojo world in a controlled environment before migrating them to the remote testnet. ### Easy Katana Deployments Deploying to Katana is straightforward and efficient. -> **Pre-requisite:** Ensure you've completed the [Quick Start](../getting-started/quick-start.md) guide and have your project set up. +> **Pre-requisite:** Ensure you've completed the [Quick Start](/getting-started/quick-start.md) guide and have your project set up. To initiate Katana from your project directory, execute: @@ -38,4 +38,4 @@ Deploying your project to Katana involves a few simple steps.\ sozo migrate ``` -Success! You have now migrated your world. You will be able to interact with the world using [sozo](../toolchain/sozo/overview.md). +Success! You have now migrated your world. You will be able to interact with the world using [sozo](/toolchain/sozo/overview.md). diff --git a/src/deployment/remote.md b/dojo-book/docs/pages/deployment/remote.md similarity index 92% rename from src/deployment/remote.md rename to dojo-book/docs/pages/deployment/remote.md index 7fc05e56..95cd0119 100644 --- a/src/deployment/remote.md +++ b/dojo-book/docs/pages/deployment/remote.md @@ -41,11 +41,11 @@ world_address = "0x5b328933afdbbfd44901fd69a2764a254edbb6e992ae87cf958c70493f2d2 If you credentials are correct in the Scarb.toml then a simple migrate will deploy the world to Starknet. -### Deploy to Remote [Katana](../toolchain/katana/overview.md) +### Deploy to Remote [Katana](/toolchain/katana/overview.md) Katanas are able to be hosted and run as remote testnets, however this is not recommended for production use. -Deploy to remote katana with slot [here](../tutorial/deploy-using-slot/main.md) +Deploy to remote katana with slot [here](/tutorial/deploy-using-slot/main.md) ### Deploy to Remote Madara diff --git a/next/dojo-book/docs/pages/example.mdx b/dojo-book/docs/pages/example.mdx similarity index 100% rename from next/dojo-book/docs/pages/example.mdx rename to dojo-book/docs/pages/example.mdx diff --git a/next/dojo-book/docs/pages/getting-started.md b/dojo-book/docs/pages/getting-started.md similarity index 100% rename from next/dojo-book/docs/pages/getting-started.md rename to dojo-book/docs/pages/getting-started.md diff --git a/0.2.0/src/getting-started/contributing.md b/dojo-book/docs/pages/getting-started/contributing.md similarity index 100% rename from 0.2.0/src/getting-started/contributing.md rename to dojo-book/docs/pages/getting-started/contributing.md diff --git a/src/getting-started/from-source.md b/dojo-book/docs/pages/getting-started/from-source.md similarity index 93% rename from src/getting-started/from-source.md rename to dojo-book/docs/pages/getting-started/from-source.md index 2ffc31ca..e017c861 100644 --- a/src/getting-started/from-source.md +++ b/dojo-book/docs/pages/getting-started/from-source.md @@ -12,7 +12,7 @@ installed with the "Desktop Development With C++" Workloads option. #### Building -You can either use the different [Dojoup](../toolchain/dojoup.md) flags: +You can either use the different [Dojoup](/toolchain/dojoup.md) flags: ```sh dojoup --branch master diff --git a/src/getting-started/quick-start.md b/dojo-book/docs/pages/getting-started/quick-start.md similarity index 57% rename from src/getting-started/quick-start.md rename to dojo-book/docs/pages/getting-started/quick-start.md index 6fc8a443..a401e9b8 100644 --- a/src/getting-started/quick-start.md +++ b/dojo-book/docs/pages/getting-started/quick-start.md @@ -1,6 +1,6 @@ ## Quick Start -> It is worth reading [theory](../theory/autonomous-worlds.md) to familiarize yourself with the concept of Autonomous Worlds (AWs) and the [Cairo ecosystem](../theory/cairo.md) before diving into the code. +> It is worth reading [theory](/theory/autonomous-worlds.md) to familiarize yourself with the concept of Autonomous Worlds (AWs) and the [Cairo ecosystem](/theory/cairo.md) before diving into the code. ### Install Dojoup @@ -17,8 +17,8 @@ which will make the `dojoup` command available in your CLI. dojoup ``` -For full `dojoup` reference and debugging see [Dojoup](../toolchain/dojoup.md). +For full `dojoup` reference and debugging see [Dojoup](/toolchain/dojoup.md). ### Next steps -> Head to [Hello Dojo](../cairo/hello-dojo.md) to get create your first Dojo world. +> Head to [Hello Dojo](/cairo/hello-dojo.md) to get create your first Dojo world. diff --git a/src/getting-started/setup.md b/dojo-book/docs/pages/getting-started/setup.md similarity index 95% rename from src/getting-started/setup.md rename to dojo-book/docs/pages/getting-started/setup.md index 53c2e044..74495b0b 100644 --- a/src/getting-started/setup.md +++ b/dojo-book/docs/pages/getting-started/setup.md @@ -1,6 +1,6 @@ # Development Setup -> This is a guide to setting up a development environment for Dojo. It is not suggested to follow this guide if you are just wanting to play with the toolchain. We strongly suggest following the [Quick Start](../getting-started/quick-start.md) guide. +> This is a guide to setting up a development environment for Dojo. It is not suggested to follow this guide if you are just wanting to play with the toolchain. We strongly suggest following the [Quick Start](/getting-started/quick-start.md) guide. ### Prerequisites diff --git a/next/dojo-book/docs/pages/images/Built with.svg b/dojo-book/docs/pages/images/Built with.svg similarity index 100% rename from next/dojo-book/docs/pages/images/Built with.svg rename to dojo-book/docs/pages/images/Built with.svg diff --git a/next/dojo-book/docs/pages/images/Dojo - Contracts.png b/dojo-book/docs/pages/images/Dojo - Contracts.png similarity index 100% rename from next/dojo-book/docs/pages/images/Dojo - Contracts.png rename to dojo-book/docs/pages/images/Dojo - Contracts.png diff --git a/0.2.0/src/images/ECS.png b/dojo-book/docs/pages/images/ECS.png similarity index 100% rename from 0.2.0/src/images/ECS.png rename to dojo-book/docs/pages/images/ECS.png diff --git a/0.2.0/src/images/board.png b/dojo-book/docs/pages/images/board.png similarity index 100% rename from 0.2.0/src/images/board.png rename to dojo-book/docs/pages/images/board.png diff --git a/0.2.0/src/images/dojo-auth.png b/dojo-book/docs/pages/images/dojo-auth.png similarity index 100% rename from 0.2.0/src/images/dojo-auth.png rename to dojo-book/docs/pages/images/dojo-auth.png diff --git a/0.2.0/src/images/dojo-mark-full-dark.svg b/dojo-book/docs/pages/images/dojo-mark-full-dark.svg similarity index 100% rename from 0.2.0/src/images/dojo-mark-full-dark.svg rename to dojo-book/docs/pages/images/dojo-mark-full-dark.svg diff --git a/0.2.0/src/images/dojo-sozo-workflow.jpg b/dojo-book/docs/pages/images/dojo-sozo-workflow.jpg similarity index 100% rename from 0.2.0/src/images/dojo-sozo-workflow.jpg rename to dojo-book/docs/pages/images/dojo-sozo-workflow.jpg diff --git a/next/dojo-book/docs/pages/images/dojo.unity_demo.mp4 b/dojo-book/docs/pages/images/dojo.unity_demo.mp4 similarity index 100% rename from next/dojo-book/docs/pages/images/dojo.unity_demo.mp4 rename to dojo-book/docs/pages/images/dojo.unity_demo.mp4 diff --git a/dojo-book/docs/pages/images/favicon.ico b/dojo-book/docs/pages/images/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..21c80f81e9081a9bfc7a913b7ce6f9f671852758 GIT binary patch literal 15406 zcmeI2TZmO<6vy|Bb}#6DC7J@wq{cHBC&!A8b1vf;+60+WFFl0T^c>-ZNRZTCREPqN zdqVm`*OZ-t^c>a z^{v|;&uj6fc{kqZac%Qnp6+=)p69i-m7Zta3wHAwZooGduT@hFK(%E)pzT2|7jJ=iXu>C%5FJ^51z<^y}In4{(!V|PkV0S{p>bl4|lGNR{#FQ2h*mON%RB%QB4(Y^-rg z6aOXVZx7pq_T1mMs@RcnGS_Jf1KGh<`q19T*uQO2b|m|e4M;|4E!vm!(tDKs1USUo z*#i5S@339c75d&>$k?Jvb`#7CU!~J*)~=SGbszqHsyxfjv_V-&{;B!*|IvWXl+Hx| z6Lyy)?&UYaXE)6iFYdBy`+Dsj&hbpn^8n{@6~1k&$lZ6@OPr_dl1J^1G;xSmuE%c4 zcUnLGMTf9GY8bw_L3lB)iyc5924_gV$eS z{&Am?e-_-IVP2_z`F@PW0iO%e0Lsu+)J#RF_HXympy`v5#NR?+IbQTtm%aEgKB5e&lTib zP9%|0Z4Nw7u@FpmEf7Udg^Uk&EE;}5uW?l&r?m9Mkf zz4pk@JNBTvy5cYE*dtyO?RyxHat7re$^lrz8QD;jjw`+Q_x$rD`A2|7nEgCtgW|E% zWfdGg#&cYi3+}Ep?+E0UUxh(?2hRoYR9qh6s{B(jN;zoBx13Z~#t}_YiSUS1Y)d}cz3;Oxx%A1qu6V+M7k#)-@Q0%w?6fV z-PA?QPQX0%De6-z7g5hzaXU*s1I}*h@nz(AuaV=eb;Lcn>T+_f0e*k7IM?oV--%Xe z9gW|Qz&844^ZlsP`oQ)qIo3*-lV)rexz<iTB~@buHXs``9?6^)e+tH05}TJ7I5iX(0=ZZan*N=3nHE!1cfEnP}}r#=)pFS>q3`bPdQ&?(-j=NhLL(6^a$&}ryb=m7K9 zp@Y15OGavd%NR*F+HY)oC3*NxsMF67sh+}bIDhK#~!R)IM3SRq?#6RwQU2d=A&tF}?2ln${ z)jwxX_0JEgMO8z`wx20-euW=W-ML)#e;oV@a#P5E%Ks0`m#B9U7e76LR`nA6`tTV3 zH}!l!Ml4XwJca#yrk;iRE^*_R_P~9|Aa1~8KloGo<{1NbaORaSs?L8~{g&GD2hUUf z#@;;(eF6{l3klKMsaq4S=jPo+Hs`yuDgYSm@!<1eaK1^YVH zuJzQv4nKJ-ycW2gPpQW-X}$dT#Wsu%*3_zA>j> z#|t}rUH?RVEXho(pQv7v>%C=6{VVl=j$%(~^{?d5E@7L0u!hw8SHZ4G7wWC_UaCbkMsf8ZXY_rpLr_7z zwtD-8QJBN;s`H1%?z$#Y~f3E`#txE!Kd#RUqQPx23jv$5pLDx z+ShvgWEfxkXKQhNE^-a^Tikaq>VD;mV0;>UuYz-}@^^g7GW7&BMq`x|D6S@rP4O|- zGP3mj&ei|(?RNETg70_2t-PG5n7AKX3zB-q%DyU5Jv^Ipn;K|pps9hT2GZ5Q-^>)k AYXATM literal 0 HcmV?d00001 diff --git a/next/dojo-book/docs/pages/images/katana-icon-word.png b/dojo-book/docs/pages/images/katana-icon-word.png similarity index 100% rename from next/dojo-book/docs/pages/images/katana-icon-word.png rename to dojo-book/docs/pages/images/katana-icon-word.png diff --git a/next/dojo-book/docs/pages/images/katana-icon.png b/dojo-book/docs/pages/images/katana-icon.png similarity index 100% rename from next/dojo-book/docs/pages/images/katana-icon.png rename to dojo-book/docs/pages/images/katana-icon.png diff --git a/next/dojo-book/docs/pages/images/katana.png b/dojo-book/docs/pages/images/katana.png similarity index 100% rename from next/dojo-book/docs/pages/images/katana.png rename to dojo-book/docs/pages/images/katana.png diff --git a/next/dojo-book/docs/pages/images/origami-icon-word.png b/dojo-book/docs/pages/images/origami-icon-word.png similarity index 100% rename from next/dojo-book/docs/pages/images/origami-icon-word.png rename to dojo-book/docs/pages/images/origami-icon-word.png diff --git a/next/dojo-book/docs/pages/images/origami-icon.png b/dojo-book/docs/pages/images/origami-icon.png similarity index 100% rename from next/dojo-book/docs/pages/images/origami-icon.png rename to dojo-book/docs/pages/images/origami-icon.png diff --git a/next/dojo-book/docs/pages/images/origami.png b/dojo-book/docs/pages/images/origami.png similarity index 100% rename from next/dojo-book/docs/pages/images/origami.png rename to dojo-book/docs/pages/images/origami.png diff --git a/next/dojo-book/docs/pages/images/permissions.png b/dojo-book/docs/pages/images/permissions.png similarity index 100% rename from next/dojo-book/docs/pages/images/permissions.png rename to dojo-book/docs/pages/images/permissions.png diff --git a/next/dojo-book/docs/pages/images/slot-icon-word.png b/dojo-book/docs/pages/images/slot-icon-word.png similarity index 100% rename from next/dojo-book/docs/pages/images/slot-icon-word.png rename to dojo-book/docs/pages/images/slot-icon-word.png diff --git a/next/dojo-book/docs/pages/images/slot-icon.png b/dojo-book/docs/pages/images/slot-icon.png similarity index 100% rename from next/dojo-book/docs/pages/images/slot-icon.png rename to dojo-book/docs/pages/images/slot-icon.png diff --git a/next/dojo-book/docs/pages/images/sozo-icon-word.png b/dojo-book/docs/pages/images/sozo-icon-word.png similarity index 100% rename from next/dojo-book/docs/pages/images/sozo-icon-word.png rename to dojo-book/docs/pages/images/sozo-icon-word.png diff --git a/next/dojo-book/docs/pages/images/sozo-icon.png b/dojo-book/docs/pages/images/sozo-icon.png similarity index 100% rename from next/dojo-book/docs/pages/images/sozo-icon.png rename to dojo-book/docs/pages/images/sozo-icon.png diff --git a/next/dojo-book/docs/pages/images/torii-icon-word.png b/dojo-book/docs/pages/images/torii-icon-word.png similarity index 100% rename from next/dojo-book/docs/pages/images/torii-icon-word.png rename to dojo-book/docs/pages/images/torii-icon-word.png diff --git a/next/dojo-book/docs/pages/images/torii-icon.png b/dojo-book/docs/pages/images/torii-icon.png similarity index 100% rename from next/dojo-book/docs/pages/images/torii-icon.png rename to dojo-book/docs/pages/images/torii-icon.png diff --git a/next/dojo-book/docs/pages/images/unity-screen-grab.png b/dojo-book/docs/pages/images/unity-screen-grab.png similarity index 100% rename from next/dojo-book/docs/pages/images/unity-screen-grab.png rename to dojo-book/docs/pages/images/unity-screen-grab.png diff --git a/next/dojo-book/docs/pages/images/unity/models.png b/dojo-book/docs/pages/images/unity/models.png similarity index 100% rename from next/dojo-book/docs/pages/images/unity/models.png rename to dojo-book/docs/pages/images/unity/models.png diff --git a/next/dojo-book/docs/pages/images/unity/sync-master.png b/dojo-book/docs/pages/images/unity/sync-master.png similarity index 100% rename from next/dojo-book/docs/pages/images/unity/sync-master.png rename to dojo-book/docs/pages/images/unity/sync-master.png diff --git a/next/dojo-book/docs/pages/images/unity/world-manager.png b/dojo-book/docs/pages/images/unity/world-manager.png similarity index 100% rename from next/dojo-book/docs/pages/images/unity/world-manager.png rename to dojo-book/docs/pages/images/unity/world-manager.png diff --git a/next/dojo-book/docs/pages/images/world-map.png b/dojo-book/docs/pages/images/world-map.png similarity index 100% rename from next/dojo-book/docs/pages/images/world-map.png rename to dojo-book/docs/pages/images/world-map.png diff --git a/next/dojo-book/docs/pages/images/world_flow.png b/dojo-book/docs/pages/images/world_flow.png similarity index 100% rename from next/dojo-book/docs/pages/images/world_flow.png rename to dojo-book/docs/pages/images/world_flow.png diff --git a/next/dojo-book/docs/pages/images/worlds-dev-icon-word.png b/dojo-book/docs/pages/images/worlds-dev-icon-word.png similarity index 100% rename from next/dojo-book/docs/pages/images/worlds-dev-icon-word.png rename to dojo-book/docs/pages/images/worlds-dev-icon-word.png diff --git a/next/dojo-book/docs/pages/images/worlds-dev-icon.png b/dojo-book/docs/pages/images/worlds-dev-icon.png similarity index 100% rename from next/dojo-book/docs/pages/images/worlds-dev-icon.png rename to dojo-book/docs/pages/images/worlds-dev-icon.png diff --git a/next/dojo-book/docs/pages/index.mdx b/dojo-book/docs/pages/index.mdx similarity index 52% rename from next/dojo-book/docs/pages/index.mdx rename to dojo-book/docs/pages/index.mdx index 56a45783..c1f61799 100644 --- a/next/dojo-book/docs/pages/index.mdx +++ b/dojo-book/docs/pages/index.mdx @@ -6,16 +6,16 @@ import { HomePage } from "vocs/components"; - My Awesome Docs - + {/* Enter the Dojo */} + {/* */} - This is a description of my documentation website. + Dojo is a community driven open-source, Provable Game Engine, providing a comprehensive toolkit for building verifiable games and autonomous worlds. Get started - + GitHub diff --git a/0.2.0/src/misc/contributors.md b/dojo-book/docs/pages/misc/contributors.md similarity index 100% rename from 0.2.0/src/misc/contributors.md rename to dojo-book/docs/pages/misc/contributors.md diff --git a/next/dojo-book/docs/pages/theory/autonomous-worlds.md b/dojo-book/docs/pages/theory/autonomous-worlds.md similarity index 100% rename from next/dojo-book/docs/pages/theory/autonomous-worlds.md rename to dojo-book/docs/pages/theory/autonomous-worlds.md diff --git a/src/theory/cairo.md b/dojo-book/docs/pages/theory/cairo.md similarity index 87% rename from src/theory/cairo.md rename to dojo-book/docs/pages/theory/cairo.md index a68c9f5a..c89190ee 100644 --- a/src/theory/cairo.md +++ b/dojo-book/docs/pages/theory/cairo.md @@ -14,7 +14,7 @@ Cairo is an open-source, Turing-complete smart contract language developed by St Dojo builds on Cairo to create a robust framework for developing Autonomous Worlds (AWs). By leveraging the capabilities of Cairo, Dojo aims to streamline the development process, improve maintainability, and enhance the performance of AWs. -A key feature of the Dojo framework is its use of [commands](../cairo/commands.md). Commands are a design pattern that helps to reduce boilerplate code, resulting in cleaner and more maintainable applications. They achieve this by encapsulating specific actions or operations within self-contained, reusable units. +A key feature of the Dojo framework is its use of [commands](/cairo/commands.md). Commands are a design pattern that helps to reduce boilerplate code, resulting in cleaner and more maintainable applications. They achieve this by encapsulating specific actions or operations within self-contained, reusable units. Developers can write commands freely within Systems, and the Cairo compiler takes care of inlining the appropriate functions. @@ -32,6 +32,6 @@ In more technical terms, Starknet is a permissionless Validity-Rollup (also know ### Starknet as an Appchain -Cairo is an isomorphic, general-purpose language, optimized for Zero-Knowledge (ZK) proofs. It's the driving force behind Starknet, Starkex, and appchains. Remarkably, you can also run it in WebAssembly (WASM) to generate proofs on the client-side! Within the dojo toolchain exists [Katana](../toolchain/katana/overview.md) which is a gaming specific sequencer, which is perfectly suited to run a Dojo appchain. +Cairo is an isomorphic, general-purpose language, optimized for Zero-Knowledge (ZK) proofs. It's the driving force behind Starknet, Starkex, and appchains. Remarkably, you can also run it in WebAssembly (WASM) to generate proofs on the client-side! Within the dojo toolchain exists [Katana](/toolchain/katana/overview.md) which is a gaming specific sequencer, which is perfectly suited to run a Dojo appchain. The Dojo team is also working closely with the [Madara](https://github.com/keep-starknet-strange/madara) team to enable Starknet appchains to seamlessly run Dojo worlds. diff --git a/src/theory/faqs.md b/dojo-book/docs/pages/theory/faqs.md similarity index 89% rename from src/theory/faqs.md rename to dojo-book/docs/pages/theory/faqs.md index 0fb65b58..40e7b641 100644 --- a/src/theory/faqs.md +++ b/dojo-book/docs/pages/theory/faqs.md @@ -18,11 +18,11 @@ Onchain games are games that exist entirely on a public blockchain network; all #### What is an autonomous world? -An autonomous world is one that exists entirely onchain. It's not controlled by any single entity but is instead governed by the rules set within that world. Dive deeper into the topic here: [Autonomous Worlds](../theory/autonomous-worlds.md). +An autonomous world is one that exists entirely onchain. It's not controlled by any single entity but is instead governed by the rules set within that world. Dive deeper into the topic here: [Autonomous Worlds](/theory/autonomous-worlds.md). #### What is Cairo? -Cairo is an opensource programming language invented by Starkware. It's a Turing-complete language meant for general-purpose computation. It's a low-level language designed to compile to the Cairo Virtual Machine. Learn more about it here: [Cairo](../theory/cairo.md). +Cairo is an opensource programming language invented by Starkware. It's a Turing-complete language meant for general-purpose computation. It's a low-level language designed to compile to the Cairo Virtual Machine. Learn more about it here: [Cairo](/theory/cairo.md). #### What is a provable game? @@ -36,4 +36,4 @@ The ability to execute Dojo programs in the browser is entirely plausible and is #### Can I deploy dojo on Starknet? -Yes! Dojo can run on any StarknetVM including the public blockchains. Within the dojo toolchain exists [Katana](../toolchain/katana/overview.md) which is a gaming specific sequencer, which is perfectly suited to Dojo games. +Yes! Dojo can run on any StarknetVM including the public blockchains. Within the dojo toolchain exists [Katana](/toolchain/katana/overview.md) which is a gaming specific sequencer, which is perfectly suited to Dojo games. diff --git a/src/theory/what-is-dojo.md b/dojo-book/docs/pages/theory/what-is-dojo.md similarity index 86% rename from src/theory/what-is-dojo.md rename to dojo-book/docs/pages/theory/what-is-dojo.md index 65718e1e..b659ba4c 100644 --- a/src/theory/what-is-dojo.md +++ b/dojo-book/docs/pages/theory/what-is-dojo.md @@ -1,4 +1,4 @@ -![dojo](../images/Dojo%20-%20Contracts.png) +![dojo](/Dojo%20-%20Contracts.png) # What is Dojo? @@ -18,11 +18,11 @@ Dojo offers a standardized approach to building games on smart contracts. Recogn Utilizing the ECS (Entity Component System) as its core architecture, Dojo effectively manages the state and behavior of Autonomous Worlds (AWs). This model revolves around systems acting on entities, which are collections of pure data components. Systems efficiently determine which entities to process based on persistent queries over these components. -Read detailed information about the [Dojo ECS](../cairo/overview.md). +Read detailed information about the [Dojo ECS](/cairo/overview.md). -### [Torii](../toolchain/torii/overview.md) - Starknet Indexer +### [Torii](/toolchain/torii/overview.md) - Starknet Indexer -Building on-chain games often involves grappling with the challenge of indexing on-chain state. However, Dojo standardizes contract states to mirror traditional relational databases. This setup enables the [Torii Indexer](../toolchain/torii/overview.md) to auto-index all contract states, ensuring efficient and streamlined queries. Torii then exposes these states via a GraphQL API or gRPC, allowing developers to easily query and retrieve data. +Building on-chain games often involves grappling with the challenge of indexing on-chain state. However, Dojo standardizes contract states to mirror traditional relational databases. This setup enables the [Torii Indexer](/toolchain/torii/overview.md) to auto-index all contract states, ensuring efficient and streamlined queries. Torii then exposes these states via a GraphQL API or gRPC, allowing developers to easily query and retrieve data. Using Torii drastically reduces the time and effort required to build on-chain games. It also eliminates the need to manually create indexers, which can be a tedious and error-prone process. diff --git a/next/dojo-book/docs/pages/toolchain/dojoup.md b/dojo-book/docs/pages/toolchain/dojoup.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/dojoup.md rename to dojo-book/docs/pages/toolchain/dojoup.md diff --git a/0.2.0/src/toolchain/katana/development.md b/dojo-book/docs/pages/toolchain/katana/development.md similarity index 100% rename from 0.2.0/src/toolchain/katana/development.md rename to dojo-book/docs/pages/toolchain/katana/development.md diff --git a/src/toolchain/katana/overview.md b/dojo-book/docs/pages/toolchain/katana/overview.md similarity index 95% rename from src/toolchain/katana/overview.md rename to dojo-book/docs/pages/toolchain/katana/overview.md index 455eeff9..d97af72d 100644 --- a/src/toolchain/katana/overview.md +++ b/dojo-book/docs/pages/toolchain/katana/overview.md @@ -1,4 +1,4 @@ -![katana](../../images/katana-icon-word.png) +![katana](/katana-icon-word.png) Katana is a _blazingly fast_ sequencer, designed to support both local development as well as production deployments. @@ -14,7 +14,7 @@ In produciton mode, Katana provides a high performance sequencer optimized for g ## Installation -`katana` binary is available via [`dojoup`](../../getting-started/quick-start.md). +`katana` binary is available via [`dojoup`](/getting-started/quick-start.md). ### Installing from source diff --git a/next/dojo-book/docs/pages/toolchain/katana/reference.md b/dojo-book/docs/pages/toolchain/katana/reference.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/katana/reference.md rename to dojo-book/docs/pages/toolchain/katana/reference.md diff --git a/next/dojo-book/docs/pages/toolchain/slot/deployments-commands/deployments.md b/dojo-book/docs/pages/toolchain/slot/deployments-commands/deployments.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/slot/deployments-commands/deployments.md rename to dojo-book/docs/pages/toolchain/slot/deployments-commands/deployments.md diff --git a/src/toolchain/slot/overview.md b/dojo-book/docs/pages/toolchain/slot/overview.md similarity index 91% rename from src/toolchain/slot/overview.md rename to dojo-book/docs/pages/toolchain/slot/overview.md index 7dc1f149..73fbf5c6 100644 --- a/src/toolchain/slot/overview.md +++ b/dojo-book/docs/pages/toolchain/slot/overview.md @@ -14,7 +14,7 @@ Once finished, run `slotup` to manage slot installations and follow the outputte ## Deploy using Slot -To deploy your projects using slot, check out the tutorial [Deploy using Slot](../../tutorial/deploy-using-slot/main.md). +To deploy your projects using slot, check out the tutorial [Deploy using Slot](/tutorial/deploy-using-slot/main.md). > πŸ“š **Reference** > diff --git a/next/dojo-book/docs/pages/toolchain/slot/reference.md b/dojo-book/docs/pages/toolchain/slot/reference.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/slot/reference.md rename to dojo-book/docs/pages/toolchain/slot/reference.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common-options/offline.md b/dojo-book/docs/pages/toolchain/sozo/common-options/offline.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common-options/offline.md rename to dojo-book/docs/pages/toolchain/sozo/common-options/offline.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common-options/profile.md b/dojo-book/docs/pages/toolchain/sozo/common-options/profile.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common-options/profile.md rename to dojo-book/docs/pages/toolchain/sozo/common-options/profile.md diff --git a/0.2.0/src/toolchain/sozo/common/account-options.md b/dojo-book/docs/pages/toolchain/sozo/common/account-options.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/common/account-options.md rename to dojo-book/docs/pages/toolchain/sozo/common/account-options.md diff --git a/0.2.0/src/toolchain/sozo/common/signer-options-keystore.md b/dojo-book/docs/pages/toolchain/sozo/common/signer-options-keystore.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/common/signer-options-keystore.md rename to dojo-book/docs/pages/toolchain/sozo/common/signer-options-keystore.md diff --git a/0.2.0/src/toolchain/sozo/common/signer-options-raw.md b/dojo-book/docs/pages/toolchain/sozo/common/signer-options-raw.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/common/signer-options-raw.md rename to dojo-book/docs/pages/toolchain/sozo/common/signer-options-raw.md diff --git a/0.2.0/src/toolchain/sozo/common/starknet-options.md b/dojo-book/docs/pages/toolchain/sozo/common/starknet-options.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/common/starknet-options.md rename to dojo-book/docs/pages/toolchain/sozo/common/starknet-options.md diff --git a/0.2.0/src/toolchain/sozo/common/world-options.md b/dojo-book/docs/pages/toolchain/sozo/common/world-options.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/common/world-options.md rename to dojo-book/docs/pages/toolchain/sozo/common/world-options.md diff --git a/0.2.0/src/toolchain/sozo/development.md b/dojo-book/docs/pages/toolchain/sozo/development.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/development.md rename to dojo-book/docs/pages/toolchain/sozo/development.md diff --git a/src/toolchain/sozo/overview.md b/dojo-book/docs/pages/toolchain/sozo/overview.md similarity index 85% rename from src/toolchain/sozo/overview.md rename to dojo-book/docs/pages/toolchain/sozo/overview.md index bba80c03..2ce1e696 100644 --- a/src/toolchain/sozo/overview.md +++ b/dojo-book/docs/pages/toolchain/sozo/overview.md @@ -1,4 +1,4 @@ -![katana](../../images/sozo-icon-word.png) +![katana](/sozo-icon-word.png) ## Sozo @@ -10,7 +10,7 @@ ## Installation -`sozo` binary can be installed via [`dojoup`](../../getting-started/quick-start.md), our dedicated installation package manager. +`sozo` binary can be installed via [`dojoup`](/getting-started/quick-start.md), our dedicated installation package manager. ### Installing from Source diff --git a/0.2.0/src/toolchain/sozo/project-commands/build.md b/dojo-book/docs/pages/toolchain/sozo/project-commands/build.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/project-commands/build.md rename to dojo-book/docs/pages/toolchain/sozo/project-commands/build.md diff --git a/0.2.0/src/toolchain/sozo/project-commands/init.md b/dojo-book/docs/pages/toolchain/sozo/project-commands/init.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/project-commands/init.md rename to dojo-book/docs/pages/toolchain/sozo/project-commands/init.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/project-commands/migrate.md b/dojo-book/docs/pages/toolchain/sozo/project-commands/migrate.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/project-commands/migrate.md rename to dojo-book/docs/pages/toolchain/sozo/project-commands/migrate.md diff --git a/0.2.0/src/toolchain/sozo/project-commands/test.md b/dojo-book/docs/pages/toolchain/sozo/project-commands/test.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/project-commands/test.md rename to dojo-book/docs/pages/toolchain/sozo/project-commands/test.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/reference.md b/dojo-book/docs/pages/toolchain/sozo/reference.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/reference.md rename to dojo-book/docs/pages/toolchain/sozo/reference.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/world-commands/auth.md b/dojo-book/docs/pages/toolchain/sozo/world-commands/auth.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/world-commands/auth.md rename to dojo-book/docs/pages/toolchain/sozo/world-commands/auth.md diff --git a/0.2.0/src/toolchain/sozo/world-commands/events.md b/dojo-book/docs/pages/toolchain/sozo/world-commands/events.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/world-commands/events.md rename to dojo-book/docs/pages/toolchain/sozo/world-commands/events.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/world-commands/execute.md b/dojo-book/docs/pages/toolchain/sozo/world-commands/execute.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/world-commands/execute.md rename to dojo-book/docs/pages/toolchain/sozo/world-commands/execute.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/world-commands/model.md b/dojo-book/docs/pages/toolchain/sozo/world-commands/model.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/world-commands/model.md rename to dojo-book/docs/pages/toolchain/sozo/world-commands/model.md diff --git a/0.2.0/src/toolchain/sozo/world-commands/register.md b/dojo-book/docs/pages/toolchain/sozo/world-commands/register.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/world-commands/register.md rename to dojo-book/docs/pages/toolchain/sozo/world-commands/register.md diff --git a/0.2.0/src/toolchain/sozo/world-commands/system.md b/dojo-book/docs/pages/toolchain/sozo/world-commands/system.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/world-commands/system.md rename to dojo-book/docs/pages/toolchain/sozo/world-commands/system.md diff --git a/src/toolchain/torii/graphql.md b/dojo-book/docs/pages/toolchain/torii/graphql.md similarity index 96% rename from src/toolchain/torii/graphql.md rename to dojo-book/docs/pages/toolchain/torii/graphql.md index 56b10160..d47ecfb9 100644 --- a/src/toolchain/torii/graphql.md +++ b/dojo-book/docs/pages/toolchain/torii/graphql.md @@ -34,7 +34,7 @@ The benefit of custom queries becomes apparent when filtering and sorting is nee ### Query operation -In [`hello-dojo`](../../cairo/hello-dojo.md#next-steps) we fetched some data from the `Moves` model. This time let's fetch only `id`, `name`, `classHash` fields from `Position` model . +In [`hello-dojo`](/cairo/hello-dojo.md#next-steps) we fetched some data from the `Moves` model. This time let's fetch only `id`, `name`, `classHash` fields from `Position` model . ```graphql query { @@ -118,7 +118,7 @@ query{ } ``` -If you execute this query after you applied `sozo migrate` in your [`hello-dojo`](../../cairo/hello-dojo.md) example. You will get an output similar to this. +If you execute this query after you applied `sozo migrate` in your [`hello-dojo`](/cairo/hello-dojo.md) example. You will get an output similar to this. ```json { @@ -361,7 +361,7 @@ subscription { } ``` -If you execute this suscription after you applied `sozo execute spawn` in your [`hello-dojo`](../../cairo/hello-dojo.md) example. You will get an output similar to this. +If you execute this suscription after you applied `sozo execute spawn` in your [`hello-dojo`](/cairo/hello-dojo.md) example. You will get an output similar to this. ```json { diff --git a/src/toolchain/torii/grpc.md b/dojo-book/docs/pages/toolchain/torii/grpc.md similarity index 72% rename from src/toolchain/torii/grpc.md rename to dojo-book/docs/pages/toolchain/torii/grpc.md index 119e1b80..2bcc4da1 100644 --- a/src/toolchain/torii/grpc.md +++ b/dojo-book/docs/pages/toolchain/torii/grpc.md @@ -6,4 +6,4 @@ _TL;DR_ - You can subscribe to entity and model events via the gRPC - Read more - [gRPC](https://grpc.io/docs/what-is-grpc/introduction/) -You can use the gRPC directly or you can use it through a developed client. A great way to use it is via [dojo.js](../../client/dojojs.md) torii-client package. +You can use the gRPC directly or you can use it through a developed client. A great way to use it is via [dojo.js](/client/dojojs.md) torii-client package. diff --git a/src/toolchain/torii/overview.md b/dojo-book/docs/pages/toolchain/torii/overview.md similarity index 79% rename from src/toolchain/torii/overview.md rename to dojo-book/docs/pages/toolchain/torii/overview.md index 1417ad9c..1b48431e 100644 --- a/src/toolchain/torii/overview.md +++ b/dojo-book/docs/pages/toolchain/torii/overview.md @@ -1,4 +1,4 @@ -![katana](../../images/torii-icon-word.png) +![katana](/torii-icon-word.png) ## Torii @@ -12,9 +12,9 @@ The torii server comprises of the rust backend that exposes the graphql and gRPC Torii client interfaces with the server to provide an easy to use api for your clients: -- [wasm](../../client/dojojs.md#dojoenginetorii-wasm) -- [unity](../../client/torii/unity.md) -- [c](../../client/torii/unity.md) +- [wasm](/client/dojojs.md#dojoenginetorii-wasm) +- [unity](/client/torii/unity.md) +- [c](/client/torii/unity.md) ### Usage @@ -28,7 +28,7 @@ You'll have a GraphQL API running at `http://localhost:8080/graphql` and a gRPC ## Installation -The `torii` binary can be installed via [`dojoup`](../../getting-started/quick-start.md), our dedicated installation package manager. +The `torii` binary can be installed via [`dojoup`](/getting-started/quick-start.md), our dedicated installation package manager. ### Installing from Source diff --git a/next/dojo-book/docs/pages/toolchain/torii/reference.md b/dojo-book/docs/pages/toolchain/torii/reference.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/torii/reference.md rename to dojo-book/docs/pages/toolchain/torii/reference.md diff --git a/next/dojo-book/docs/pages/tutorial/deploy-using-slot/main.md b/dojo-book/docs/pages/tutorial/deploy-using-slot/main.md similarity index 100% rename from next/dojo-book/docs/pages/tutorial/deploy-using-slot/main.md rename to dojo-book/docs/pages/tutorial/deploy-using-slot/main.md diff --git a/src/tutorial/onchain-chess/0-setup.md b/dojo-book/docs/pages/tutorial/onchain-chess/0-setup.md similarity index 97% rename from src/tutorial/onchain-chess/0-setup.md rename to dojo-book/docs/pages/tutorial/onchain-chess/0-setup.md index 8e16981b..15c54e4f 100644 --- a/src/tutorial/onchain-chess/0-setup.md +++ b/dojo-book/docs/pages/tutorial/onchain-chess/0-setup.md @@ -1,6 +1,6 @@ # 0. Setup -_Before starting recommend following the [`hello-dojo`](../../cairo/hello-dojo.md) chapter to gain a basic understanding of the Dojo game._ +_Before starting recommend following the [`hello-dojo`](/cairo/hello-dojo.md) chapter to gain a basic understanding of the Dojo game._ ## Initializing the Project @@ -105,7 +105,7 @@ While there are many ways to design a chess game using the ECS model, we'll foll > Every square of the chess board (e.g., A1) will be treated as an entity. If a piece exists on a square position, that position will hold that piece. -First, add this basic `player` model to `models/player.cairo` file. If you are not familar with model syntax in Dojo engine, go back to this [chapter](../../cairo/models.md). +First, add this basic `player` model to `models/player.cairo` file. If you are not familar with model syntax in Dojo engine, go back to this [chapter](/cairo/models.md). ```rust,ignore use starknet::ContractAddress; diff --git a/src/tutorial/onchain-chess/1-action.md b/dojo-book/docs/pages/tutorial/onchain-chess/1-action.md similarity index 98% rename from src/tutorial/onchain-chess/1-action.md rename to dojo-book/docs/pages/tutorial/onchain-chess/1-action.md index ec167446..f3996c08 100644 --- a/src/tutorial/onchain-chess/1-action.md +++ b/dojo-book/docs/pages/tutorial/onchain-chess/1-action.md @@ -7,7 +7,7 @@ This chapter will address implementing `actions.cairo`, which spawns the game & To play chess, you need, to start game, spawn the pieces, and move around the board. The `actions` contract has two dominant functions `spawn` function which spawns the game entity, places each piece in its proper position on the board and returns the game_id, and the `move` funtion which allows pieces to be moved around the board.

-image +image ## Requirements diff --git a/next/dojo-book/docs/pages/tutorial/onchain-chess/2-move.md b/dojo-book/docs/pages/tutorial/onchain-chess/2-move.md similarity index 100% rename from next/dojo-book/docs/pages/tutorial/onchain-chess/2-move.md rename to dojo-book/docs/pages/tutorial/onchain-chess/2-move.md diff --git a/next/dojo-book/docs/pages/tutorial/onchain-chess/3-test.md b/dojo-book/docs/pages/tutorial/onchain-chess/3-test.md similarity index 100% rename from next/dojo-book/docs/pages/tutorial/onchain-chess/3-test.md rename to dojo-book/docs/pages/tutorial/onchain-chess/3-test.md diff --git a/next/dojo-book/docs/pages/tutorial/onchain-chess/README.md b/dojo-book/docs/pages/tutorial/onchain-chess/README.md similarity index 100% rename from next/dojo-book/docs/pages/tutorial/onchain-chess/README.md rename to dojo-book/docs/pages/tutorial/onchain-chess/README.md diff --git a/next/dojo-book/docs/public/Built with.svg b/dojo-book/docs/public/Built with.svg similarity index 100% rename from next/dojo-book/docs/public/Built with.svg rename to dojo-book/docs/public/Built with.svg diff --git a/next/dojo-book/docs/public/Dojo - Contracts.png b/dojo-book/docs/public/Dojo - Contracts.png similarity index 100% rename from next/dojo-book/docs/public/Dojo - Contracts.png rename to dojo-book/docs/public/Dojo - Contracts.png diff --git a/next/dojo-book/docs/pages/images/ECS.png b/dojo-book/docs/public/ECS.png similarity index 100% rename from next/dojo-book/docs/pages/images/ECS.png rename to dojo-book/docs/public/ECS.png diff --git a/next/dojo-book/docs/pages/images/board.png b/dojo-book/docs/public/board.png similarity index 100% rename from next/dojo-book/docs/pages/images/board.png rename to dojo-book/docs/public/board.png diff --git a/next/dojo-book/docs/pages/images/dojo-auth.png b/dojo-book/docs/public/dojo-auth.png similarity index 100% rename from next/dojo-book/docs/pages/images/dojo-auth.png rename to dojo-book/docs/public/dojo-auth.png diff --git a/next/dojo-book/docs/pages/images/dojo-mark-full-dark.svg b/dojo-book/docs/public/dojo-mark-full-dark.svg similarity index 100% rename from next/dojo-book/docs/pages/images/dojo-mark-full-dark.svg rename to dojo-book/docs/public/dojo-mark-full-dark.svg diff --git a/next/dojo-book/docs/pages/images/dojo-sozo-workflow.jpg b/dojo-book/docs/public/dojo-sozo-workflow.jpg similarity index 100% rename from next/dojo-book/docs/pages/images/dojo-sozo-workflow.jpg rename to dojo-book/docs/public/dojo-sozo-workflow.jpg diff --git a/next/dojo-book/docs/public/dojo.unity_demo.mp4 b/dojo-book/docs/public/dojo.unity_demo.mp4 similarity index 100% rename from next/dojo-book/docs/public/dojo.unity_demo.mp4 rename to dojo-book/docs/public/dojo.unity_demo.mp4 diff --git a/next/dojo-book/docs/public/katana-icon-word.png b/dojo-book/docs/public/katana-icon-word.png similarity index 100% rename from next/dojo-book/docs/public/katana-icon-word.png rename to dojo-book/docs/public/katana-icon-word.png diff --git a/next/dojo-book/docs/public/katana-icon.png b/dojo-book/docs/public/katana-icon.png similarity index 100% rename from next/dojo-book/docs/public/katana-icon.png rename to dojo-book/docs/public/katana-icon.png diff --git a/next/dojo-book/docs/public/katana.png b/dojo-book/docs/public/katana.png similarity index 100% rename from next/dojo-book/docs/public/katana.png rename to dojo-book/docs/public/katana.png diff --git a/next/dojo-book/docs/public/origami-icon-word.png b/dojo-book/docs/public/origami-icon-word.png similarity index 100% rename from next/dojo-book/docs/public/origami-icon-word.png rename to dojo-book/docs/public/origami-icon-word.png diff --git a/next/dojo-book/docs/public/origami-icon.png b/dojo-book/docs/public/origami-icon.png similarity index 100% rename from next/dojo-book/docs/public/origami-icon.png rename to dojo-book/docs/public/origami-icon.png diff --git a/next/dojo-book/docs/public/origami.png b/dojo-book/docs/public/origami.png similarity index 100% rename from next/dojo-book/docs/public/origami.png rename to dojo-book/docs/public/origami.png diff --git a/next/dojo-book/docs/public/permissions.png b/dojo-book/docs/public/permissions.png similarity index 100% rename from next/dojo-book/docs/public/permissions.png rename to dojo-book/docs/public/permissions.png diff --git a/next/dojo-book/docs/public/slot-icon-word.png b/dojo-book/docs/public/slot-icon-word.png similarity index 100% rename from next/dojo-book/docs/public/slot-icon-word.png rename to dojo-book/docs/public/slot-icon-word.png diff --git a/next/dojo-book/docs/public/slot-icon.png b/dojo-book/docs/public/slot-icon.png similarity index 100% rename from next/dojo-book/docs/public/slot-icon.png rename to dojo-book/docs/public/slot-icon.png diff --git a/next/dojo-book/docs/public/sozo-icon-word.png b/dojo-book/docs/public/sozo-icon-word.png similarity index 100% rename from next/dojo-book/docs/public/sozo-icon-word.png rename to dojo-book/docs/public/sozo-icon-word.png diff --git a/next/dojo-book/docs/public/sozo-icon.png b/dojo-book/docs/public/sozo-icon.png similarity index 100% rename from next/dojo-book/docs/public/sozo-icon.png rename to dojo-book/docs/public/sozo-icon.png diff --git a/next/dojo-book/docs/public/torii-icon-word.png b/dojo-book/docs/public/torii-icon-word.png similarity index 100% rename from next/dojo-book/docs/public/torii-icon-word.png rename to dojo-book/docs/public/torii-icon-word.png diff --git a/next/dojo-book/docs/public/torii-icon.png b/dojo-book/docs/public/torii-icon.png similarity index 100% rename from next/dojo-book/docs/public/torii-icon.png rename to dojo-book/docs/public/torii-icon.png diff --git a/next/dojo-book/docs/public/unity-screen-grab.png b/dojo-book/docs/public/unity-screen-grab.png similarity index 100% rename from next/dojo-book/docs/public/unity-screen-grab.png rename to dojo-book/docs/public/unity-screen-grab.png diff --git a/next/dojo-book/docs/public/unity/models.png b/dojo-book/docs/public/unity/models.png similarity index 100% rename from next/dojo-book/docs/public/unity/models.png rename to dojo-book/docs/public/unity/models.png diff --git a/next/dojo-book/docs/public/unity/sync-master.png b/dojo-book/docs/public/unity/sync-master.png similarity index 100% rename from next/dojo-book/docs/public/unity/sync-master.png rename to dojo-book/docs/public/unity/sync-master.png diff --git a/next/dojo-book/docs/public/unity/world-manager.png b/dojo-book/docs/public/unity/world-manager.png similarity index 100% rename from next/dojo-book/docs/public/unity/world-manager.png rename to dojo-book/docs/public/unity/world-manager.png diff --git a/next/dojo-book/docs/public/world-map.png b/dojo-book/docs/public/world-map.png similarity index 100% rename from next/dojo-book/docs/public/world-map.png rename to dojo-book/docs/public/world-map.png diff --git a/next/dojo-book/docs/public/world_flow.png b/dojo-book/docs/public/world_flow.png similarity index 100% rename from next/dojo-book/docs/public/world_flow.png rename to dojo-book/docs/public/world_flow.png diff --git a/next/dojo-book/docs/public/worlds-dev-icon-word.png b/dojo-book/docs/public/worlds-dev-icon-word.png similarity index 100% rename from next/dojo-book/docs/public/worlds-dev-icon-word.png rename to dojo-book/docs/public/worlds-dev-icon-word.png diff --git a/next/dojo-book/docs/public/worlds-dev-icon.png b/dojo-book/docs/public/worlds-dev-icon.png similarity index 100% rename from next/dojo-book/docs/public/worlds-dev-icon.png rename to dojo-book/docs/public/worlds-dev-icon.png diff --git a/next/dojo-book/package.json b/dojo-book/package.json similarity index 100% rename from next/dojo-book/package.json rename to dojo-book/package.json diff --git a/next/dojo-book/pnpm-lock.yaml b/dojo-book/pnpm-lock.yaml similarity index 100% rename from next/dojo-book/pnpm-lock.yaml rename to dojo-book/pnpm-lock.yaml diff --git a/next/dojo-book/tsconfig.json b/dojo-book/tsconfig.json similarity index 100% rename from next/dojo-book/tsconfig.json rename to dojo-book/tsconfig.json diff --git a/next/dojo-book/vocs.config.ts b/dojo-book/vocs.config.ts similarity index 84% rename from next/dojo-book/vocs.config.ts rename to dojo-book/vocs.config.ts index fcbc297e..3d008a95 100644 --- a/next/dojo-book/vocs.config.ts +++ b/dojo-book/vocs.config.ts @@ -1,18 +1,54 @@ import { defineConfig } from "vocs"; export default defineConfig({ + iconUrl: "/dojo-mark-full-dark.svg", + ogImageUrl: + "https://vocs.dev/api/og?logo=%logo&title=%title&description=%description", + topNav: [ + { text: "Blog", link: "https://www.dojoengine.org/en/articles" }, + { text: "Releases", link: "https://github.com/dojoengine/dojo/releases" }, + { + text: "0.5.0", + items: [ + { + text: "Changelog", + link: "https://github.com/wevm/vocs/blob/main/src/CHANGELOG.md", + }, + { + text: "Contributing", + link: "https://github.com/wevm/vocs/blob/main/.github/CONTRIBUTING.md", + }, + ], + }, + ], font: { - google: "Work Sans", + google: "Poppins", }, + // theme: { + + // accentColor: "#", + // }, theme: { - accentColor: "#ff2f42", + accentColor: "#FF2F42", + variables: { + color: { + background: { + light: "white", + dark: "black", + }, + }, + content: { + horizontalPadding: "40px", + verticalPadding: "80px", + }, + }, }, sidebar: [ { - text: "Summary", + text: "🏁 Theory", collapsed: true, items: [ - { text: "Foreword", link: "/README" }, + { text: "Foreword", link: "/getting-started" }, { text: "What is Dojo?", link: "/theory/what-is-dojo" }, { text: "AW Theory", link: "/theory/autonomous-worlds" }, { text: "Cairo Ecosystem", link: "/theory/cairo" }, diff --git a/next/dojo-book/docs/pages/README.md b/next/dojo-book/docs/pages/README.md deleted file mode 100644 index c38b9f19..00000000 --- a/next/dojo-book/docs/pages/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Dojo: The Provable Game Engine - -Dojo is a provable game engine built using [Cairo](https://github.com/starkware-libs/cairo). It establishes a standard for game development via smart contracts, blending best practices with streamlined development and deployment tools. With Dojo by your side, you can evolve from initial concept to a fully realized game in days, not weeks. - -This book is dedicated to familiarizing you with the Dojo engine and the potential of Provable games. A special section on the [Theory](./theory/autonomous-worlds.md) elucidates this emergent concept of autonomous worlds and Provable games. - -- [Quickstart](./getting-started/quick-start.md) -- [What is Dojo? ](./theory/what-is-dojo.md) -- [Explore the Architecture](./cairo/overview.md) - -> Dojo is an open-source onchain gaming project currently in its early development phase, and warmly welcomes contributors. For additional resources, join the community on [Discord](https://discord.gg/vUN4Xq9Qv6) and check out the [contribution guide](./misc/contributors.md). - ---- - -### Organizational Structure - -Dojo is an open-source initiative, licensed under Apache 2.0, dedicated to promoting and advancing the concept of Autonomous Worlds (AWs). It is spearheaded by [Cartridge](https://cartridge.gg/), [Realms & BibliothecaDAO](https://bibliothecadao.xyz/), [briq](https://briq.construction/) and many more [contributors](https://github.com/orgs/dojoengine/people). - -### How do I get involved? - -Check out our [Github](https://github.com/dojoengine), our [Twitter](https://twitter.com/dojostarknet), [Discord](https://discord.gg/vUN4Xq9Qv6) and [contribution guide](https://book.dojoengine.org/misc/contributors.html) diff --git a/readme.md b/readme.md index 3d286de1..b9a6ae23 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,7 @@ ## πŸ“– The Dojo Book +> Migration from rustbook to vocs in process. Make all edits and PRs into dojo-book. + Explore the world of Autonomous Worlds with Dojo, your trusted toolchain. [Dive in now](https://book.dojoengine.org/). ### Contributing @@ -7,62 +9,3 @@ Explore the world of Autonomous Worlds with Dojo, your trusted toolchain. [Dive Embrace the open-source spirit of Dojo. As it's in its nascent phase, we welcome contributors with open arms. Peruse our [contributing guidelines](./src/misc/contributors.md). From minor wording adjustments to extensive chapters, every contribution matters! - -### Setup - -1. **Rust-related Packages**: - - Obtain the `cargo` toolchain via [rustup](https://rustup.rs/). - - Get [mdBook](https://rust-lang.github.io/mdBook/guide/installation.html) and its translation extension with the command: - `cargo install mdbook mdbook-i18n-helpers` -2. **Host Machine Packages**: - - To assist with translations, install [gettext](https://www.gnu.org/software/gettext/). It's typically accessible via most package managers. Use: `sudo apt install gettext`. -3. Clone this repository to get started. - -### Working Locally (English - Primary Language) - -Always edit Markdown files in English. Here's how to work on it: - -- Spin up a local server using `mdbook serve`. Navigate to [localhost:3000](http://localhost:3000). For an automated browser launch, append the `--open` flag: `mdbook serve --open`. -- Modify the content as desired. Refresh your browser to review edits. -- Ready to share? Open a PR with your enhancements. -- Don't forge to use prettier locally to format your markdown files: - ```bash - npm i -g prettier - prettier -w "**/*.md" - ``` - -### Working Locally (Translations) - -Catering to a global audience, we aspire for multilingual content. - -**Note**: Ensure all files in the `src` directory are in English, facilitating automated generation and updates of translation files. - -For translation tasks: - -- Start a local server for a specific language, e.g., `./translations.sh es`. Without specifying a language, the script defaults to extracting English translations. -- Focus on the relevant translation file, such as `po/es.po`. Tools like [poedit](https://poedit.net/) can make this task easier. -- Conclude your session with changes only in the `po/xx.po` file. Commit and open a PR. Ensure the PR begins with `i18n` to signal it involves translation. - -This translation model draws inspiration from the [Comprehensive Rust repository](https://github.com/google/comprehensive-rust/blob/main/TRANSLATIONS.md). - -#### Starting a New Language Translation - -If initiating a new language translation without a local server: - -- Use `./translations.sh new xx`, replacing `xx` with your language code. This command spawns the `xx.po` file for your language. -- Update your `xx.po` file with `./translations.sh xx` (swap `xx` with your language code), as detailed above. -- For pre-existing `xx.po` files, refrain from using the `new` command. - -#### GPT Translation - -Setup env: - -```bash -python3 -m venv ~/lang - -source ~/lang/bin/activate - -pip install -r requirements.txt -``` - -See script `./main.py` for instructions. diff --git a/.gitignore b/rust-book-old/.gitignore similarity index 100% rename from .gitignore rename to rust-book-old/.gitignore diff --git a/0.2.0/book.toml b/rust-book-old/0.2.0/book.toml similarity index 100% rename from 0.2.0/book.toml rename to rust-book-old/0.2.0/book.toml diff --git a/0.2.0/po/es.po b/rust-book-old/0.2.0/po/es.po similarity index 100% rename from 0.2.0/po/es.po rename to rust-book-old/0.2.0/po/es.po diff --git a/0.2.0/po/ja.po b/rust-book-old/0.2.0/po/ja.po similarity index 100% rename from 0.2.0/po/ja.po rename to rust-book-old/0.2.0/po/ja.po diff --git a/0.2.0/po/ko.po b/rust-book-old/0.2.0/po/ko.po similarity index 100% rename from 0.2.0/po/ko.po rename to rust-book-old/0.2.0/po/ko.po diff --git a/0.2.0/po/messages.pot b/rust-book-old/0.2.0/po/messages.pot similarity index 100% rename from 0.2.0/po/messages.pot rename to rust-book-old/0.2.0/po/messages.pot diff --git a/0.2.0/po/vi.po b/rust-book-old/0.2.0/po/vi.po similarity index 100% rename from 0.2.0/po/vi.po rename to rust-book-old/0.2.0/po/vi.po diff --git a/0.2.0/po/zh-cn.po b/rust-book-old/0.2.0/po/zh-cn.po similarity index 100% rename from 0.2.0/po/zh-cn.po rename to rust-book-old/0.2.0/po/zh-cn.po diff --git a/0.2.0/src/README.md b/rust-book-old/0.2.0/src/README.md similarity index 100% rename from 0.2.0/src/README.md rename to rust-book-old/0.2.0/src/README.md diff --git a/0.2.0/src/SUMMARY.md b/rust-book-old/0.2.0/src/SUMMARY.md similarity index 100% rename from 0.2.0/src/SUMMARY.md rename to rust-book-old/0.2.0/src/SUMMARY.md diff --git a/0.2.0/src/cairo/authorization.md b/rust-book-old/0.2.0/src/cairo/authorization.md similarity index 100% rename from 0.2.0/src/cairo/authorization.md rename to rust-book-old/0.2.0/src/cairo/authorization.md diff --git a/0.2.0/src/cairo/commands.md b/rust-book-old/0.2.0/src/cairo/commands.md similarity index 100% rename from 0.2.0/src/cairo/commands.md rename to rust-book-old/0.2.0/src/cairo/commands.md diff --git a/0.2.0/src/cairo/components.md b/rust-book-old/0.2.0/src/cairo/components.md similarity index 100% rename from 0.2.0/src/cairo/components.md rename to rust-book-old/0.2.0/src/cairo/components.md diff --git a/0.2.0/src/cairo/config.md b/rust-book-old/0.2.0/src/cairo/config.md similarity index 100% rename from 0.2.0/src/cairo/config.md rename to rust-book-old/0.2.0/src/cairo/config.md diff --git a/0.2.0/src/cairo/entities.md b/rust-book-old/0.2.0/src/cairo/entities.md similarity index 100% rename from 0.2.0/src/cairo/entities.md rename to rust-book-old/0.2.0/src/cairo/entities.md diff --git a/0.2.0/src/cairo/events.md b/rust-book-old/0.2.0/src/cairo/events.md similarity index 100% rename from 0.2.0/src/cairo/events.md rename to rust-book-old/0.2.0/src/cairo/events.md diff --git a/0.2.0/src/cairo/hello-dojo.md b/rust-book-old/0.2.0/src/cairo/hello-dojo.md similarity index 100% rename from 0.2.0/src/cairo/hello-dojo.md rename to rust-book-old/0.2.0/src/cairo/hello-dojo.md diff --git a/0.2.0/src/cairo/modules.md b/rust-book-old/0.2.0/src/cairo/modules.md similarity index 100% rename from 0.2.0/src/cairo/modules.md rename to rust-book-old/0.2.0/src/cairo/modules.md diff --git a/0.2.0/src/cairo/modules/defi.md b/rust-book-old/0.2.0/src/cairo/modules/defi.md similarity index 100% rename from 0.2.0/src/cairo/modules/defi.md rename to rust-book-old/0.2.0/src/cairo/modules/defi.md diff --git a/0.2.0/src/cairo/modules/erc1155.md b/rust-book-old/0.2.0/src/cairo/modules/erc1155.md similarity index 100% rename from 0.2.0/src/cairo/modules/erc1155.md rename to rust-book-old/0.2.0/src/cairo/modules/erc1155.md diff --git a/0.2.0/src/cairo/modules/erc20.md b/rust-book-old/0.2.0/src/cairo/modules/erc20.md similarity index 100% rename from 0.2.0/src/cairo/modules/erc20.md rename to rust-book-old/0.2.0/src/cairo/modules/erc20.md diff --git a/0.2.0/src/cairo/modules/erc721.md b/rust-book-old/0.2.0/src/cairo/modules/erc721.md similarity index 100% rename from 0.2.0/src/cairo/modules/erc721.md rename to rust-book-old/0.2.0/src/cairo/modules/erc721.md diff --git a/0.2.0/src/cairo/systems.md b/rust-book-old/0.2.0/src/cairo/systems.md similarity index 100% rename from 0.2.0/src/cairo/systems.md rename to rust-book-old/0.2.0/src/cairo/systems.md diff --git a/0.2.0/src/cairo/testing.md b/rust-book-old/0.2.0/src/cairo/testing.md similarity index 100% rename from 0.2.0/src/cairo/testing.md rename to rust-book-old/0.2.0/src/cairo/testing.md diff --git a/0.2.0/src/cairo/world.md b/rust-book-old/0.2.0/src/cairo/world.md similarity index 100% rename from 0.2.0/src/cairo/world.md rename to rust-book-old/0.2.0/src/cairo/world.md diff --git a/0.2.0/src/client/npm.md b/rust-book-old/0.2.0/src/client/npm.md similarity index 100% rename from 0.2.0/src/client/npm.md rename to rust-book-old/0.2.0/src/client/npm.md diff --git a/0.2.0/src/client/npm/core.md b/rust-book-old/0.2.0/src/client/npm/core.md similarity index 100% rename from 0.2.0/src/client/npm/core.md rename to rust-book-old/0.2.0/src/client/npm/core.md diff --git a/0.2.0/src/client/overview.md b/rust-book-old/0.2.0/src/client/overview.md similarity index 100% rename from 0.2.0/src/client/overview.md rename to rust-book-old/0.2.0/src/client/overview.md diff --git a/0.2.0/src/community/get-started.md b/rust-book-old/0.2.0/src/community/get-started.md similarity index 100% rename from 0.2.0/src/community/get-started.md rename to rust-book-old/0.2.0/src/community/get-started.md diff --git a/0.2.0/src/deployment/locally.md b/rust-book-old/0.2.0/src/deployment/locally.md similarity index 100% rename from 0.2.0/src/deployment/locally.md rename to rust-book-old/0.2.0/src/deployment/locally.md diff --git a/0.2.0/src/deployment/remote.md b/rust-book-old/0.2.0/src/deployment/remote.md similarity index 100% rename from 0.2.0/src/deployment/remote.md rename to rust-book-old/0.2.0/src/deployment/remote.md diff --git a/0.2.0/src/framework.md b/rust-book-old/0.2.0/src/framework.md similarity index 100% rename from 0.2.0/src/framework.md rename to rust-book-old/0.2.0/src/framework.md diff --git a/next/dojo-book/docs/pages/getting-started/contributing.md b/rust-book-old/0.2.0/src/getting-started/contributing.md similarity index 100% rename from next/dojo-book/docs/pages/getting-started/contributing.md rename to rust-book-old/0.2.0/src/getting-started/contributing.md diff --git a/0.2.0/src/getting-started/from-source.md b/rust-book-old/0.2.0/src/getting-started/from-source.md similarity index 100% rename from 0.2.0/src/getting-started/from-source.md rename to rust-book-old/0.2.0/src/getting-started/from-source.md diff --git a/0.2.0/src/getting-started/quick-start.md b/rust-book-old/0.2.0/src/getting-started/quick-start.md similarity index 100% rename from 0.2.0/src/getting-started/quick-start.md rename to rust-book-old/0.2.0/src/getting-started/quick-start.md diff --git a/0.2.0/src/getting-started/setup.md b/rust-book-old/0.2.0/src/getting-started/setup.md similarity index 100% rename from 0.2.0/src/getting-started/setup.md rename to rust-book-old/0.2.0/src/getting-started/setup.md diff --git a/next/dojo-book/docs/public/ECS.png b/rust-book-old/0.2.0/src/images/ECS.png similarity index 100% rename from next/dojo-book/docs/public/ECS.png rename to rust-book-old/0.2.0/src/images/ECS.png diff --git a/next/dojo-book/docs/public/board.png b/rust-book-old/0.2.0/src/images/board.png similarity index 100% rename from next/dojo-book/docs/public/board.png rename to rust-book-old/0.2.0/src/images/board.png diff --git a/next/dojo-book/docs/public/dojo-auth.png b/rust-book-old/0.2.0/src/images/dojo-auth.png similarity index 100% rename from next/dojo-book/docs/public/dojo-auth.png rename to rust-book-old/0.2.0/src/images/dojo-auth.png diff --git a/next/dojo-book/docs/public/dojo-mark-full-dark.svg b/rust-book-old/0.2.0/src/images/dojo-mark-full-dark.svg similarity index 100% rename from next/dojo-book/docs/public/dojo-mark-full-dark.svg rename to rust-book-old/0.2.0/src/images/dojo-mark-full-dark.svg diff --git a/next/dojo-book/docs/public/dojo-sozo-workflow.jpg b/rust-book-old/0.2.0/src/images/dojo-sozo-workflow.jpg similarity index 100% rename from next/dojo-book/docs/public/dojo-sozo-workflow.jpg rename to rust-book-old/0.2.0/src/images/dojo-sozo-workflow.jpg diff --git a/next/dojo-book/docs/pages/misc/contributors.md b/rust-book-old/0.2.0/src/misc/contributors.md similarity index 100% rename from next/dojo-book/docs/pages/misc/contributors.md rename to rust-book-old/0.2.0/src/misc/contributors.md diff --git a/0.2.0/src/theory/autonomous-worlds.md b/rust-book-old/0.2.0/src/theory/autonomous-worlds.md similarity index 100% rename from 0.2.0/src/theory/autonomous-worlds.md rename to rust-book-old/0.2.0/src/theory/autonomous-worlds.md diff --git a/0.2.0/src/theory/cairo.md b/rust-book-old/0.2.0/src/theory/cairo.md similarity index 100% rename from 0.2.0/src/theory/cairo.md rename to rust-book-old/0.2.0/src/theory/cairo.md diff --git a/0.2.0/src/theory/faqs.md b/rust-book-old/0.2.0/src/theory/faqs.md similarity index 100% rename from 0.2.0/src/theory/faqs.md rename to rust-book-old/0.2.0/src/theory/faqs.md diff --git a/0.2.0/src/theory/what-is-dojo.md b/rust-book-old/0.2.0/src/theory/what-is-dojo.md similarity index 100% rename from 0.2.0/src/theory/what-is-dojo.md rename to rust-book-old/0.2.0/src/theory/what-is-dojo.md diff --git a/0.2.0/src/toolchain/dojoup.md b/rust-book-old/0.2.0/src/toolchain/dojoup.md similarity index 100% rename from 0.2.0/src/toolchain/dojoup.md rename to rust-book-old/0.2.0/src/toolchain/dojoup.md diff --git a/next/dojo-book/docs/pages/toolchain/katana/development.md b/rust-book-old/0.2.0/src/toolchain/katana/development.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/katana/development.md rename to rust-book-old/0.2.0/src/toolchain/katana/development.md diff --git a/0.2.0/src/toolchain/katana/overview.md b/rust-book-old/0.2.0/src/toolchain/katana/overview.md similarity index 100% rename from 0.2.0/src/toolchain/katana/overview.md rename to rust-book-old/0.2.0/src/toolchain/katana/overview.md diff --git a/0.2.0/src/toolchain/katana/reference.md b/rust-book-old/0.2.0/src/toolchain/katana/reference.md similarity index 100% rename from 0.2.0/src/toolchain/katana/reference.md rename to rust-book-old/0.2.0/src/toolchain/katana/reference.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common/account-options.md b/rust-book-old/0.2.0/src/toolchain/sozo/common/account-options.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common/account-options.md rename to rust-book-old/0.2.0/src/toolchain/sozo/common/account-options.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common/signer-options-keystore.md b/rust-book-old/0.2.0/src/toolchain/sozo/common/signer-options-keystore.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common/signer-options-keystore.md rename to rust-book-old/0.2.0/src/toolchain/sozo/common/signer-options-keystore.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common/signer-options-raw.md b/rust-book-old/0.2.0/src/toolchain/sozo/common/signer-options-raw.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common/signer-options-raw.md rename to rust-book-old/0.2.0/src/toolchain/sozo/common/signer-options-raw.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common/starknet-options.md b/rust-book-old/0.2.0/src/toolchain/sozo/common/starknet-options.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common/starknet-options.md rename to rust-book-old/0.2.0/src/toolchain/sozo/common/starknet-options.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/common/world-options.md b/rust-book-old/0.2.0/src/toolchain/sozo/common/world-options.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/common/world-options.md rename to rust-book-old/0.2.0/src/toolchain/sozo/common/world-options.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/development.md b/rust-book-old/0.2.0/src/toolchain/sozo/development.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/development.md rename to rust-book-old/0.2.0/src/toolchain/sozo/development.md diff --git a/0.2.0/src/toolchain/sozo/overview.md b/rust-book-old/0.2.0/src/toolchain/sozo/overview.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/overview.md rename to rust-book-old/0.2.0/src/toolchain/sozo/overview.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/project-commands/build.md b/rust-book-old/0.2.0/src/toolchain/sozo/project-commands/build.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/project-commands/build.md rename to rust-book-old/0.2.0/src/toolchain/sozo/project-commands/build.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/project-commands/init.md b/rust-book-old/0.2.0/src/toolchain/sozo/project-commands/init.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/project-commands/init.md rename to rust-book-old/0.2.0/src/toolchain/sozo/project-commands/init.md diff --git a/0.2.0/src/toolchain/sozo/project-commands/migrate.md b/rust-book-old/0.2.0/src/toolchain/sozo/project-commands/migrate.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/project-commands/migrate.md rename to rust-book-old/0.2.0/src/toolchain/sozo/project-commands/migrate.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/project-commands/test.md b/rust-book-old/0.2.0/src/toolchain/sozo/project-commands/test.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/project-commands/test.md rename to rust-book-old/0.2.0/src/toolchain/sozo/project-commands/test.md diff --git a/0.2.0/src/toolchain/sozo/reference.md b/rust-book-old/0.2.0/src/toolchain/sozo/reference.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/reference.md rename to rust-book-old/0.2.0/src/toolchain/sozo/reference.md diff --git a/0.2.0/src/toolchain/sozo/world-commands/auth.md b/rust-book-old/0.2.0/src/toolchain/sozo/world-commands/auth.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/world-commands/auth.md rename to rust-book-old/0.2.0/src/toolchain/sozo/world-commands/auth.md diff --git a/0.2.0/src/toolchain/sozo/world-commands/component.md b/rust-book-old/0.2.0/src/toolchain/sozo/world-commands/component.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/world-commands/component.md rename to rust-book-old/0.2.0/src/toolchain/sozo/world-commands/component.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/world-commands/events.md b/rust-book-old/0.2.0/src/toolchain/sozo/world-commands/events.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/world-commands/events.md rename to rust-book-old/0.2.0/src/toolchain/sozo/world-commands/events.md diff --git a/0.2.0/src/toolchain/sozo/world-commands/execute.md b/rust-book-old/0.2.0/src/toolchain/sozo/world-commands/execute.md similarity index 100% rename from 0.2.0/src/toolchain/sozo/world-commands/execute.md rename to rust-book-old/0.2.0/src/toolchain/sozo/world-commands/execute.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/world-commands/register.md b/rust-book-old/0.2.0/src/toolchain/sozo/world-commands/register.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/world-commands/register.md rename to rust-book-old/0.2.0/src/toolchain/sozo/world-commands/register.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/world-commands/system.md b/rust-book-old/0.2.0/src/toolchain/sozo/world-commands/system.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/world-commands/system.md rename to rust-book-old/0.2.0/src/toolchain/sozo/world-commands/system.md diff --git a/0.2.0/src/toolchain/torii/overview.md b/rust-book-old/0.2.0/src/toolchain/torii/overview.md similarity index 100% rename from 0.2.0/src/toolchain/torii/overview.md rename to rust-book-old/0.2.0/src/toolchain/torii/overview.md diff --git a/0.2.0/src/toolchain/torii/reference.md b/rust-book-old/0.2.0/src/toolchain/torii/reference.md similarity index 100% rename from 0.2.0/src/toolchain/torii/reference.md rename to rust-book-old/0.2.0/src/toolchain/torii/reference.md diff --git a/0.2.0/src/tutorial/onchain-chess/0-setup.md b/rust-book-old/0.2.0/src/tutorial/onchain-chess/0-setup.md similarity index 100% rename from 0.2.0/src/tutorial/onchain-chess/0-setup.md rename to rust-book-old/0.2.0/src/tutorial/onchain-chess/0-setup.md diff --git a/0.2.0/src/tutorial/onchain-chess/1-initiate.md b/rust-book-old/0.2.0/src/tutorial/onchain-chess/1-initiate.md similarity index 100% rename from 0.2.0/src/tutorial/onchain-chess/1-initiate.md rename to rust-book-old/0.2.0/src/tutorial/onchain-chess/1-initiate.md diff --git a/0.2.0/src/tutorial/onchain-chess/2-move.md b/rust-book-old/0.2.0/src/tutorial/onchain-chess/2-move.md similarity index 100% rename from 0.2.0/src/tutorial/onchain-chess/2-move.md rename to rust-book-old/0.2.0/src/tutorial/onchain-chess/2-move.md diff --git a/0.2.0/src/tutorial/onchain-chess/3-legal.md b/rust-book-old/0.2.0/src/tutorial/onchain-chess/3-legal.md similarity index 100% rename from 0.2.0/src/tutorial/onchain-chess/3-legal.md rename to rust-book-old/0.2.0/src/tutorial/onchain-chess/3-legal.md diff --git a/0.2.0/src/tutorial/onchain-chess/4-test.md b/rust-book-old/0.2.0/src/tutorial/onchain-chess/4-test.md similarity index 100% rename from 0.2.0/src/tutorial/onchain-chess/4-test.md rename to rust-book-old/0.2.0/src/tutorial/onchain-chess/4-test.md diff --git a/0.2.0/src/tutorial/onchain-chess/README.md b/rust-book-old/0.2.0/src/tutorial/onchain-chess/README.md similarity index 100% rename from 0.2.0/src/tutorial/onchain-chess/README.md rename to rust-book-old/0.2.0/src/tutorial/onchain-chess/README.md diff --git a/LANGUAGES b/rust-book-old/LANGUAGES similarity index 100% rename from LANGUAGES rename to rust-book-old/LANGUAGES diff --git a/book.toml b/rust-book-old/book.toml similarity index 100% rename from book.toml rename to rust-book-old/book.toml diff --git a/main.py b/rust-book-old/main.py similarity index 100% rename from main.py rename to rust-book-old/main.py diff --git a/po/cn.po b/rust-book-old/po/cn.po similarity index 100% rename from po/cn.po rename to rust-book-old/po/cn.po diff --git a/po/jp.po b/rust-book-old/po/jp.po similarity index 100% rename from po/jp.po rename to rust-book-old/po/jp.po diff --git a/po/ko.po b/rust-book-old/po/ko.po similarity index 100% rename from po/ko.po rename to rust-book-old/po/ko.po diff --git a/po/lt.po b/rust-book-old/po/lt.po similarity index 100% rename from po/lt.po rename to rust-book-old/po/lt.po diff --git a/po/messages.pot b/rust-book-old/po/messages.pot similarity index 100% rename from po/messages.pot rename to rust-book-old/po/messages.pot diff --git a/po/vi.po b/rust-book-old/po/vi.po similarity index 100% rename from po/vi.po rename to rust-book-old/po/vi.po diff --git a/rust-book-old/readme.md b/rust-book-old/readme.md new file mode 100644 index 00000000..3d286de1 --- /dev/null +++ b/rust-book-old/readme.md @@ -0,0 +1,68 @@ +## πŸ“– The Dojo Book + +Explore the world of Autonomous Worlds with Dojo, your trusted toolchain. [Dive in now](https://book.dojoengine.org/). + +### Contributing + +Embrace the open-source spirit of Dojo. As it's in its nascent phase, we welcome contributors with open arms. + +Peruse our [contributing guidelines](./src/misc/contributors.md). From minor wording adjustments to extensive chapters, every contribution matters! + +### Setup + +1. **Rust-related Packages**: + - Obtain the `cargo` toolchain via [rustup](https://rustup.rs/). + - Get [mdBook](https://rust-lang.github.io/mdBook/guide/installation.html) and its translation extension with the command: + `cargo install mdbook mdbook-i18n-helpers` +2. **Host Machine Packages**: + - To assist with translations, install [gettext](https://www.gnu.org/software/gettext/). It's typically accessible via most package managers. Use: `sudo apt install gettext`. +3. Clone this repository to get started. + +### Working Locally (English - Primary Language) + +Always edit Markdown files in English. Here's how to work on it: + +- Spin up a local server using `mdbook serve`. Navigate to [localhost:3000](http://localhost:3000). For an automated browser launch, append the `--open` flag: `mdbook serve --open`. +- Modify the content as desired. Refresh your browser to review edits. +- Ready to share? Open a PR with your enhancements. +- Don't forge to use prettier locally to format your markdown files: + ```bash + npm i -g prettier + prettier -w "**/*.md" + ``` + +### Working Locally (Translations) + +Catering to a global audience, we aspire for multilingual content. + +**Note**: Ensure all files in the `src` directory are in English, facilitating automated generation and updates of translation files. + +For translation tasks: + +- Start a local server for a specific language, e.g., `./translations.sh es`. Without specifying a language, the script defaults to extracting English translations. +- Focus on the relevant translation file, such as `po/es.po`. Tools like [poedit](https://poedit.net/) can make this task easier. +- Conclude your session with changes only in the `po/xx.po` file. Commit and open a PR. Ensure the PR begins with `i18n` to signal it involves translation. + +This translation model draws inspiration from the [Comprehensive Rust repository](https://github.com/google/comprehensive-rust/blob/main/TRANSLATIONS.md). + +#### Starting a New Language Translation + +If initiating a new language translation without a local server: + +- Use `./translations.sh new xx`, replacing `xx` with your language code. This command spawns the `xx.po` file for your language. +- Update your `xx.po` file with `./translations.sh xx` (swap `xx` with your language code), as detailed above. +- For pre-existing `xx.po` files, refrain from using the `new` command. + +#### GPT Translation + +Setup env: + +```bash +python3 -m venv ~/lang + +source ~/lang/bin/activate + +pip install -r requirements.txt +``` + +See script `./main.py` for instructions. diff --git a/requirements.txt b/rust-book-old/requirements.txt similarity index 100% rename from requirements.txt rename to rust-book-old/requirements.txt diff --git a/src/SUMMARY.md b/rust-book-old/src/SUMMARY.md similarity index 100% rename from src/SUMMARY.md rename to rust-book-old/src/SUMMARY.md diff --git a/next/dojo-book/docs/pages/cairo/authorization.md b/rust-book-old/src/cairo/authorization.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/authorization.md rename to rust-book-old/src/cairo/authorization.md diff --git a/next/dojo-book/docs/pages/cairo/commands.md b/rust-book-old/src/cairo/commands.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/commands.md rename to rust-book-old/src/cairo/commands.md diff --git a/src/cairo/config.md b/rust-book-old/src/cairo/config.md similarity index 100% rename from src/cairo/config.md rename to rust-book-old/src/cairo/config.md diff --git a/src/cairo/entities.md b/rust-book-old/src/cairo/entities.md similarity index 100% rename from src/cairo/entities.md rename to rust-book-old/src/cairo/entities.md diff --git a/src/cairo/enum.md b/rust-book-old/src/cairo/enum.md similarity index 100% rename from src/cairo/enum.md rename to rust-book-old/src/cairo/enum.md diff --git a/next/dojo-book/docs/pages/cairo/events.md b/rust-book-old/src/cairo/events.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/events.md rename to rust-book-old/src/cairo/events.md diff --git a/next/dojo-book/docs/pages/cairo/hello-dojo.md b/rust-book-old/src/cairo/hello-dojo.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/hello-dojo.md rename to rust-book-old/src/cairo/hello-dojo.md diff --git a/src/cairo/metadata.md b/rust-book-old/src/cairo/metadata.md similarity index 100% rename from src/cairo/metadata.md rename to rust-book-old/src/cairo/metadata.md diff --git a/src/cairo/migration.md b/rust-book-old/src/cairo/migration.md similarity index 100% rename from src/cairo/migration.md rename to rust-book-old/src/cairo/migration.md diff --git a/src/cairo/migration/0.3.0.md b/rust-book-old/src/cairo/migration/0.3.0.md similarity index 100% rename from src/cairo/migration/0.3.0.md rename to rust-book-old/src/cairo/migration/0.3.0.md diff --git a/src/cairo/migration/0.4.0.md b/rust-book-old/src/cairo/migration/0.4.0.md similarity index 100% rename from src/cairo/migration/0.4.0.md rename to rust-book-old/src/cairo/migration/0.4.0.md diff --git a/src/cairo/models.md b/rust-book-old/src/cairo/models.md similarity index 100% rename from src/cairo/models.md rename to rust-book-old/src/cairo/models.md diff --git a/next/dojo-book/docs/pages/cairo/origami.md b/rust-book-old/src/cairo/origami.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/origami.md rename to rust-book-old/src/cairo/origami.md diff --git a/src/cairo/overview.md b/rust-book-old/src/cairo/overview.md similarity index 100% rename from src/cairo/overview.md rename to rust-book-old/src/cairo/overview.md diff --git a/next/dojo-book/docs/pages/cairo/systems.md b/rust-book-old/src/cairo/systems.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/systems.md rename to rust-book-old/src/cairo/systems.md diff --git a/src/cairo/testing.md b/rust-book-old/src/cairo/testing.md similarity index 100% rename from src/cairo/testing.md rename to rust-book-old/src/cairo/testing.md diff --git a/next/dojo-book/docs/pages/cairo/world.md b/rust-book-old/src/cairo/world.md similarity index 100% rename from next/dojo-book/docs/pages/cairo/world.md rename to rust-book-old/src/cairo/world.md diff --git a/src/client/dojojs.md b/rust-book-old/src/client/dojojs.md similarity index 100% rename from src/client/dojojs.md rename to rust-book-old/src/client/dojojs.md diff --git a/src/client/overview.md b/rust-book-old/src/client/overview.md similarity index 100% rename from src/client/overview.md rename to rust-book-old/src/client/overview.md diff --git a/src/client/sdk/c.md b/rust-book-old/src/client/sdk/c.md similarity index 100% rename from src/client/sdk/c.md rename to rust-book-old/src/client/sdk/c.md diff --git a/src/client/sdk/dojojs.md b/rust-book-old/src/client/sdk/dojojs.md similarity index 100% rename from src/client/sdk/dojojs.md rename to rust-book-old/src/client/sdk/dojojs.md diff --git a/next/dojo-book/docs/pages/client/sdk/unity.md b/rust-book-old/src/client/sdk/unity.md similarity index 100% rename from next/dojo-book/docs/pages/client/sdk/unity.md rename to rust-book-old/src/client/sdk/unity.md diff --git a/src/client/torii.md b/rust-book-old/src/client/torii.md similarity index 100% rename from src/client/torii.md rename to rust-book-old/src/client/torii.md diff --git a/next/dojo-book/docs/pages/community/get-started.md b/rust-book-old/src/community/get-started.md similarity index 100% rename from next/dojo-book/docs/pages/community/get-started.md rename to rust-book-old/src/community/get-started.md diff --git a/next/dojo-book/docs/pages/deployment/locally.md b/rust-book-old/src/deployment/locally.md similarity index 100% rename from next/dojo-book/docs/pages/deployment/locally.md rename to rust-book-old/src/deployment/locally.md diff --git a/next/dojo-book/docs/pages/deployment/remote.md b/rust-book-old/src/deployment/remote.md similarity index 100% rename from next/dojo-book/docs/pages/deployment/remote.md rename to rust-book-old/src/deployment/remote.md diff --git a/src/getting-started/contributing.md b/rust-book-old/src/getting-started/contributing.md similarity index 100% rename from src/getting-started/contributing.md rename to rust-book-old/src/getting-started/contributing.md diff --git a/next/dojo-book/docs/pages/getting-started/from-source.md b/rust-book-old/src/getting-started/from-source.md similarity index 100% rename from next/dojo-book/docs/pages/getting-started/from-source.md rename to rust-book-old/src/getting-started/from-source.md diff --git a/next/dojo-book/docs/pages/getting-started/quick-start.md b/rust-book-old/src/getting-started/quick-start.md similarity index 100% rename from next/dojo-book/docs/pages/getting-started/quick-start.md rename to rust-book-old/src/getting-started/quick-start.md diff --git a/next/dojo-book/docs/pages/getting-started/setup.md b/rust-book-old/src/getting-started/setup.md similarity index 100% rename from next/dojo-book/docs/pages/getting-started/setup.md rename to rust-book-old/src/getting-started/setup.md diff --git a/src/images/Built with.svg b/rust-book-old/src/images/Built with.svg similarity index 100% rename from src/images/Built with.svg rename to rust-book-old/src/images/Built with.svg diff --git a/src/images/Dojo - Contracts.png b/rust-book-old/src/images/Dojo - Contracts.png similarity index 100% rename from src/images/Dojo - Contracts.png rename to rust-book-old/src/images/Dojo - Contracts.png diff --git a/src/images/ECS.png b/rust-book-old/src/images/ECS.png similarity index 100% rename from src/images/ECS.png rename to rust-book-old/src/images/ECS.png diff --git a/src/images/board.png b/rust-book-old/src/images/board.png similarity index 100% rename from src/images/board.png rename to rust-book-old/src/images/board.png diff --git a/src/images/dojo-auth.png b/rust-book-old/src/images/dojo-auth.png similarity index 100% rename from src/images/dojo-auth.png rename to rust-book-old/src/images/dojo-auth.png diff --git a/src/images/dojo-mark-full-dark.svg b/rust-book-old/src/images/dojo-mark-full-dark.svg similarity index 100% rename from src/images/dojo-mark-full-dark.svg rename to rust-book-old/src/images/dojo-mark-full-dark.svg diff --git a/src/images/dojo-sozo-workflow.jpg b/rust-book-old/src/images/dojo-sozo-workflow.jpg similarity index 100% rename from src/images/dojo-sozo-workflow.jpg rename to rust-book-old/src/images/dojo-sozo-workflow.jpg diff --git a/src/images/dojo.unity_demo.mp4 b/rust-book-old/src/images/dojo.unity_demo.mp4 similarity index 100% rename from src/images/dojo.unity_demo.mp4 rename to rust-book-old/src/images/dojo.unity_demo.mp4 diff --git a/src/images/katana-icon-word.png b/rust-book-old/src/images/katana-icon-word.png similarity index 100% rename from src/images/katana-icon-word.png rename to rust-book-old/src/images/katana-icon-word.png diff --git a/src/images/katana-icon.png b/rust-book-old/src/images/katana-icon.png similarity index 100% rename from src/images/katana-icon.png rename to rust-book-old/src/images/katana-icon.png diff --git a/src/images/katana.png b/rust-book-old/src/images/katana.png similarity index 100% rename from src/images/katana.png rename to rust-book-old/src/images/katana.png diff --git a/src/images/origami-icon-word.png b/rust-book-old/src/images/origami-icon-word.png similarity index 100% rename from src/images/origami-icon-word.png rename to rust-book-old/src/images/origami-icon-word.png diff --git a/src/images/origami-icon.png b/rust-book-old/src/images/origami-icon.png similarity index 100% rename from src/images/origami-icon.png rename to rust-book-old/src/images/origami-icon.png diff --git a/src/images/origami.png b/rust-book-old/src/images/origami.png similarity index 100% rename from src/images/origami.png rename to rust-book-old/src/images/origami.png diff --git a/src/images/permissions.png b/rust-book-old/src/images/permissions.png similarity index 100% rename from src/images/permissions.png rename to rust-book-old/src/images/permissions.png diff --git a/src/images/slot-icon-word.png b/rust-book-old/src/images/slot-icon-word.png similarity index 100% rename from src/images/slot-icon-word.png rename to rust-book-old/src/images/slot-icon-word.png diff --git a/src/images/slot-icon.png b/rust-book-old/src/images/slot-icon.png similarity index 100% rename from src/images/slot-icon.png rename to rust-book-old/src/images/slot-icon.png diff --git a/src/images/sozo-icon-word.png b/rust-book-old/src/images/sozo-icon-word.png similarity index 100% rename from src/images/sozo-icon-word.png rename to rust-book-old/src/images/sozo-icon-word.png diff --git a/src/images/sozo-icon.png b/rust-book-old/src/images/sozo-icon.png similarity index 100% rename from src/images/sozo-icon.png rename to rust-book-old/src/images/sozo-icon.png diff --git a/src/images/torii-icon-word.png b/rust-book-old/src/images/torii-icon-word.png similarity index 100% rename from src/images/torii-icon-word.png rename to rust-book-old/src/images/torii-icon-word.png diff --git a/src/images/torii-icon.png b/rust-book-old/src/images/torii-icon.png similarity index 100% rename from src/images/torii-icon.png rename to rust-book-old/src/images/torii-icon.png diff --git a/src/images/unity-screen-grab.png b/rust-book-old/src/images/unity-screen-grab.png similarity index 100% rename from src/images/unity-screen-grab.png rename to rust-book-old/src/images/unity-screen-grab.png diff --git a/src/images/unity/models.png b/rust-book-old/src/images/unity/models.png similarity index 100% rename from src/images/unity/models.png rename to rust-book-old/src/images/unity/models.png diff --git a/src/images/unity/sync-master.png b/rust-book-old/src/images/unity/sync-master.png similarity index 100% rename from src/images/unity/sync-master.png rename to rust-book-old/src/images/unity/sync-master.png diff --git a/src/images/unity/world-manager.png b/rust-book-old/src/images/unity/world-manager.png similarity index 100% rename from src/images/unity/world-manager.png rename to rust-book-old/src/images/unity/world-manager.png diff --git a/src/images/world-map.png b/rust-book-old/src/images/world-map.png similarity index 100% rename from src/images/world-map.png rename to rust-book-old/src/images/world-map.png diff --git a/src/images/world_flow.png b/rust-book-old/src/images/world_flow.png similarity index 100% rename from src/images/world_flow.png rename to rust-book-old/src/images/world_flow.png diff --git a/src/images/worlds-dev-icon-word.png b/rust-book-old/src/images/worlds-dev-icon-word.png similarity index 100% rename from src/images/worlds-dev-icon-word.png rename to rust-book-old/src/images/worlds-dev-icon-word.png diff --git a/src/images/worlds-dev-icon.png b/rust-book-old/src/images/worlds-dev-icon.png similarity index 100% rename from src/images/worlds-dev-icon.png rename to rust-book-old/src/images/worlds-dev-icon.png diff --git a/src/misc/contributors.md b/rust-book-old/src/misc/contributors.md similarity index 100% rename from src/misc/contributors.md rename to rust-book-old/src/misc/contributors.md diff --git a/src/theory/autonomous-worlds.md b/rust-book-old/src/theory/autonomous-worlds.md similarity index 100% rename from src/theory/autonomous-worlds.md rename to rust-book-old/src/theory/autonomous-worlds.md diff --git a/next/dojo-book/docs/pages/theory/cairo.md b/rust-book-old/src/theory/cairo.md similarity index 100% rename from next/dojo-book/docs/pages/theory/cairo.md rename to rust-book-old/src/theory/cairo.md diff --git a/next/dojo-book/docs/pages/theory/faqs.md b/rust-book-old/src/theory/faqs.md similarity index 100% rename from next/dojo-book/docs/pages/theory/faqs.md rename to rust-book-old/src/theory/faqs.md diff --git a/next/dojo-book/docs/pages/theory/what-is-dojo.md b/rust-book-old/src/theory/what-is-dojo.md similarity index 100% rename from next/dojo-book/docs/pages/theory/what-is-dojo.md rename to rust-book-old/src/theory/what-is-dojo.md diff --git a/src/toolchain/dojoup.md b/rust-book-old/src/toolchain/dojoup.md similarity index 100% rename from src/toolchain/dojoup.md rename to rust-book-old/src/toolchain/dojoup.md diff --git a/src/toolchain/katana/development.md b/rust-book-old/src/toolchain/katana/development.md similarity index 100% rename from src/toolchain/katana/development.md rename to rust-book-old/src/toolchain/katana/development.md diff --git a/next/dojo-book/docs/pages/toolchain/katana/overview.md b/rust-book-old/src/toolchain/katana/overview.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/katana/overview.md rename to rust-book-old/src/toolchain/katana/overview.md diff --git a/src/toolchain/katana/reference.md b/rust-book-old/src/toolchain/katana/reference.md similarity index 100% rename from src/toolchain/katana/reference.md rename to rust-book-old/src/toolchain/katana/reference.md diff --git a/src/toolchain/slot/deployments-commands/deployments.md b/rust-book-old/src/toolchain/slot/deployments-commands/deployments.md similarity index 100% rename from src/toolchain/slot/deployments-commands/deployments.md rename to rust-book-old/src/toolchain/slot/deployments-commands/deployments.md diff --git a/next/dojo-book/docs/pages/toolchain/slot/overview.md b/rust-book-old/src/toolchain/slot/overview.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/slot/overview.md rename to rust-book-old/src/toolchain/slot/overview.md diff --git a/src/toolchain/slot/reference.md b/rust-book-old/src/toolchain/slot/reference.md similarity index 100% rename from src/toolchain/slot/reference.md rename to rust-book-old/src/toolchain/slot/reference.md diff --git a/src/toolchain/sozo/common-options/offline.md b/rust-book-old/src/toolchain/sozo/common-options/offline.md similarity index 100% rename from src/toolchain/sozo/common-options/offline.md rename to rust-book-old/src/toolchain/sozo/common-options/offline.md diff --git a/src/toolchain/sozo/common-options/profile.md b/rust-book-old/src/toolchain/sozo/common-options/profile.md similarity index 100% rename from src/toolchain/sozo/common-options/profile.md rename to rust-book-old/src/toolchain/sozo/common-options/profile.md diff --git a/src/toolchain/sozo/common/account-options.md b/rust-book-old/src/toolchain/sozo/common/account-options.md similarity index 100% rename from src/toolchain/sozo/common/account-options.md rename to rust-book-old/src/toolchain/sozo/common/account-options.md diff --git a/src/toolchain/sozo/common/signer-options-keystore.md b/rust-book-old/src/toolchain/sozo/common/signer-options-keystore.md similarity index 100% rename from src/toolchain/sozo/common/signer-options-keystore.md rename to rust-book-old/src/toolchain/sozo/common/signer-options-keystore.md diff --git a/src/toolchain/sozo/common/signer-options-raw.md b/rust-book-old/src/toolchain/sozo/common/signer-options-raw.md similarity index 100% rename from src/toolchain/sozo/common/signer-options-raw.md rename to rust-book-old/src/toolchain/sozo/common/signer-options-raw.md diff --git a/src/toolchain/sozo/common/starknet-options.md b/rust-book-old/src/toolchain/sozo/common/starknet-options.md similarity index 100% rename from src/toolchain/sozo/common/starknet-options.md rename to rust-book-old/src/toolchain/sozo/common/starknet-options.md diff --git a/src/toolchain/sozo/common/world-options.md b/rust-book-old/src/toolchain/sozo/common/world-options.md similarity index 100% rename from src/toolchain/sozo/common/world-options.md rename to rust-book-old/src/toolchain/sozo/common/world-options.md diff --git a/src/toolchain/sozo/development.md b/rust-book-old/src/toolchain/sozo/development.md similarity index 100% rename from src/toolchain/sozo/development.md rename to rust-book-old/src/toolchain/sozo/development.md diff --git a/next/dojo-book/docs/pages/toolchain/sozo/overview.md b/rust-book-old/src/toolchain/sozo/overview.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/sozo/overview.md rename to rust-book-old/src/toolchain/sozo/overview.md diff --git a/src/toolchain/sozo/project-commands/build.md b/rust-book-old/src/toolchain/sozo/project-commands/build.md similarity index 100% rename from src/toolchain/sozo/project-commands/build.md rename to rust-book-old/src/toolchain/sozo/project-commands/build.md diff --git a/src/toolchain/sozo/project-commands/init.md b/rust-book-old/src/toolchain/sozo/project-commands/init.md similarity index 100% rename from src/toolchain/sozo/project-commands/init.md rename to rust-book-old/src/toolchain/sozo/project-commands/init.md diff --git a/src/toolchain/sozo/project-commands/migrate.md b/rust-book-old/src/toolchain/sozo/project-commands/migrate.md similarity index 100% rename from src/toolchain/sozo/project-commands/migrate.md rename to rust-book-old/src/toolchain/sozo/project-commands/migrate.md diff --git a/src/toolchain/sozo/project-commands/test.md b/rust-book-old/src/toolchain/sozo/project-commands/test.md similarity index 100% rename from src/toolchain/sozo/project-commands/test.md rename to rust-book-old/src/toolchain/sozo/project-commands/test.md diff --git a/src/toolchain/sozo/reference.md b/rust-book-old/src/toolchain/sozo/reference.md similarity index 100% rename from src/toolchain/sozo/reference.md rename to rust-book-old/src/toolchain/sozo/reference.md diff --git a/src/toolchain/sozo/world-commands/auth.md b/rust-book-old/src/toolchain/sozo/world-commands/auth.md similarity index 100% rename from src/toolchain/sozo/world-commands/auth.md rename to rust-book-old/src/toolchain/sozo/world-commands/auth.md diff --git a/src/toolchain/sozo/world-commands/events.md b/rust-book-old/src/toolchain/sozo/world-commands/events.md similarity index 100% rename from src/toolchain/sozo/world-commands/events.md rename to rust-book-old/src/toolchain/sozo/world-commands/events.md diff --git a/src/toolchain/sozo/world-commands/execute.md b/rust-book-old/src/toolchain/sozo/world-commands/execute.md similarity index 100% rename from src/toolchain/sozo/world-commands/execute.md rename to rust-book-old/src/toolchain/sozo/world-commands/execute.md diff --git a/src/toolchain/sozo/world-commands/model.md b/rust-book-old/src/toolchain/sozo/world-commands/model.md similarity index 100% rename from src/toolchain/sozo/world-commands/model.md rename to rust-book-old/src/toolchain/sozo/world-commands/model.md diff --git a/src/toolchain/sozo/world-commands/register.md b/rust-book-old/src/toolchain/sozo/world-commands/register.md similarity index 100% rename from src/toolchain/sozo/world-commands/register.md rename to rust-book-old/src/toolchain/sozo/world-commands/register.md diff --git a/src/toolchain/sozo/world-commands/system.md b/rust-book-old/src/toolchain/sozo/world-commands/system.md similarity index 100% rename from src/toolchain/sozo/world-commands/system.md rename to rust-book-old/src/toolchain/sozo/world-commands/system.md diff --git a/next/dojo-book/docs/pages/toolchain/torii/graphql.md b/rust-book-old/src/toolchain/torii/graphql.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/torii/graphql.md rename to rust-book-old/src/toolchain/torii/graphql.md diff --git a/next/dojo-book/docs/pages/toolchain/torii/grpc.md b/rust-book-old/src/toolchain/torii/grpc.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/torii/grpc.md rename to rust-book-old/src/toolchain/torii/grpc.md diff --git a/next/dojo-book/docs/pages/toolchain/torii/overview.md b/rust-book-old/src/toolchain/torii/overview.md similarity index 100% rename from next/dojo-book/docs/pages/toolchain/torii/overview.md rename to rust-book-old/src/toolchain/torii/overview.md diff --git a/src/toolchain/torii/reference.md b/rust-book-old/src/toolchain/torii/reference.md similarity index 100% rename from src/toolchain/torii/reference.md rename to rust-book-old/src/toolchain/torii/reference.md diff --git a/src/tutorial/deploy-using-slot/main.md b/rust-book-old/src/tutorial/deploy-using-slot/main.md similarity index 100% rename from src/tutorial/deploy-using-slot/main.md rename to rust-book-old/src/tutorial/deploy-using-slot/main.md diff --git a/next/dojo-book/docs/pages/tutorial/onchain-chess/0-setup.md b/rust-book-old/src/tutorial/onchain-chess/0-setup.md similarity index 100% rename from next/dojo-book/docs/pages/tutorial/onchain-chess/0-setup.md rename to rust-book-old/src/tutorial/onchain-chess/0-setup.md diff --git a/next/dojo-book/docs/pages/tutorial/onchain-chess/1-action.md b/rust-book-old/src/tutorial/onchain-chess/1-action.md similarity index 100% rename from next/dojo-book/docs/pages/tutorial/onchain-chess/1-action.md rename to rust-book-old/src/tutorial/onchain-chess/1-action.md diff --git a/src/tutorial/onchain-chess/2-move.md b/rust-book-old/src/tutorial/onchain-chess/2-move.md similarity index 100% rename from src/tutorial/onchain-chess/2-move.md rename to rust-book-old/src/tutorial/onchain-chess/2-move.md diff --git a/src/tutorial/onchain-chess/3-test.md b/rust-book-old/src/tutorial/onchain-chess/3-test.md similarity index 100% rename from src/tutorial/onchain-chess/3-test.md rename to rust-book-old/src/tutorial/onchain-chess/3-test.md diff --git a/src/tutorial/onchain-chess/README.md b/rust-book-old/src/tutorial/onchain-chess/README.md similarity index 100% rename from src/tutorial/onchain-chess/README.md rename to rust-book-old/src/tutorial/onchain-chess/README.md diff --git a/theme/book.js b/rust-book-old/theme/book.js similarity index 100% rename from theme/book.js rename to rust-book-old/theme/book.js diff --git a/theme/card.png b/rust-book-old/theme/card.png similarity index 100% rename from theme/card.png rename to rust-book-old/theme/card.png diff --git a/theme/css/chrome.css b/rust-book-old/theme/css/chrome.css similarity index 100% rename from theme/css/chrome.css rename to rust-book-old/theme/css/chrome.css diff --git a/theme/css/general.css b/rust-book-old/theme/css/general.css similarity index 100% rename from theme/css/general.css rename to rust-book-old/theme/css/general.css diff --git a/theme/css/print.css b/rust-book-old/theme/css/print.css similarity index 100% rename from theme/css/print.css rename to rust-book-old/theme/css/print.css diff --git a/theme/css/variables.css b/rust-book-old/theme/css/variables.css similarity index 100% rename from theme/css/variables.css rename to rust-book-old/theme/css/variables.css diff --git a/theme/favicon.png b/rust-book-old/theme/favicon.png similarity index 100% rename from theme/favicon.png rename to rust-book-old/theme/favicon.png diff --git a/theme/favicon.svg b/rust-book-old/theme/favicon.svg similarity index 100% rename from theme/favicon.svg rename to rust-book-old/theme/favicon.svg diff --git a/theme/fonts/OPEN-SANS-LICENSE.txt b/rust-book-old/theme/fonts/OPEN-SANS-LICENSE.txt similarity index 100% rename from theme/fonts/OPEN-SANS-LICENSE.txt rename to rust-book-old/theme/fonts/OPEN-SANS-LICENSE.txt diff --git a/theme/fonts/SOURCE-CODE-PRO-LICENSE.txt b/rust-book-old/theme/fonts/SOURCE-CODE-PRO-LICENSE.txt similarity index 100% rename from theme/fonts/SOURCE-CODE-PRO-LICENSE.txt rename to rust-book-old/theme/fonts/SOURCE-CODE-PRO-LICENSE.txt diff --git a/theme/fonts/fonts.css b/rust-book-old/theme/fonts/fonts.css similarity index 100% rename from theme/fonts/fonts.css rename to rust-book-old/theme/fonts/fonts.css diff --git a/theme/fonts/open-sans-v17-all-charsets-300.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-300.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-300.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-300.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-300italic.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-300italic.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-300italic.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-300italic.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-600.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-600.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-600.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-600.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-600italic.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-600italic.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-600italic.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-600italic.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-700.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-700.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-700.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-700.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-700italic.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-700italic.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-700italic.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-700italic.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-800.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-800.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-800.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-800.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-800italic.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-800italic.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-800italic.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-800italic.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-italic.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-italic.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-italic.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-italic.woff2 diff --git a/theme/fonts/open-sans-v17-all-charsets-regular.woff2 b/rust-book-old/theme/fonts/open-sans-v17-all-charsets-regular.woff2 similarity index 100% rename from theme/fonts/open-sans-v17-all-charsets-regular.woff2 rename to rust-book-old/theme/fonts/open-sans-v17-all-charsets-regular.woff2 diff --git a/theme/fonts/source-code-pro-v11-all-charsets-500.woff2 b/rust-book-old/theme/fonts/source-code-pro-v11-all-charsets-500.woff2 similarity index 100% rename from theme/fonts/source-code-pro-v11-all-charsets-500.woff2 rename to rust-book-old/theme/fonts/source-code-pro-v11-all-charsets-500.woff2 diff --git a/theme/head.hbs b/rust-book-old/theme/head.hbs similarity index 100% rename from theme/head.hbs rename to rust-book-old/theme/head.hbs diff --git a/theme/highlight.css b/rust-book-old/theme/highlight.css similarity index 100% rename from theme/highlight.css rename to rust-book-old/theme/highlight.css diff --git a/theme/highlight.js b/rust-book-old/theme/highlight.js similarity index 100% rename from theme/highlight.js rename to rust-book-old/theme/highlight.js diff --git a/theme/index.hbs b/rust-book-old/theme/index.hbs similarity index 100% rename from theme/index.hbs rename to rust-book-old/theme/index.hbs diff --git a/translations.sh b/rust-book-old/translations.sh similarity index 100% rename from translations.sh rename to rust-book-old/translations.sh