build(aio): implement prerendering
The current implementation is based on @igorminar's [angular-io-v42][1]. It is using Protractor to request all docs URLs, let them fallback to `/index.html` and save the rendered page. [1]: https://github.com/IgorMinar/angular-io-v42/tree/05508ab3/tools/prerenderer Fixes #15104
This commit is contained in:

committed by
Miško Hevery

parent
b5b2fed54d
commit
d0bc83ca27
@ -11,7 +11,7 @@ UPLOAD_URL=$AIO_BUILDS_HOST/create-build/$TRAVIS_PULL_REQUEST/$TRAVIS_PULL_REQUE
|
||||
|
||||
cd "`dirname $0`/.."
|
||||
|
||||
yarn run build
|
||||
# Assumes the build step has already run
|
||||
tar --create --gzip --directory "$INPUT_DIR" --file "$OUTPUT_FILE" .
|
||||
|
||||
exec 3>&1
|
||||
|
Reference in New Issue
Block a user