Explorar el Código

add missing section

Falko Schindler hace 1 año
padre
commit
4bd6704f3a

+ 2 - 1
website/documentation/content.py

@@ -4,7 +4,7 @@ from nicegui import ui
 
 from .section import Section
 from .sections import (action_events, audiovisual_elements, binding_properties, configuration_deployment, controls,
-                       data_elements, page_layout, styling_appearance, text_elements)
+                       data_elements, page_layout, pages_routing, styling_appearance, text_elements)
 from .tools import heading
 
 SECTIONS: Dict[str, Section] = {
@@ -18,6 +18,7 @@ SECTIONS: Dict[str, Section] = {
         page_layout,
         styling_appearance,
         action_events,
+        pages_routing,
         configuration_deployment,
     ]
 }

+ 1 - 0
website/documentation/sections/pages_routing.py

@@ -9,6 +9,7 @@ CONSTANT_UUID = str(uuid.uuid4())
 name = 'pages_routing'
 title = 'Pages & Routing'
 description = '''
+    A NiceGUI app can consist of multiple pages and other FastAPI endpoints.
 '''