Explorar el Código

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 hace 1 año
padre
commit
4a225aad25
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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.
     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 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.
     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')
 ''', tab='/sub-path')
 def api_router_demo():
 def api_router_demo():
     # from nicegui import APIRouter, app
     # from nicegui import APIRouter, app