From 7d1ada7af4063459ae2628ae9427b43f29753dd8 Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Fri, 2 Aug 2024 23:35:01 -0400 Subject: [PATCH] Fold Text into Fundamentals. (#46) --- .../Views/Fundamentals/Fundamentals.md | 1 + .../Views/TextInputAndOutput/Text.md | 7 ------- .../Views/TextInputAndOutput/TextInputAndOutput.md | 11 ----------- .../{TextInputAndOutput => Fundamentals}/Text.swift | 0 4 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/Text.md delete mode 100644 Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/TextInputAndOutput.md rename Sources/Slipstream/Views/{TextInputAndOutput => Fundamentals}/Text.swift (100%) diff --git a/Sources/Slipstream/Documentation.docc/Views/Fundamentals/Fundamentals.md b/Sources/Slipstream/Documentation.docc/Views/Fundamentals/Fundamentals.md index 3098a4d..45b20cc 100644 --- a/Sources/Slipstream/Documentation.docc/Views/Fundamentals/Fundamentals.md +++ b/Sources/Slipstream/Documentation.docc/Views/Fundamentals/Fundamentals.md @@ -22,3 +22,4 @@ conforms to the ``View`` protocol can act as a view in your website. ### Supporting view types - ``EmptyView`` +- ``Text`` diff --git a/Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/Text.md b/Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/Text.md deleted file mode 100644 index b25c361..0000000 --- a/Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/Text.md +++ /dev/null @@ -1,7 +0,0 @@ -# ``Text`` - -## Topics - -### Creating a text view - -- ``Text/init(_:)`` diff --git a/Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/TextInputAndOutput.md b/Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/TextInputAndOutput.md deleted file mode 100644 index fa12bde..0000000 --- a/Sources/Slipstream/Documentation.docc/Views/TextInputAndOutput/TextInputAndOutput.md +++ /dev/null @@ -1,11 +0,0 @@ -# Text input and output - -Add text to your document. - -To display read-only text, use the built-in ``Text`` view. - -## Topics - -### Displaying text - -- diff --git a/Sources/Slipstream/Views/TextInputAndOutput/Text.swift b/Sources/Slipstream/Views/Fundamentals/Text.swift similarity index 100% rename from Sources/Slipstream/Views/TextInputAndOutput/Text.swift rename to Sources/Slipstream/Views/Fundamentals/Text.swift