Skip to content

Commit 02452c3

Browse files
committed
link actions
1 parent aceee9f commit 02452c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/textual/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,11 +859,11 @@ async def run_callback() -> CallThreadReturnType:
859859
return result
860860

861861
def action_toggle_dark(self) -> None:
862-
"""Action to toggle dark mode."""
862+
"""An [action](/guide/actions) to toggle dark mode."""
863863
self.dark = not self.dark
864864

865865
def action_screenshot(self, filename: str | None = None, path: str = "./") -> None:
866-
"""This action will save an SVG file containing the current contents of the screen.
866+
"""This [action](/guide/actions) will save an SVG file containing the current contents of the screen.
867867
868868
Args:
869869
filename: Filename of screenshot, or None to auto-generate.

0 commit comments

Comments
 (0)