Skip to content

Commit 3ecf0f6

Browse files
alan-agius4thePunderWoman
authored andcommitted
docs: add hybrid rendering API guide (angular#58445)
This commit introduces a new guide for hybrid rendering APIs, which are currently in developer preview. This documentation provides insights into the usage and features of the APIs, helping developers understand their capabilities and limitations during the preview phase. PR Close angular#58445
1 parent 2627b29 commit 3ecf0f6

File tree

4 files changed

+330
-2
lines changed

4 files changed

+330
-2
lines changed

adev/shared-docs/pipeline/api-gen/extraction/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ function main() {
5252
rootDir: '.',
5353
skipLibCheck: true,
5454
target: ts.ScriptTarget.ES2022,
55+
// This is necessary because otherwise types that include `| null` are not included in the documentation.
56+
strictNullChecks: true,
5557
moduleResolution: ts.ModuleResolutionKind.NodeNext,
5658
experimentalDecorators: true,
5759
};

adev/src/app/sub-navigation-data.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,12 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
455455
contentPath: 'guide/defer',
456456
},
457457
{
458-
label: 'Image Optimization',
458+
label: 'Image optimization',
459459
path: 'guide/image-optimization',
460460
contentPath: 'guide/image-optimization',
461461
},
462462
{
463-
label: 'Server-side Rendering',
463+
label: 'Server-side rendering',
464464
path: 'guide/ssr',
465465
contentPath: 'guide/ssr',
466466
},
@@ -469,6 +469,11 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
469469
path: 'guide/prerendering',
470470
contentPath: 'guide/prerendering',
471471
},
472+
{
473+
label: 'Hybrid rendering',
474+
path: 'guide/hybrid-rendering',
475+
contentPath: 'guide/hybrid-rendering',
476+
},
472477
{
473478
label: 'Hydration',
474479
path: 'guide/hydration',

0 commit comments

Comments
 (0)