diff --git a/docs/api/list_item.md b/docs/api/list_item.md new file mode 100644 index 000000000..f7c4e1185 --- /dev/null +++ b/docs/api/list_item.md @@ -0,0 +1 @@ +::: textual.widgets.ListItem diff --git a/docs/widgets/list_item.md b/docs/widgets/list_item.md index 6b11a5bc2..d602e5628 100644 --- a/docs/widgets/list_item.md +++ b/docs/widgets/list_item.md @@ -37,4 +37,4 @@ of multiple `ListItem`s. The arrow keys can be used to navigate the list. ## See Also -* [ListView](../api/list_view.md) code reference +* [ListItem](../api/list_item.md) code reference diff --git a/mkdocs.yml b/mkdocs.yml index 92cc4714c..28f7180cf 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -97,6 +97,8 @@ nav: - "widgets/header.md" - "widgets/input.md" - "widgets/label.md" + - "widgets/list_view.md" + - "widgets/list_item.md" - "widgets/static.md" - "widgets/tree_control.md" - API: @@ -112,6 +114,7 @@ nav: - "api/header.md" - "api/label.md" - "api/list_view.md" + - "api/list_item.md" - "api/message_pump.md" - "api/message.md" - "api/pilot.md"