From 97a2c62804b02c1275d92ee71576d94212790efb Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Fri, 29 Oct 2021 00:40:36 -0400 Subject: [PATCH] docs: create a new "advanced" book --- docs/{ => guide}/book.toml | 0 docs/{ => guide}/src/README.md | 2 +- docs/{ => guide}/src/SUMMARY.md | 5 +++-- .../src/advanced-guides/custom-renderer.md | 0 docs/{ => guide}/src/advanced-guides/liveview.md | 0 .../{ => guide}/src/advanced-guides/rsx-in-depth.md | 0 docs/{ => guide}/src/concepts/00-index.md | 0 .../{ => guide}/src/concepts/06-subscription-api.md | 0 docs/{ => guide}/src/concepts/10-concurrent-mode.md | 0 docs/{ => guide}/src/concepts/11-arena-memo.md | 0 docs/{ => guide}/src/concepts/12-signals.md | 0 docs/{ => guide}/src/concepts/13-subtrees.md | 0 docs/{ => guide}/src/concepts/async.md | 0 docs/{ => guide}/src/concepts/asynccallbacks.md | 0 docs/{ => guide}/src/concepts/asynctasks.md | 0 docs/{ => guide}/src/concepts/bundline.md | 0 docs/{ => guide}/src/concepts/components.md | 0 .../src/concepts/conditional_rendering.md | 0 docs/{ => guide}/src/concepts/custom_elements.md | 0 docs/{ => guide}/src/concepts/custom_renderer.md | 0 docs/{ => guide}/src/concepts/effects.md | 0 docs/{ => guide}/src/concepts/errorhandling.md | 0 docs/{ => guide}/src/concepts/event_handlers.md | 0 .../src/concepts/exporting_components.md | 0 docs/{ => guide}/src/concepts/hooks.md | 0 docs/{ => guide}/src/concepts/interactivity.md | 0 docs/{ => guide}/src/concepts/lifecycles.md | 0 docs/{ => guide}/src/concepts/lists.md | 11 +++++++++-- docs/{ => guide}/src/concepts/managing_state.md | 0 docs/{ => guide}/src/concepts/memoization.md | 0 docs/{ => guide}/src/concepts/rsx.md | 0 docs/{ => guide}/src/concepts/rsx_in_depth.md | 0 .../src/concepts/server_side_components.md | 0 docs/{ => guide}/src/concepts/sharedstate.md | 0 docs/{ => guide}/src/concepts/suspense.md | 0 docs/{ => guide}/src/concepts/testing.md | 0 docs/{ => guide}/src/concepts/vnodes.md | 0 docs/guide/src/final/index.md | 10 ++++++++++ docs/{ => guide}/src/hello_world.md | 0 docs/{ => guide}/src/images/01-setup-helloworld.png | Bin docs/{ => guide}/src/images/compiletimecorrect.png | Bin docs/{ => guide}/src/images/dioxuslogo_full.png | Bin docs/{ => guide}/src/images/helloworld.png | Bin docs/{ => guide}/src/images/reddit.png | Bin docs/{ => guide}/src/images/reddit_post.png | Bin .../src/images/reddit_post_components.png | Bin docs/{ => guide}/src/misc/contributors.md | 0 docs/{ => guide}/src/setup.md | 2 +- docs/{ => guide}/src/tutorial/advanced_guides.md | 0 docs/{ => guide}/src/tutorial/components.md | 0 docs/{ => guide}/src/tutorial/index.md | 0 docs/{ => guide}/src/tutorial/new_app.md | 0 docs/{ => guide}/src/tutorial/publishing.md | 0 docs/{ => guide}/src/tutorial/state.md | 0 docs/{ => guide}/src/tutorial/structure.md | 0 docs/{ => guide}/src/tutorial/styling.md | 0 docs/reference/README.md | 0 docs/reference/SUMMARY.md | 0 docs/reference/book.toml | 0 docs/{ => reference}/src/depth/components.md | 0 docs/{ => reference}/src/depth/memoization.md | 0 docs/{ => reference}/src/depth/performance.md | 0 docs/{ => reference}/src/depth/props.md | 0 docs/{ => reference}/src/depth/rsx.md | 0 docs/{ => reference}/src/depth/testing.md | 0 docs/{ => reference}/src/depth/topics.md | 0 docs/src/for_developers/README.md | 1 - docs/src/for_developers/backends.md | 1 - docs/src/for_developers/preprocessors.md | 1 - 69 files changed, 24 insertions(+), 9 deletions(-) rename docs/{ => guide}/book.toml (100%) rename docs/{ => guide}/src/README.md (98%) rename docs/{ => guide}/src/SUMMARY.md (95%) rename docs/{ => guide}/src/advanced-guides/custom-renderer.md (100%) rename docs/{ => guide}/src/advanced-guides/liveview.md (100%) rename docs/{ => guide}/src/advanced-guides/rsx-in-depth.md (100%) rename docs/{ => guide}/src/concepts/00-index.md (100%) rename docs/{ => guide}/src/concepts/06-subscription-api.md (100%) rename docs/{ => guide}/src/concepts/10-concurrent-mode.md (100%) rename docs/{ => guide}/src/concepts/11-arena-memo.md (100%) rename docs/{ => guide}/src/concepts/12-signals.md (100%) rename docs/{ => guide}/src/concepts/13-subtrees.md (100%) rename docs/{ => guide}/src/concepts/async.md (100%) rename docs/{ => guide}/src/concepts/asynccallbacks.md (100%) rename docs/{ => guide}/src/concepts/asynctasks.md (100%) rename docs/{ => guide}/src/concepts/bundline.md (100%) rename docs/{ => guide}/src/concepts/components.md (100%) rename docs/{ => guide}/src/concepts/conditional_rendering.md (100%) rename docs/{ => guide}/src/concepts/custom_elements.md (100%) rename docs/{ => guide}/src/concepts/custom_renderer.md (100%) rename docs/{ => guide}/src/concepts/effects.md (100%) rename docs/{ => guide}/src/concepts/errorhandling.md (100%) rename docs/{ => guide}/src/concepts/event_handlers.md (100%) rename docs/{ => guide}/src/concepts/exporting_components.md (100%) rename docs/{ => guide}/src/concepts/hooks.md (100%) rename docs/{ => guide}/src/concepts/interactivity.md (100%) rename docs/{ => guide}/src/concepts/lifecycles.md (100%) rename docs/{ => guide}/src/concepts/lists.md (91%) rename docs/{ => guide}/src/concepts/managing_state.md (100%) rename docs/{ => guide}/src/concepts/memoization.md (100%) rename docs/{ => guide}/src/concepts/rsx.md (100%) rename docs/{ => guide}/src/concepts/rsx_in_depth.md (100%) rename docs/{ => guide}/src/concepts/server_side_components.md (100%) rename docs/{ => guide}/src/concepts/sharedstate.md (100%) rename docs/{ => guide}/src/concepts/suspense.md (100%) rename docs/{ => guide}/src/concepts/testing.md (100%) rename docs/{ => guide}/src/concepts/vnodes.md (100%) create mode 100644 docs/guide/src/final/index.md rename docs/{ => guide}/src/hello_world.md (100%) rename docs/{ => guide}/src/images/01-setup-helloworld.png (100%) rename docs/{ => guide}/src/images/compiletimecorrect.png (100%) rename docs/{ => guide}/src/images/dioxuslogo_full.png (100%) rename docs/{ => guide}/src/images/helloworld.png (100%) rename docs/{ => guide}/src/images/reddit.png (100%) rename docs/{ => guide}/src/images/reddit_post.png (100%) rename docs/{ => guide}/src/images/reddit_post_components.png (100%) rename docs/{ => guide}/src/misc/contributors.md (100%) rename docs/{ => guide}/src/setup.md (85%) rename docs/{ => guide}/src/tutorial/advanced_guides.md (100%) rename docs/{ => guide}/src/tutorial/components.md (100%) rename docs/{ => guide}/src/tutorial/index.md (100%) rename docs/{ => guide}/src/tutorial/new_app.md (100%) rename docs/{ => guide}/src/tutorial/publishing.md (100%) rename docs/{ => guide}/src/tutorial/state.md (100%) rename docs/{ => guide}/src/tutorial/structure.md (100%) rename docs/{ => guide}/src/tutorial/styling.md (100%) create mode 100644 docs/reference/README.md create mode 100644 docs/reference/SUMMARY.md create mode 100644 docs/reference/book.toml rename docs/{ => reference}/src/depth/components.md (100%) rename docs/{ => reference}/src/depth/memoization.md (100%) rename docs/{ => reference}/src/depth/performance.md (100%) rename docs/{ => reference}/src/depth/props.md (100%) rename docs/{ => reference}/src/depth/rsx.md (100%) rename docs/{ => reference}/src/depth/testing.md (100%) rename docs/{ => reference}/src/depth/topics.md (100%) delete mode 100644 docs/src/for_developers/README.md delete mode 100644 docs/src/for_developers/backends.md delete mode 100644 docs/src/for_developers/preprocessors.md diff --git a/docs/book.toml b/docs/guide/book.toml similarity index 100% rename from docs/book.toml rename to docs/guide/book.toml diff --git a/docs/src/README.md b/docs/guide/src/README.md similarity index 98% rename from docs/src/README.md rename to docs/guide/src/README.md index 33cd7c7f1..401b2026b 100644 --- a/docs/src/README.md +++ b/docs/guide/src/README.md @@ -33,7 +33,7 @@ Examples: - [ECommerce]() - [Photo Editor]() -[![todomvc](https://github.com/DioxusLabs/todomvc/raw/master/example.png)](https://github.com/dioxusLabs/todomvc/) +[![TODOMVC](https://github.com/DioxusLabs/todomvc/raw/master/example.png)](https://github.com/dioxusLabs/todomvc/) ### SSR Support --- diff --git a/docs/src/SUMMARY.md b/docs/guide/src/SUMMARY.md similarity index 95% rename from docs/src/SUMMARY.md rename to docs/guide/src/SUMMARY.md index 9255f443d..c7417f9a7 100644 --- a/docs/src/SUMMARY.md +++ b/docs/guide/src/SUMMARY.md @@ -29,7 +29,8 @@ - [Defining Components](tutorial/components.md) - [Styling](tutorial/styling.md) - [Publishing](tutorial/publishing.md) -- [Topics in Depth](depth/topics.md) +- [Next Steps and Advanced Topics](final/index.md) + ----------- diff --git a/docs/src/advanced-guides/custom-renderer.md b/docs/guide/src/advanced-guides/custom-renderer.md similarity index 100% rename from docs/src/advanced-guides/custom-renderer.md rename to docs/guide/src/advanced-guides/custom-renderer.md diff --git a/docs/src/advanced-guides/liveview.md b/docs/guide/src/advanced-guides/liveview.md similarity index 100% rename from docs/src/advanced-guides/liveview.md rename to docs/guide/src/advanced-guides/liveview.md diff --git a/docs/src/advanced-guides/rsx-in-depth.md b/docs/guide/src/advanced-guides/rsx-in-depth.md similarity index 100% rename from docs/src/advanced-guides/rsx-in-depth.md rename to docs/guide/src/advanced-guides/rsx-in-depth.md diff --git a/docs/src/concepts/00-index.md b/docs/guide/src/concepts/00-index.md similarity index 100% rename from docs/src/concepts/00-index.md rename to docs/guide/src/concepts/00-index.md diff --git a/docs/src/concepts/06-subscription-api.md b/docs/guide/src/concepts/06-subscription-api.md similarity index 100% rename from docs/src/concepts/06-subscription-api.md rename to docs/guide/src/concepts/06-subscription-api.md diff --git a/docs/src/concepts/10-concurrent-mode.md b/docs/guide/src/concepts/10-concurrent-mode.md similarity index 100% rename from docs/src/concepts/10-concurrent-mode.md rename to docs/guide/src/concepts/10-concurrent-mode.md diff --git a/docs/src/concepts/11-arena-memo.md b/docs/guide/src/concepts/11-arena-memo.md similarity index 100% rename from docs/src/concepts/11-arena-memo.md rename to docs/guide/src/concepts/11-arena-memo.md diff --git a/docs/src/concepts/12-signals.md b/docs/guide/src/concepts/12-signals.md similarity index 100% rename from docs/src/concepts/12-signals.md rename to docs/guide/src/concepts/12-signals.md diff --git a/docs/src/concepts/13-subtrees.md b/docs/guide/src/concepts/13-subtrees.md similarity index 100% rename from docs/src/concepts/13-subtrees.md rename to docs/guide/src/concepts/13-subtrees.md diff --git a/docs/src/concepts/async.md b/docs/guide/src/concepts/async.md similarity index 100% rename from docs/src/concepts/async.md rename to docs/guide/src/concepts/async.md diff --git a/docs/src/concepts/asynccallbacks.md b/docs/guide/src/concepts/asynccallbacks.md similarity index 100% rename from docs/src/concepts/asynccallbacks.md rename to docs/guide/src/concepts/asynccallbacks.md diff --git a/docs/src/concepts/asynctasks.md b/docs/guide/src/concepts/asynctasks.md similarity index 100% rename from docs/src/concepts/asynctasks.md rename to docs/guide/src/concepts/asynctasks.md diff --git a/docs/src/concepts/bundline.md b/docs/guide/src/concepts/bundline.md similarity index 100% rename from docs/src/concepts/bundline.md rename to docs/guide/src/concepts/bundline.md diff --git a/docs/src/concepts/components.md b/docs/guide/src/concepts/components.md similarity index 100% rename from docs/src/concepts/components.md rename to docs/guide/src/concepts/components.md diff --git a/docs/src/concepts/conditional_rendering.md b/docs/guide/src/concepts/conditional_rendering.md similarity index 100% rename from docs/src/concepts/conditional_rendering.md rename to docs/guide/src/concepts/conditional_rendering.md diff --git a/docs/src/concepts/custom_elements.md b/docs/guide/src/concepts/custom_elements.md similarity index 100% rename from docs/src/concepts/custom_elements.md rename to docs/guide/src/concepts/custom_elements.md diff --git a/docs/src/concepts/custom_renderer.md b/docs/guide/src/concepts/custom_renderer.md similarity index 100% rename from docs/src/concepts/custom_renderer.md rename to docs/guide/src/concepts/custom_renderer.md diff --git a/docs/src/concepts/effects.md b/docs/guide/src/concepts/effects.md similarity index 100% rename from docs/src/concepts/effects.md rename to docs/guide/src/concepts/effects.md diff --git a/docs/src/concepts/errorhandling.md b/docs/guide/src/concepts/errorhandling.md similarity index 100% rename from docs/src/concepts/errorhandling.md rename to docs/guide/src/concepts/errorhandling.md diff --git a/docs/src/concepts/event_handlers.md b/docs/guide/src/concepts/event_handlers.md similarity index 100% rename from docs/src/concepts/event_handlers.md rename to docs/guide/src/concepts/event_handlers.md diff --git a/docs/src/concepts/exporting_components.md b/docs/guide/src/concepts/exporting_components.md similarity index 100% rename from docs/src/concepts/exporting_components.md rename to docs/guide/src/concepts/exporting_components.md diff --git a/docs/src/concepts/hooks.md b/docs/guide/src/concepts/hooks.md similarity index 100% rename from docs/src/concepts/hooks.md rename to docs/guide/src/concepts/hooks.md diff --git a/docs/src/concepts/interactivity.md b/docs/guide/src/concepts/interactivity.md similarity index 100% rename from docs/src/concepts/interactivity.md rename to docs/guide/src/concepts/interactivity.md diff --git a/docs/src/concepts/lifecycles.md b/docs/guide/src/concepts/lifecycles.md similarity index 100% rename from docs/src/concepts/lifecycles.md rename to docs/guide/src/concepts/lifecycles.md diff --git a/docs/src/concepts/lists.md b/docs/guide/src/concepts/lists.md similarity index 91% rename from docs/src/concepts/lists.md rename to docs/guide/src/concepts/lists.md index 2e30c875e..2f9efa6ba 100644 --- a/docs/src/concepts/lists.md +++ b/docs/guide/src/concepts/lists.md @@ -135,7 +135,7 @@ rsx!( li { key: "a" } ) Keys tell Dioxus which array item each component corresponds to, so that it can match them up later. This becomes important if your array items can move (e.g. due to sorting), get inserted, or get deleted. A well-chosen key helps Dioxus infer what exactly has happened, and make the correct updates to the screen -nb: the language from this section is strongly borrowed from [React's guide on keys](https://reactjs.org/docs/lists-and-keys.html). +NB: the language from this section is strongly borrowed from [React's guide on keys](https://reactjs.org/docs/lists-and-keys.html). ### Where to get your key Different sources of data provide different sources of keys: @@ -155,7 +155,7 @@ Imagine that files on your desktop didn’t have names. Instead, you’d refer t File names in a folder and Element keys in an array serve a similar purpose. They let us uniquely identify an item between its siblings. A well-chosen key provides more information than the position within the array. Even if the position changes due to reordering, the key lets Dioxus identify the item throughout its lifetime. ### Gotcha -You might be tempted to use an item’s index in the array as its key. In fact, that’s what React will use if you don’t specify a key at all. But the order in which you render items will change over time if an item is inserted, deleted, or if the array gets reordered. Index as a key often leads to subtle and confusing bugs. +You might be tempted to use an item’s index in the array as its key. In fact, that’s what Dioxus will use if you don’t specify a key at all. But the order in which you render items will change over time if an item is inserted, deleted, or if the array gets reordered. Index as a key often leads to subtle and confusing bugs. Similarly, do not generate keys on the fly, `gen_random`. This will cause keys to never match up between renders, leading to all your components and DOM being recreated every time. Not only is this slow, but it will also lose any user input inside the list items. Instead, use a stable ID based on the data. @@ -164,4 +164,11 @@ Note that your components won’t receive key as a prop. It’s only used as a h Post { key: "{key}", id: "{id}" } ``` +## Moving on +In this section, we learned: +- How to render lists of data +- How to use iterator tools to filter and transform data +- How to use keys to render lists efficiently + +Moving forward, we'll finally cover user input and interactivity. diff --git a/docs/src/concepts/managing_state.md b/docs/guide/src/concepts/managing_state.md similarity index 100% rename from docs/src/concepts/managing_state.md rename to docs/guide/src/concepts/managing_state.md diff --git a/docs/src/concepts/memoization.md b/docs/guide/src/concepts/memoization.md similarity index 100% rename from docs/src/concepts/memoization.md rename to docs/guide/src/concepts/memoization.md diff --git a/docs/src/concepts/rsx.md b/docs/guide/src/concepts/rsx.md similarity index 100% rename from docs/src/concepts/rsx.md rename to docs/guide/src/concepts/rsx.md diff --git a/docs/src/concepts/rsx_in_depth.md b/docs/guide/src/concepts/rsx_in_depth.md similarity index 100% rename from docs/src/concepts/rsx_in_depth.md rename to docs/guide/src/concepts/rsx_in_depth.md diff --git a/docs/src/concepts/server_side_components.md b/docs/guide/src/concepts/server_side_components.md similarity index 100% rename from docs/src/concepts/server_side_components.md rename to docs/guide/src/concepts/server_side_components.md diff --git a/docs/src/concepts/sharedstate.md b/docs/guide/src/concepts/sharedstate.md similarity index 100% rename from docs/src/concepts/sharedstate.md rename to docs/guide/src/concepts/sharedstate.md diff --git a/docs/src/concepts/suspense.md b/docs/guide/src/concepts/suspense.md similarity index 100% rename from docs/src/concepts/suspense.md rename to docs/guide/src/concepts/suspense.md diff --git a/docs/src/concepts/testing.md b/docs/guide/src/concepts/testing.md similarity index 100% rename from docs/src/concepts/testing.md rename to docs/guide/src/concepts/testing.md diff --git a/docs/src/concepts/vnodes.md b/docs/guide/src/concepts/vnodes.md similarity index 100% rename from docs/src/concepts/vnodes.md rename to docs/guide/src/concepts/vnodes.md diff --git a/docs/guide/src/final/index.md b/docs/guide/src/final/index.md new file mode 100644 index 000000000..32961beed --- /dev/null +++ b/docs/guide/src/final/index.md @@ -0,0 +1,10 @@ +# Next Steps and Advanced Topics + + +Congrats! You've made it through the `learning Dioxus` book. Throughout this tutorial, you've learned a ton: + +- How to build User Interfaces with Elements +- How to compose Element groups together as Components +- How to handle user input with event listeners +- How to manage global and local state +- How to work with async using tasks, coroutines, and suspense diff --git a/docs/src/hello_world.md b/docs/guide/src/hello_world.md similarity index 100% rename from docs/src/hello_world.md rename to docs/guide/src/hello_world.md diff --git a/docs/src/images/01-setup-helloworld.png b/docs/guide/src/images/01-setup-helloworld.png similarity index 100% rename from docs/src/images/01-setup-helloworld.png rename to docs/guide/src/images/01-setup-helloworld.png diff --git a/docs/src/images/compiletimecorrect.png b/docs/guide/src/images/compiletimecorrect.png similarity index 100% rename from docs/src/images/compiletimecorrect.png rename to docs/guide/src/images/compiletimecorrect.png diff --git a/docs/src/images/dioxuslogo_full.png b/docs/guide/src/images/dioxuslogo_full.png similarity index 100% rename from docs/src/images/dioxuslogo_full.png rename to docs/guide/src/images/dioxuslogo_full.png diff --git a/docs/src/images/helloworld.png b/docs/guide/src/images/helloworld.png similarity index 100% rename from docs/src/images/helloworld.png rename to docs/guide/src/images/helloworld.png diff --git a/docs/src/images/reddit.png b/docs/guide/src/images/reddit.png similarity index 100% rename from docs/src/images/reddit.png rename to docs/guide/src/images/reddit.png diff --git a/docs/src/images/reddit_post.png b/docs/guide/src/images/reddit_post.png similarity index 100% rename from docs/src/images/reddit_post.png rename to docs/guide/src/images/reddit_post.png diff --git a/docs/src/images/reddit_post_components.png b/docs/guide/src/images/reddit_post_components.png similarity index 100% rename from docs/src/images/reddit_post_components.png rename to docs/guide/src/images/reddit_post_components.png diff --git a/docs/src/misc/contributors.md b/docs/guide/src/misc/contributors.md similarity index 100% rename from docs/src/misc/contributors.md rename to docs/guide/src/misc/contributors.md diff --git a/docs/src/setup.md b/docs/guide/src/setup.md similarity index 85% rename from docs/src/setup.md rename to docs/guide/src/setup.md index 62ddbed17..497762902 100644 --- a/docs/src/setup.md +++ b/docs/guide/src/setup.md @@ -34,7 +34,7 @@ You can update the dioxus-cli at any time with: $ cargo install --force dioxus-cli ``` -If your version of the CLI is out of date, it'll remind you to update whenever a new version is uploaded to Rust's package manager [crates.io](https://crates.io). We use a dedicated 1st-party CLI to save you from having to run potentially untrusted code every time you add a crate to your project - as is standard in the NPM ecosystem. You can vet the source of the Dioxus-CLI yourself at its [GitHub repo](https://github.com/jkelleyrtp/dioxus/tree/master/packages/cli). +We provide this 1st-party tool to save you from having to run potentially untrusted code every time you add a crate to your project - as is standard in the NPM ecosystem. ### Suggested extensions diff --git a/docs/src/tutorial/advanced_guides.md b/docs/guide/src/tutorial/advanced_guides.md similarity index 100% rename from docs/src/tutorial/advanced_guides.md rename to docs/guide/src/tutorial/advanced_guides.md diff --git a/docs/src/tutorial/components.md b/docs/guide/src/tutorial/components.md similarity index 100% rename from docs/src/tutorial/components.md rename to docs/guide/src/tutorial/components.md diff --git a/docs/src/tutorial/index.md b/docs/guide/src/tutorial/index.md similarity index 100% rename from docs/src/tutorial/index.md rename to docs/guide/src/tutorial/index.md diff --git a/docs/src/tutorial/new_app.md b/docs/guide/src/tutorial/new_app.md similarity index 100% rename from docs/src/tutorial/new_app.md rename to docs/guide/src/tutorial/new_app.md diff --git a/docs/src/tutorial/publishing.md b/docs/guide/src/tutorial/publishing.md similarity index 100% rename from docs/src/tutorial/publishing.md rename to docs/guide/src/tutorial/publishing.md diff --git a/docs/src/tutorial/state.md b/docs/guide/src/tutorial/state.md similarity index 100% rename from docs/src/tutorial/state.md rename to docs/guide/src/tutorial/state.md diff --git a/docs/src/tutorial/structure.md b/docs/guide/src/tutorial/structure.md similarity index 100% rename from docs/src/tutorial/structure.md rename to docs/guide/src/tutorial/structure.md diff --git a/docs/src/tutorial/styling.md b/docs/guide/src/tutorial/styling.md similarity index 100% rename from docs/src/tutorial/styling.md rename to docs/guide/src/tutorial/styling.md diff --git a/docs/reference/README.md b/docs/reference/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/SUMMARY.md b/docs/reference/SUMMARY.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/reference/book.toml b/docs/reference/book.toml new file mode 100644 index 000000000..e69de29bb diff --git a/docs/src/depth/components.md b/docs/reference/src/depth/components.md similarity index 100% rename from docs/src/depth/components.md rename to docs/reference/src/depth/components.md diff --git a/docs/src/depth/memoization.md b/docs/reference/src/depth/memoization.md similarity index 100% rename from docs/src/depth/memoization.md rename to docs/reference/src/depth/memoization.md diff --git a/docs/src/depth/performance.md b/docs/reference/src/depth/performance.md similarity index 100% rename from docs/src/depth/performance.md rename to docs/reference/src/depth/performance.md diff --git a/docs/src/depth/props.md b/docs/reference/src/depth/props.md similarity index 100% rename from docs/src/depth/props.md rename to docs/reference/src/depth/props.md diff --git a/docs/src/depth/rsx.md b/docs/reference/src/depth/rsx.md similarity index 100% rename from docs/src/depth/rsx.md rename to docs/reference/src/depth/rsx.md diff --git a/docs/src/depth/testing.md b/docs/reference/src/depth/testing.md similarity index 100% rename from docs/src/depth/testing.md rename to docs/reference/src/depth/testing.md diff --git a/docs/src/depth/topics.md b/docs/reference/src/depth/topics.md similarity index 100% rename from docs/src/depth/topics.md rename to docs/reference/src/depth/topics.md diff --git a/docs/src/for_developers/README.md b/docs/src/for_developers/README.md deleted file mode 100644 index 35c742114..000000000 --- a/docs/src/for_developers/README.md +++ /dev/null @@ -1 +0,0 @@ -# For Developers diff --git a/docs/src/for_developers/backends.md b/docs/src/for_developers/backends.md deleted file mode 100644 index bf154dc61..000000000 --- a/docs/src/for_developers/backends.md +++ /dev/null @@ -1 +0,0 @@ -# Alternative Backends diff --git a/docs/src/for_developers/preprocessors.md b/docs/src/for_developers/preprocessors.md deleted file mode 100644 index eafd89490..000000000 --- a/docs/src/for_developers/preprocessors.md +++ /dev/null @@ -1 +0,0 @@ -# Preprocessors