Prechádzať zdrojové kódy

add "see more" links

Falko Schindler 1 rok pred
rodič
commit
a8dfd771af
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      website/documentation/rendering.py

+ 2 - 0
website/documentation/rendering.py

@@ -55,3 +55,5 @@ def render_page(documentation: DocumentationPage, *, with_menu: bool = True) ->
                 demo(part.demo.function, lazy=part.demo.lazy, tab=part.demo.tab)
             if part.reference:
                 generate_class_doc(part.reference)
+            if part.link:
+                ui.markdown(f'See [more...]({part.link})').classes('bold-links arrow-links')