From 3867b5213d19cbc4fed7d53c40bad63c7d4895b9 Mon Sep 17 00:00:00 2001 From: kraanzu Date: Mon, 25 Nov 2024 10:01:20 +0530 Subject: [PATCH] docs: add missing imports for layout --- site/docs/configuration/layout.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/docs/configuration/layout.md b/site/docs/configuration/layout.md index 07dd63e1..4f4289d7 100644 --- a/site/docs/configuration/layout.md +++ b/site/docs/configuration/layout.md @@ -20,6 +20,8 @@ i.e. all the text inputs like `description` or `due` ```py from dooit.ui.api.widgets import TodoWidget, WorkspaceWidget +from dooit.ui.api import DooitAPI, subscribe +from dooit.ui.api.events import Startup @subscribe(Startup) def layout_setup(api: DooitAPI, _):