forked from schemaorg/schemaorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhandlers.yaml
124 lines (94 loc) · 2.73 KB
/
handlers.yaml
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
handlers:
- url: /robots.txt
static_files: site/docs/robots.txt
upload: site/docs/robots.txt
application_readable: True
mime_type: text/plain
- url: /favicon.ico
static_files: site/docs/favicon.ico
upload: site/docs/favicon.ico
application_readable: True
mime_type: image/x-icon
# To avoid: "Could not guess mimetype for docs/schemaorg.owl. Using application/octet-stream."
- url: /docs/schema_org_rdfa.html
static_files: site/data/schema.rdfa
upload: site/data/schema.rdfa
application_readable: True
mime_type: text/html
- url: /docs/jsonldcontext.json.*
script: sdoapp.app
- url: /docs/full.*.html
script: sdoapp.app
- url: /docs/schemas.html
script: sdoapp.app
- url: /docs/developers.html
script: sdoapp.app
- url: /docs/tree.json.*
script: sdoapp.app
- url: /admin/refresh
login: required
script: sdoapp.app
# Use for /docs when PAGESTOREMODE not set to CLOUDSTORE
#- url: /docs
#static_dir: docs
#application_readable: True
# Use for /docs when PAGESTOREMODE set to CLOUDSTORE
- url: /docs
script: sdoapp.app
- url: /admin
static_dir: admin
application_readable: True
#- url: /
# static_files: static/index.html
# upload: static/index.html
# application_readable: True
- url: /search_files
static_dir: static/search_files
- url: /version/latest/.*
script: sdoapp.app
- url: /(version/[^/]*/)$
script: sdoapp.app
- url: /(version/([^/]*))$
script: sdoapp.app
- url: /version/
script: sdoapp.app
- url: /version/(.*/.*\.rdfa)
mime_type: text/html
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.rdfa)
application_readable: True
- url: /version/(.*/.*\.ttl)
mime_type: application/x-turtle
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.ttl)
application_readable: True
- url: /version/(.*/.*\.jsonld)
mime_type: application/ld+json
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.jsonld)
application_readable: True
- url: /version/(.*/.*\.rdf)
mime_type: application/rdf+xml
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.rdf)
application_readable: True
- url: /version/(.*/.*\.nt)
mime_type: application/n-triples
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.nt)
application_readable: True
- url: /version/(.*/.*\.nq)
mime_type: application/n-quads
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.nq)
application_readable: True
- url: /version/(.*/.*\.csv)
mime_type: text/csv
static_files: site/data/releases/\1
upload: site/data/releases/(.*/.*\.csv)
application_readable: True
- url: /version/*/*
static_dir: site/data/releases/
application_readable: True
- url: /.*
script: sdoapp.app