Improve documentation for the fullstack crate (#2952)

* improve documentation for the fullstack server context

* Add a section about axum integration to the crate root docs

* make serve_dioxus_application accept the cfg builder directly

* remove unused server_fn module

* improve fullstack config docs

* improve documentation for the server function macro

* fix axum router extension link

* Fix doc tests

* Fix launch builder

* Remove redundant server_only inside server function

* Fix isrg config path
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-10-10 13:40:11 -07:00
1 parent cda8bb24f1
commit 6a0c1c392b
12 files changed
+625 -218

No files matched your search

+4 -3
View File
@@ -279,10 +279,11 @@ mod current_platform {
{
fn into_config(self, config: &mut Option<crate::launch::current_platform::Config>) {
match config {
Some(config) => config.set_server_cfg(self),
Some(config) => config.set_server_config(self),
None => {
*config =
Some(crate::launch::current_platform::Config::new().with_server_cfg(self))
*config = Some(
crate::launch::current_platform::Config::new().with_server_config(self),
)
}
}
}