diff --git a/docs/0.4.x/en-US/SUMMARY.md b/docs/0.4.x/en-US/SUMMARY.md index 1a7f5c526f..878bba369c 100644 --- a/docs/0.4.x/en-US/SUMMARY.md +++ b/docs/0.4.x/en-US/SUMMARY.md @@ -1,87 +1,22 @@ # Introduction - [Introduction](/docs/intro) - - [What is Perseus?](/docs/what-is-perseus) - - [Core Principles](/docs/core-principles) - - [Hello World!](/docs/tutorials/hello-world) +- [What is Perseus?](/docs/what-is-perseus) +- [Getting Started](/docs/getting-started/intro) + - [Installation](/docs/getting-started/installation) + - [Your First App](/docs/getting-started/first-app) +- [Core Principles](/docs/core-principles) - [Your Second App](/docs/tutorials/second-app) ---- - # Reference -- [`PerseusApp`](/docs/reference/perseus-app) - - [`define_app!`](/docs/reference/define-app) -- [Writing Views](/docs/reference/views) - - [The Index View](/docs/reference/index-view) -- [Debugging](/docs/reference/debugging) -- [Live Reloading](/docs/reference/live-reloading) -- [Templates and Routing](/docs/reference/templates/intro) - - [Modifying the `
`](/docs/reference/templates/metadata-modification) - - [Modifying HTTP Headers](/docs/reference/templates/setting-headers) - - [Listening to the Router](/docs/reference/templates/router-state) -- [Error Pages](/docs/reference/error-pages) -- [Static Content](/docs/reference/static-content) -- [Internationalization](/docs/reference/i18n/intro) - - [Defining Translations](/docs/reference/i18n/defining) - - [Using Translations](/docs/reference/i18n/using) - - [Translations Managers](/docs/reference/i18n/translations-managers) - - [Other Translation Engines](/docs/reference/i18n/other-engines) -- [Rendering Strategies](/docs/reference/strategies/intro) - - [Build State](/docs/reference/strategies/build-state) - - [Build Paths](/docs/reference/strategies/build-paths) - - [Request State](/docs/reference/strategies/request-state) - - [Revalidation](/docs/reference/strategies/revalidation) - - [Incremental Generation](/docs/reference/strategies/incremental) - - [State Amalgamation](/docs/reference/strategies/amalgamation) +- [Feature Discovery Terminal](/docs/features) +- [Live Reloading and HSR](/docs/reference/live-reloading-and-hsr) +- [Internationalization](/docs/reference/i18n) - [Hydration](/docs/reference/hydration) -- [Reactive State](/docs/reference/state/rx) - - [Global State](/docs/reference/state/global) - - [State Freezing](/docs/reference/state/freezing) - - [Freezing to IndexedDB](/docs/reference/state/idb-freezing) - - [Hot State Reloading (HSR)](/docs/reference/state/hsr) -- [CLI](/docs/reference/cli) - - [Ejecting](/docs/reference/ejecting) - - [Snooping](/docs/reference/snooping) -- [Testing](/docs/reference/testing/intro) - - [Checkpoints](/docs/reference/testing/checkpoints) - - [Fantoccini Basics](/docs/reference/testing/fantoccini-basics) - - [Manual Testing](/docs/reference/testing/manual) -- [Styling](/docs/reference/styling) -- [Communicating with a Server](/docs/reference/server-communication) -- [Stores](/docs/reference/stores) - [Static Exporting](/docs/reference/exporting) -- [Plugins](/docs/reference/plugins/intro) - - [Functional Actions](/docs/reference/plugins/functional) - - [Control Actions](/docs/reference/plugins/control) - - [Using Plugins](/docs/reference/plugins/using) - - [The `tinker` Action](/docs/reference/plugins/tinker) - - [Writing Plugins](/docs/reference/plugins/writing) - - [Security Considerations](/docs/reference/plugins/security) - - [Publishing Plugins](/docs/reference/plugins/publishing) -- [Engines](/docs/reference/engines) -- [Deploying](/docs/reference/deploying/intro) - - [Server Deployment](/docs/reference/deploying/serverful) - - [Serverless Deployment](/docs/reference/deploying/serverless) - - [Optimizing Code Size](/docs/reference/deploying/size) - - [Relative Paths](/docs/reference/deploying/relative-paths) - - [Docker Deployment](/docs/reference/deploying/docker) -- [Migrating from v0.3.x](/docs/reference/updating) -- [Common Pitfalls and Known Bugs](/docs/reference/pitfalls-and-bugs) - ---- - -# Advanced - -- [Under the Hood](/docs/advanced/intro) - - [Architecture](/docs/advanced/arch) - - [Initial Loads](/docs/advanced/initial-loads) - - [Subsequent Loads](/docs/advanced/subsequent-loads) - - [Routing](/docs/advanced/routing) -- [Route Announcer](/docs/advanced/route-announcer) - ---- - -# Further Tutorials - -- [Authentication](docs/tutorials/auth) +- [Plugins](/docs/reference/plugins) +- [Deploying](/docs/reference/deploying) +- [Architecture Details](/docs/reference/architecture) +- [Migrating from v0.3.x](/docs/reference/migrating) +- [Common Pitfalls and Known Bugs](/docs/reference/faq) diff --git a/docs/0.4.x/en-US/advanced/arch.md b/docs/0.4.x/en-US/advanced/arch.md deleted file mode 100644 index 689ccaf219..0000000000 --- a/docs/0.4.x/en-US/advanced/arch.md +++ /dev/null @@ -1,49 +0,0 @@ -# Architecture - -Perseus has several main components: - -- `perseus` -- the core module that defines everything necessary to build a Perseus app if you try hard enough -- `perseus-actix-web` -- an integration that makes it easy to run Perseus on the [Actix Web](https://actix.rs) framework -- `perseus-warp` -- an integration that makes it easy to run Perseus on the [Warp](https://github.com/seanmonstar/warp) framework -- `perseus-cli` -- the command-line interface used to run Perseus apps conveniently -- `perseus-engine` -- an internal crate created by the CLI responsible for building an app -- `perseus-engine-server` -- an internal crate created by the CLI responsible for serving an app and performing runtime logic - -## Core - -At the core of Perseus is the [`perseus`](https://docs.rs/perseus) module, which is used for nearly everything in Perseus. In theory, you could build a fully-functional app based on this crate alone, but you'd be reinventing the wheel at least three times. This crate exposes types for the i18n systems, configuration management, routing, and asset fetching, most of which aren't intended to be used directly by the user. - -What is intended to be used directly is the `Template