forked from getsentry/sentry-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
154 lines (140 loc) · 3.25 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
title: Sentry Documentation
description: >-
Learn how to use Sentry, configure Sentry clients, and contribute to the open
source project on GitHub
meta_image: default.png
baseurl: ''
url: 'https://docs.sentry.io'
twitter_username: getsentry
home_url: https://sentry.io
release_service: https://release-registry.services.sentry.io
# Build settings
port: 9001
markdown: kramdown
highlighter: rouge
plugins:
- jekyll-assets
- jekyll-extlinks
- liquid-md5
permalink: /:slug/
timezone: America/Los_Angeles
source: src
collections_dir: collections
collections:
documentation:
output: true
defaults:
# layout overrides
- scope:
path: ''
type: pages
values:
layout: doc
- scope:
path: ''
type: documentation
values:
layout: doc
toc: true
permalink: /:path/
- scope:
path: collections/_documentation/clients/*
type: documentation
values:
layout: legacy-client
- scope:
path: collections/_documentation/api/*/*
type: documentation
values:
layout: api
# Development mode collections. These exist here because placing them in
# _config.dev.yml will clobber the entire defaults object. The collections
# object does not get clobbered so we use that to only load the dev
# in dev mode, and these defaults here are not used in production.
- scope:
path: ''
type: dev_components
values:
layout: dev/default
permalink: /:path/
- scope:
path: collections/_dev_components/markdown-styleguide/*
values:
layout: doc
assets:
source_maps: false # Prefer webpack source maps
sources:
- ../node_modules
plugins:
css:
autoprefixer:
browsers:
- 'last 2 versions'
- 'ie > 9'
precompile:
- '*.map'
- '*.ico'
- 'meta/*'
raw_precompile:
- '*.map'
- '*.ico'
- 'meta/*'
extlinks:
attributes: { rel: nofollow }
rel_exclude: ['sentry.io', 'getsentry.com']
algolia:
application_id: OOK48W9UCL
index_name: sentry-docs
# XXX(dcramer): we'd like to index pre/code, but that bloats (and thus rejects)
# items from the index due to size
nodes_to_index: 'p,blockquote,li,h2,h3'
search_only_api_key: 2d64ec1106519cbc672d863b0d200782
settings:
attributesToHighlight:
- title
- headings
- content
- html
- categories
- tags
highlightPreTag: '<strong class="text-danger">'
highlightPostTag: '</strong>'
attributesToSnippet:
- content:20
attributeForDistinct: url
attributesForFaceting:
- searchable(categories)
- searchable(tags)
attributesToRetrieve:
- title
- url
- content
- categories
unretrievableAttributes:
- custom_ranking
searchableAttributes:
- title
- keywords
- hierarchy.lvl0
- hierarchy.lvl1
- hierarchy.lvl2
- hierarchy.lvl3
- hierarchy.lvl4
- hierarchy.lvl5
- unordered(content)
- collection,categories,tags
customRanking:
- desc(date)
- desc(weight.heading)
- asc(weight.position)
toc:
max_level: 3
# Hack to give us an empty array prototype
# {% assign labels = site.Array
# | push: 'Foo'
# | push: 'Bar'
# | push: 'Bat'
# %}
Array: []
exclude:
- _js