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)