Bläddra i källkod

Documentation: Fix a broken link on the ui.page documentation (#2990)

* Documentation: Fix a broken link on the ui.page documentation

* preserve the original name of the example

---------

Co-authored-by: Falko Schindler <falko@zauberzeug.com>
Dronakurl 1 år sedan
förälder
incheckning
4a225aad25
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      website/documentation/content/page_documentation.py

+ 2 - 2
website/documentation/content/page_documentation.py

@@ -60,8 +60,8 @@ def wait_for_connected_demo():
     This is especially useful if you want to reuse the same prefix for multiple pages.
     The router and its pages can be neatly tugged away in a separate module (e.g. file) and
     the router is simply imported and included in the main app.
-    See our [modularization example](https://github.com/zauberzeug/nicegui/blob/main/examples/modularization/example_c.py)
-    for a multi-file app structure.
+    See our [modularization example](https://github.com/zauberzeug/nicegui/blob/main/examples/modularization/api_router_example.py)
+    for a multi-file app structure using an API router.
 ''', tab='/sub-path')
 def api_router_demo():
     # from nicegui import APIRouter, app