浏览代码

#789 more page for ui.run to show favicon demos
does not work as expected yet

Rodja Trappe 2 年之前
父节点
当前提交
1c227e85a9
共有 2 个文件被更改,包括 31 次插入5 次删除
  1. 1 5
      website/documentation.py
  2. 30 0
      website/more_documentation/ui_run_documentation.py

+ 1 - 5
website/documentation.py

@@ -632,11 +632,7 @@ def create_full() -> None:
 
     heading('Configuration')
 
-    @element_demo(ui.run, browser_title='My App')
-    def ui_run_demo():
-        ui.label('page with custom title')
-
-        # ui.run(title='My App')
+    load_demo(ui.run)
 
     # HACK: switch color to white for the next demo
     demo_BROWSER_BGCOLOR = demo.BROWSER_BGCOLOR

文件差异内容过多而无法显示
+ 30 - 0
website/more_documentation/ui_run_documentation.py


部分文件因为文件数量过多而无法显示