Falko Schindler 2 년 전
부모
커밋
637c8f839f
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      main.py
  2. 4 4
      website/reference.py

+ 1 - 1
main.py

@@ -234,7 +234,7 @@ def reference_page():
         section_heading('Documentation and Examples', '*API* Reference')
         ui.markdown(
             'This is the API reference for NiceGUI >= 1.0. '
-            'Documentation for older versions can be found at [https://0.9.nicegui.io](https://0.9.nicegui.io/reference).'
+            'Documentation for older versions can be found at [https://0.9.nicegui.io/](https://0.9.nicegui.io/reference).'
         ).classes('bold-links arrow-links')
         reference.create_full()
 

+ 4 - 4
website/reference.py

@@ -596,12 +596,12 @@ Note: You can also pass a `functools.partial` into the `on_click` property to wr
         @ui.page('/other_page')
         def other_page():
             ui.label('Welcome to the other side')
-            ui.link('Back to main page', '/#page')
+            ui.link('Back to main page', '/reference#page')
 
         @ui.page('/dark_page', dark=True)
         def dark_page():
             ui.label('Welcome to the dark side')
-            ui.link('Back to main page', '/#page')
+            ui.link('Back to main page', '/reference#page')
 
         ui.link('Visit other page', other_page)
         ui.link('Visit dark page', dark_page)
@@ -752,14 +752,14 @@ You can also set `respond=False` to send a command without waiting for a respons
         ui.add_static_files('/examples', 'examples')
         ui.label('Some NiceGUI Examples').classes('text-h5')
         ui.link('AI interface', '/examples/ai_interface/main.py')
-        ui.link('custom FastAPI app', '/examples/custom_fastapi_app/main.py')
+        ui.link('Custom FastAPI app', '/examples/custom_fastapi_app/main.py')
         ui.link('Authentication', '/examples/authentication/main.py')
 
     @example('''#### API Responses
 
 NiceGUI is based on [FastAPI](https://fastapi.tiangolo.com/). 
 This means you can use all of FastAPI's features. 
-For example, you can implement an RESTful API in addition to your graphical user interface.
+For example, you can implement a RESTful API in addition to your graphical user interface.
 You simply import the `app` object from `nicegui`. 
 Or you can run NiceGUI on top of your own FastAPI app by using `ui.run_with(app)` instead of starting a server automatically with `ui.run()`.