Repository navigation
docs: the reference and installation pages say what the code does - #106
Merged
Merged
Conversation
- Introduction lists the angular-ssr adapter, and Installation says once that no release is out yet. - Every adapter's install line installs the core next to it. - core: a rejecting loadTemplate is not a 404; StreamingAppOptions, the bootstrap types and every wire-format type are named. - angular-ssr: StreamingRouteRender, its peers, the NgModule fallback, Content-Language, redirect statuses and the unknown-engine error. - nestjs: forRootAsync() takes Nest's own ConfigurableModuleAsyncOptions, ANGULAR_STREAM_OPTIONS has a type, angularStreamNest() takes routes. - aws-lambda and nitro: URL protocol and host, HEAD, and the build checks. - Node 20 to run the Node adapters, Vite 7 or 8 for the dev plugins. Closes #100
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I checked the docs' reference pages against each package's exports and implementation, and fixed what was wrong or missing. Closes #100.
Wrong
reference/core.md: aloadTemplatethat rejects isn't answered with404. Only a template response that isn'tokis. A rejection reaches the runtime, which usually answers500.reference/nestjs.md:forRootAsync()was documented withAngularStreamModuleAsyncOptions, which nothing exports. It now shows Nest's ownConfigurableModuleAsyncOptions, includingOptionalFactoryDependencyandprovideInjectionTokensFrom.nextdist-tag, then that the packages exist only as source. It now says once that no release is out yet, and what the first one will do._shared/browser-config.md: imported./routes, which no example has. It now imports./app.routes.angular.json, does too.packages/nestjs/README.md: saidGETonly. The module answersGETandHEAD.Missing
@push-based/angular-ssr-stream-angular-ssr, and the text says how an Angular CLI app uses it.StreamingAppOptionsis shown as its own interface, whichStreamingHandlerOptionsextends.StreamingRootComponent,StreamingBootstrapFunctionandStreamingBootstrapare named, and so are the wire-format types. The renderer setsContent-Typeitself.StreamingRouteRender's fields.@angular/ssrand@angular/routerpeers.Content-Language.3xxfrom the route, otherwise302.ANGULAR_STREAM_OPTIONShas a type and an example, andangularStreamNest()takesroutes.HEAD.index.html, and a dev template is cleared before a build.Headers.getSetCookie(). Vite 7 or later for the dev plugins, Vite 8 for Nitro's.Checked
vp check: 0 errors.pnpm nx build docs: every page prerenders, and the link and heading checks pass.