From 4569a77d54ee5de50871528a786b9ea2140b1086 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 13 Oct 2022 15:40:55 +0100 Subject: [PATCH] Add code markup to the mention of a class name --- docs/guide/app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/app.md b/docs/guide/app.md index f1585a5a3..1e8b5bff7 100644 --- a/docs/guide/app.md +++ b/docs/guide/app.md @@ -86,7 +86,7 @@ Widgets can be as simple as a piece of text, a button, or a fully-fledged compon ### Composing -To add widgets to your app implement a [`compose()`][textual.app.App.compose] method which should return an iterable of Widget instances. A list would work, but it is convenient to yield widgets, making the method a *generator*. +To add widgets to your app implement a [`compose()`][textual.app.App.compose] method which should return an iterable of `Widget` instances. A list would work, but it is convenient to yield widgets, making the method a *generator*. The following example imports a builtin Welcome widget and yields it from `App.compose()`.