From 945cbc4fccc00122364bd9fe464ae48fbedb60ef Mon Sep 17 00:00:00 2001 From: Jon Roberts Date: Tue, 6 Feb 2024 13:20:38 -0600 Subject: [PATCH] fix docsite structure --- docsite/source/combining-types.html.md | 1 - docsite/source/{ => combining-types}/intersection.html.md | 1 - docsite/source/index.html.md | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) rename docsite/source/{ => combining-types}/intersection.html.md (98%) diff --git a/docsite/source/combining-types.html.md b/docsite/source/combining-types.html.md index 3fcf1092..c0687053 100644 --- a/docsite/source/combining-types.html.md +++ b/docsite/source/combining-types.html.md @@ -5,7 +5,6 @@ name: dry-types sections: - intersection - sum -order: 11 --- Types can be combined to create new types, using [intersection types](docs::combining-types/intersection) diff --git a/docsite/source/intersection.html.md b/docsite/source/combining-types/intersection.html.md similarity index 98% rename from docsite/source/intersection.html.md rename to docsite/source/combining-types/intersection.html.md index 048c23ad..62436896 100644 --- a/docsite/source/intersection.html.md +++ b/docsite/source/combining-types/intersection.html.md @@ -2,7 +2,6 @@ title: Intersection layout: gem-single name: dry-types -order: 8 --- Intersection types are specified using the `&` operator. It combines two diff --git a/docsite/source/index.html.md b/docsite/source/index.html.md index 75e7a128..f5ac410b 100644 --- a/docsite/source/index.html.md +++ b/docsite/source/index.html.md @@ -9,12 +9,12 @@ sections: - optional-values - default-values - fallbacks - - sum - constraints - hash-schemas - array-with-member - enum - map + - combining-types - custom-types - custom-type-builders - extensions @@ -129,7 +129,7 @@ Types::Strict::String[10000] * Support for [constrained types](docs::constraints) * Support for [optional values](docs::optional-values) * Support for [default values](docs::default-values) -* Support for [sum types](docs::sum) +* Support for [sum types](docs::combining-types/sum) * Support for [enums](docs::enum) * Support for [hash type with type schemas](docs::hash-schemas) * Support for [array type with members](docs::array-with-member)