forked from emilyntest/braze-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
241 lines (215 loc) · 5.38 KB
/
_config.yml
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# Site settings
title: Braze Documentation
email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
Welcome to Braze Documentation. Braze provides a comprehensive user engagement solution for your mobile apps.
baseurl: "/docs" # the subpath of your site, e.g. /blog
homeurl: "https://www.braze.com" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: Braze
github_username: Appboy
language: en
# Braze Web SDK Key
api_key: "5b26b83b-aa4e-4bd1-b9fa-81880aa8ac83"
# statuspage.io Key
status_io_key: "c947v6z63ltm"
# Source dir
source: '.'
# Build settings
markdown: kramdown
highlighter: rouge
kramdown:
input: GFM
syntax_highlighter: rouge
syntax_highlighter_opts:
css_class: 'highlight'
span:
line_numbers: false
block:
line_numbers: true
plugins:
- jekyll-algolia
# Allows the DocSearch element to be inspected. Set to true locally, but don't
# check in in that state, or it will cause undesirable behavior in prod.
search_debug: false
# For local testing, set to false to increase build time by not pulling partner api
# and markdown data. MAKE SURE TO TURN BACK ON PRIOR TO COMMIT.
partner_api: true
markdown_api: true
# CLA Endpoint
cla_url: 'https://script.google.com/macros/s/AKfycbyKzEkbL5cZBwCjaYJC2CWXP6aYRroe33W0sL0YIt8DnEDqlzkg/exec'
# gitHub config
github_baseurl: 'https://github.com/Appboy/braze-docs/blob/develop/_docs/'
github_icon: 'GitHub-Mark-32px.png'
plugins_dir: ["./_plugins"]
# Collections directory
collections_dir: _docs
# variable for page ordering
page_order: page_order
collections:
home:
title: Documentation
output: true
default_nav_url: ''
page_order: 1
user_guide:
title: User Guide
output: true
default_nav_url: introduction/
page_order: 2
developer_guide:
title: Developer Guide
output: true
default_nav_url: home/
page_order: 3
api:
title: API
output: true
default_nav_url: basics/
page_order: 4
partners:
title: Technology Partners
output: true
default_nav_url: home/
page_order: 5
help:
title: Help
output: true
default_nav_url: home/
page_order: 6
hidden: # Hidden pages not directly linked via navigation
title: Braze
output: true
hidden: true
docs_pages: # Site specific pages. ie main redirects and search
title: Braze
output: true
hidden: true
# default collections layout
# Note using path glub cause increase build time.
# Use type = collection for better performance
defaults:
-
scope:
path: ""
values:
layout: "documents"
default_nav_url: home/
search_rank: 0
toc_minheaders: 2
-
scope:
path: ""
type: "home"
values:
nav_level: 1
-
scope:
path: ""
type: "user_guide"
values:
nav_level: 1
-
scope:
path: ""
type: "developer_guide"
values:
nav_level: 1
-
scope:
path: ""
type: "api"
values:
nav_level: 1
-
scope:
path: ""
type: "partners"
values:
nav_level: 1
-
scope:
path: ""
type: "help"
values:
nav_level: 1
-
scope:
path: ""
type: "hidden"
values:
hide_feedback: true
hide_nav: true
-
scope:
path: ""
type: "docs_pages"
values:
layout: "bare"
hide_nav: true
hide_nav_filter: true
hide_feedback: true
# same as permalink: pretty
permalink: ./:collection/:path/
#permalink: /:platform/:nav_title/
permalink_custom_vars: ['nav_title']
# Don't serve non-jekyll files
exclude: [
'app','bin','db','lib','log','test','tmp','vendor',
'config.ru', 'Gemfile', 'Gemfile.lock', 'readme.md', 'Procfile',
'Rakefile', 'vendor', 'config','404.html','public', 'proxy.rb',
'*.log','MigrationTool','Archive','documentation','academy',
'.sass-cache', '.git', '.vscode', 'system.properties',
'CODE_OF_CONDUCT.md','CONTRIBUTING.md','LICENSE.md','_site'
]
# Setting for image buster
image_buster:
dev: false
paths:
- '/assets/img/*.*'
# Image asset pipeline setting for japr
asset_pipeline:
bundle: true
compress: true
output_path: assets
display_path: docs/assets
gzip: false
# Algolia Search index
algolia:
algolia_api_key: "ef2b60b317325b3227caabd0c9431d4b"
application_id: "1T770XQJ1A"
index_name: "DocSearch" # You can replace that with whatever name you want
nodes_to_index: "p,h1,h2,h3,h4,h5,h6,tr,pre,details"
settings:
attributesForFaceting:
- searchable(collection)
- searchable(type)
- searchable(category)
- searchable(platform)
- searchable(url)
- searchable(nav_title)
- searchable(channel)
searchableAttributes:
- nav_title
- Path_01
- headings
- content
- url
- search_rank
- collection, tags
- platform
- channel
customRanking:
- desc(custom_ranking)
- desc(search_rank)
extensions_to_index:
- html
- md
- markdown
files_to_exclude:
- _docs/_hidden/*
- _docs/_hidden/*/* #exclude hidden subdirectories from indexing
- _docs/_hidden/*/*/* #exclude additional hidden subdirectories from indexing
- _docs/_docs_pages/*
- _docs/_docs_pages/*/* #exclude hidden subdirectories from indexing
- _docs/_docs_pages/*/*/* #exclude additional hidden subdirectories from indexing
- _docs/_home/Styling_Test_Page.md