diff --git a/docs/blog/index.md b/docs/blog/index.md index 5ae47bcdb..47fbb6ac6 100644 --- a/docs/blog/index.md +++ b/docs/blog/index.md @@ -1,3 +1,3 @@ # Textual Blog -Welcome to the Textual blog, where we post about the latest releases and developments in the Textual world. +New blog diff --git a/docs/custom_theme/main.html b/docs/custom_theme/main.html index eaf708583..2f490a483 100644 --- a/docs/custom_theme/main.html +++ b/docs/custom_theme/main.html @@ -15,7 +15,6 @@ - {% endblock %} diff --git a/docs/stylesheets/custom.css b/docs/stylesheets/custom.css index d33303601..ea1639ef1 100644 --- a/docs/stylesheets/custom.css +++ b/docs/stylesheets/custom.css @@ -13,11 +13,11 @@ h3 .doc-heading code { monospace; } -body[data-md-color-primary="indigo"] .excalidraw svg { +body[data-md-color-primary="black"] .excalidraw svg { filter: invert(100%) hue-rotate(180deg); } -body[data-md-color-primary="indigo"] .excalidraw svg rect { +body[data-md-color-primary="black"] .excalidraw svg rect { fill: transparent; } diff --git a/mkdocs.yml b/mkdocs.yml index 46f51a2d1..4677863ad 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -175,7 +175,7 @@ theme: name: Switch to dark mode - media: "(prefers-color-scheme: dark)" scheme: slate - primary: indigo + primary: black toggle: icon: material/weather-night name: Switch to light mode @@ -189,6 +189,7 @@ plugins: as_creation: date categories: - categories + - release - tags - search: - autorefs: diff --git a/src/textual/pilot.py b/src/textual/pilot.py index 6f3f046a4..fee51539d 100644 --- a/src/textual/pilot.py +++ b/src/textual/pilot.py @@ -32,7 +32,7 @@ class Pilot: """Simulate key-presses. Args: - *key: Keys to press. + *keys: Keys to press. """ if keys: diff --git a/src/textual/reactive.py b/src/textual/reactive.py index 36fd5b736..2ee3ba5df 100644 --- a/src/textual/reactive.py +++ b/src/textual/reactive.py @@ -68,6 +68,7 @@ class Reactive(Generic[ReactiveType]): layout (bool, optional): Perform a layout on change. Defaults to False. repaint (bool, optional): Perform a repaint on change. Defaults to True. always_update(bool, optional): Call watchers even when the new value equals the old value. Defaults to False. + Returns: Reactive: A Reactive instance which calls watchers or initialize. """