docs(aio): cleanup aalert, callout, subsection use and author style (#24986)

PR Close #24986
This commit is contained in:
Stefanie Fluin
2018-07-19 15:00:08 -07:00
committed by Victor Berchet
parent d6016f1d1d
commit d523630ea2
55 changed files with 345 additions and 306 deletions

View File

@ -13,7 +13,7 @@ It can also pre-generate pages as HTML files that you serve later.
This guide describes a Universal sample application that launches quickly as a server-rendered page.
Meanwhile, the browser downloads the full client version and switches to it automatically after the code loads.
<div class="l-sub-section">
<div class="alert is-helpful">
[Download the finished sample code](generated/zips/universal/universal.zip),
which runs in a [Node.js® Express](https://expressjs.com/) server.
@ -253,7 +253,7 @@ Note how the constructor prepends the origin (if it exists) to the `heroesUrl`.
You don't provide `APP_BASE_HREF` in the browser version, so the `heroesUrl` remains relative.
<div class="l-sub-section">
<div class="alert is-helpful">
You can ignore `APP_BASE_HREF` in the browser if you've specified `<base href="/">` in the `index.html`
to satisfy the router's need for a base address, as the tutorial sample does.
@ -309,7 +309,7 @@ It may respond to data requests, perhaps directly or as a proxy to a separate da
The sample web server for _this_ guide is based on the popular [Express](https://expressjs.com/) framework.
<div class="l-sub-section">
<div class="alert is-helpful">
_Any_ web server technology can serve a Universal app as long as it can call Universal's `renderModuleFactory`.
The principles and decision points discussed below apply to any web server technology that you chose.
@ -357,7 +357,7 @@ It's up to your engine to decide what to do with that page.
_This engine's_ promise callback returns the rendered page to the [web server](#web-server),
which then forwards it to the client in the HTTP response.
<div class="l-sub-section">
<div class="alert is-helpful">
This wrappers are very useful to hide the complexity of the `renderModuleFactory`. There are more wrappers for different backend technologies
at the [Universal repository](https://github.com/angular/universal).
@ -392,7 +392,7 @@ You configure the Express server pipeline with calls to `app.get()` like this on
<code-example path="universal/server.ts" title="server.ts (data URL)" region="data-request" linenums="false">
</code-example>
<div class="l-sub-section">
<div class="alert is-helpful">
This sample server doesn't handle data requests.