Skip to content

Commit 9dace5a

Browse files
Add missing link in ui.sub_pages demo (#5504)
### Motivation In #5498 we noticed that the displayed code doesn't produce the exact same output as the online demo. https://nicegui.io/documentation/sub_pages#nested_sub_pages ### Implementation This PR adds the missing link. ### Progress - [x] I chose a meaningful title that completes the sentence: "If applied, this PR will..." - [x] The implementation is complete. - [x] Pytests are not necessary. - [x] Documentation is not necessary.
1 parent eea9a48 commit 9dace5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

website/documentation/content/sub_pages_documentation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def main():
289289

290290
def other():
291291
ui.label('sub page')
292+
# ui.link('Go to main', '/')
292293
# ui.link('Go to A', '/other/a')
293294
# ui.link('Go to B', '/other/b')
294295
# ui.sub_pages({

0 commit comments

Comments
 (0)