-
Notifications
You must be signed in to change notification settings - Fork 43
/
config.yaml
123 lines (115 loc) · 4.03 KB
/
config.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
123
baseURL: /
languageCode: en-us
title: api.data.gov
disableKinds:
- RSS
- section
- taxonomy
- term
params:
githubRepoUrl: https://github.com/18F/api.data.gov
apiUmbrellaContactApiKey: DEMO_KEY
apiUmbrellaSignupApiKey: DEMO_KEY
csp:
defaultSrc:
- "'self'"
scriptSrc:
- "'self'"
# DAP
- https://dap.digitalgov.gov
# Google Tag Manager, GA4:
# https://developers.google.com/tag-platform/tag-manager/csp#google_analytics_4_google_analytics
- https://*.googletagmanager.com
# Universal Analytics
- https://www.google-analytics.com
- https://ssl.google-analytics.com
# Google Analytics snippet (one for dev, one for minified build).
- "'sha256-mv2dNKWU2RZMrC9ORr0aby1yXgZ/xQWeRNDk6vy/cL8='"
- "'sha256-+1RoZRAphnNzPiW07Ff8Tr475vaH1/HWgpt/tg+K7Lo='"
imgSrc:
- "'self'"
# Google Tag Manager, GA4:
# https://developers.google.com/tag-platform/tag-manager/csp#google_analytics_4_google_analytics
- https://*.google-analytics.com
- https://*.googletagmanager.com
# Data.gov template images
- https://s3-us-gov-west-1.amazonaws.com/cg-0817d6e3-93c4-4de8-8b32-da6919464e61/
connectSrc:
- "'self'"
# Google Tag Manager, GA4:
# https://developers.google.com/tag-platform/tag-manager/csp#google_analytics_4_google_analytics
- https://*.google-analytics.com
- https://*.analytics.google.com
- https://*.googletagmanager.com
- https://analytics.google.com
frameSrc:
- "'self'"
# Google Tag Manager, GA4:
# https://developers.google.com/tag-platform/tag-manager/csp#google_analytics_4_google_analytics
- https://www.googletagmanager.com/
styleSrc:
- "'self'"
# Google Fonts
- https://fonts.googleapis.com
fontSrc:
- "'self'"
# Google Fonts
- https://fonts.gstatic.com
markup:
goldmark:
renderer:
unsafe: true
highlight:
style: github
menu:
main:
- identifier: docs
name: API Docs
pageRef: /docs/
- identifier: signup
name: API Key Sign Up
pageRef: /signup.html
sectionPagesMenu: main
module:
mounts:
- source: content
target: content
- source: static
target: static
- source: layouts
target: layouts
- source: data
target: data
- source: assets
target: assets
- source: i18n
target: i18n
- source: archetypes
target: archetypes
- source: ./node_modules/@uswds/uswds/dist/fonts/
target: static/node_modules/@uswds/uswds/dist/fonts/
- source: ./node_modules/@uswds/uswds/dist/img/usa-icons/expand_less.svg
target: static/node_modules/@uswds/uswds/dist/img/usa-icons/expand_less.svg
- source: ./node_modules/@uswds/uswds/dist/img/usa-icons/expand_more.svg
target: static/node_modules/@uswds/uswds/dist/img/usa-icons/expand_more.svg
- source: ./node_modules/@uswds/uswds/dist/img/usa-icons/unfold_less.svg
target: static/node_modules/@uswds/uswds/dist/img/usa-icons/unfold_less.svg
- source: ./node_modules/@uswds/uswds/dist/img/usa-icons/unfold_more.svg
target: static/node_modules/@uswds/uswds/dist/img/usa-icons/unfold_more.svg
- source: ./node_modules/@uswds/uswds/dist/img/icon-dot-gov.svg
target: static/node_modules/@uswds/uswds/dist/img/icon-dot-gov.svg
- source: ./node_modules/@uswds/uswds/dist/img/icon-https.svg
target: static/node_modules/@uswds/uswds/dist/img/icon-https.svg
- source: ./node_modules/@uswds/uswds/dist/img/sprite.svg
target: static/node_modules/@uswds/uswds/dist/img/sprite.svg
- source: ./node_modules/@uswds/uswds/dist/img/us_flag_small.png
target: static/node_modules/@uswds/uswds/dist/img/us_flag_small.png
- source: ./node_modules/@uswds/uswds/dist/js/
target: static/node_modules/@uswds/uswds/dist/js/
disable404: true
security:
exec:
# Add HOME to allowed environment variables list for compatibility with
# asdf-nodejs for postcss.
osEnv:
- "(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|HOME)$"