Skip to content

Commit 4baaedd

Browse files
committed
Add documentation for Mutable Generics & Typestates feature
1 parent 110f280 commit 4baaedd

2 files changed

Lines changed: 422 additions & 3 deletions

File tree

‎docs/.vitepress/config.mts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export default withMermaid(
55
defineConfig({
66
title: "TypePHP",
77
description: "Transparent Runtime Type Enforcement for PHP.",
8-
base: '/',
8+
base: '/',
99
cleanUrls: true,
10-
10+
1111
rewrites: {
1212
'getting-started/:page*': 'docs/getting-started/:page*',
1313
'core-concepts/:page*': 'docs/core-concepts/:page*',
@@ -64,7 +64,7 @@ export default withMermaid(
6464
.replace(/\.md$/, '');
6565

6666
const docsFolders = [
67-
'getting-started', 'core-concepts', 'supported-types',
67+
'getting-started', 'core-concepts', 'supported-types',
6868
'generics', 'testing', 'advanced', 'production', 'troubleshooting'
6969
];
7070
const firstSegment = routePath.split('/')[0];
@@ -173,6 +173,7 @@ export default withMermaid(
173173
{ text: 'Class Generics & Upper Bounds', link: '/docs/generics/class-generics-and-upper-bounds' },
174174
{ text: 'Function & Static Method Generics', link: '/docs/generics/function-and-static-method-generics' },
175175
{ text: 'Generic Variance', link: '/docs/generics/generic-variance' },
176+
{ text: 'Mutable Generics & Typestates (@self-out)', link: '/docs/generics/mutable-generics-and-typestates' },
176177
{ text: 'Inheritance, Interfaces & Traits', link: '/docs/generics/inheritance-interfaces-and-traits' },
177178
{ text: 'Advanced Generic Patterns', link: '/docs/generics/advanced-generic-patterns' },
178179
{ text: 'Cloning Generic Objects', link: '/docs/generics/cloning-generic-objects' },

0 commit comments

Comments
 (0)