浏览代码

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 年之前
父节点
当前提交
4a225aad25
共有 1 个文件被更改,包括 2 次插入2 次删除
  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