forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.yaml
More file actions
88 lines (71 loc) · 2.17 KB
/
app.yaml
File metadata and controls
88 lines (71 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
application: polymer-project
version: 20130829
runtime: python27
api_version: 1
threadsafe: yes
#default_expiration: "0s"
libraries:
- name: PIL
version: latest
handlers:
# Top-level URLs ---------------------------------------------------------------
- url: /$
static_files: _site/index.html
upload: _site/index\.html
- url: /build/$
static_files: _site/build/index.html
upload: _site/build/index\.html
- url: /build/(.*)
script: build.application
- url: /polymer.min.js
static_files: js/polymer.min.js
upload: js/polymer\.min\.js
- url: /polymer.min.js.map
static_files: js/polymer.min.js.map
upload: js/polymer\.min\.js.map
# Map minified polymer to minified version.
# This also preservers old URL (/polymer/polymer.min.js)
- url: /(polymer-all\/)?polymer/polymer(.min)?.js
static_files: js/polymer.min.js
upload: js/polymer\.min\.js
# / Elements -------------------------------------------------------------------
- url: /(polymer|polymer-ui|more)-elements/(.*)
static_files: _site/polymer-all/\1-elements/\2
upload: _site/polymer-all/(polymer|polymer-ui|more)-elements/(.*)
http_headers:
Access-Control-Allow-Origin: "*"
- url: /(toolkit-ui|web-animations-js)/(.*)
static_files: _site/polymer-all/\1/\2
upload: _site/polymer-all/(toolkit-ui|web-animations-js)/(.*)
http_headers:
Access-Control-Allow-Origin: "*"
# /tools -----------------------------------------------------------------------
- url: /tools/sandbox/$
static_files: _site/polymer-all/projects/Sandbox/index.html
upload: _site/index\.html
- url: /tools/sandbox/(.*)
static_files: _site/polymer-all/projects/Sandbox/\1
upload: _site/(.*)/index.html
# Map raw paths with trailing "/" to an index.html file.
- url: /(.*)/$
static_files: _site/\1/index.html
upload: _site/(.*)/index.html
- url: /polymer-all
static_dir: polymer-all
http_headers:
Access-Control-Allow-Origin: "*"
# All other URLs map directly to their path in _site/.
- url: /
static_dir: _site
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak$
- ^(.*/)?node_modules