This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
/
_config.yml
118 lines (97 loc) · 2.56 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
# >>> IF YOU CHANGE CONFIG = RESTART SERVER FOR CHANGES TO APPLY <<<
# 1. Build
# 2. Collections
# 3. Front Matter
# 4. Plugins
# 5. Variables
# BUILD ==================================================
## Server (localhost)
port: 4002
## Warnings
strict_front_matter: true
liquid:
error_mode: strict
## Final _site
exclude:
- README.md
- node_modules
- Gemfile.lock # jekyll
- Gemfile
- /vendor
- /docker-compose.yml # docker
- /docker-start
- config.codekit3 # codekit3
- cache
- log
- logs
- /storage/framework/sessions
# COLLECTIONS ==================================================
## Docs
collections:
docs:
permalink: /:collection/:path/
output: true # render .MD files to HTML on build
# FRONT MATTER ==================================================
## Settings
defaults:
-
scope:
path: "" # empty string means all files in the project
type: "pages" # select pages only
values:
layout: "page"
lang: "en"
-
scope:
path: "_docs"
type: "docs" # created in collections
values:
layout: "article"
lang: "en"
custom_title: null # add custom title variable in docs article if needed
## Conversion
permalink: pretty
markdown: kramdown
kramdown:
syntax_highlighter_opts:
disable: true # disable Rouge highliter
parse_block_html: true # in .MD files render MD inside HTML blocks
# PLUGINS ==================================================
## Github allowed plugins (run in --safe mode)
plugins:
- jemoji
- jekyll-redirect-from
whitelist:
- jemoji
- jekyll-redirect-from
# VARIABLES ==================================================
## Site variables
title: "Smartsupp API"
google_analytics_id: "UA-40155471-3"
smartlook_id: "d49100746188e1c96b748403c518e72e897d8748"
github_username: smartsupp
git_repo: smartsupp.github.io
## Product
pr_author: "Smartsupp"
pr_name: "Smartsupp"
pr_url: "https://www.smartsupp.com/"
pr_url_name: "Smartsupp.com"
pr_email: "info@smartsupp.com"
pr_description: "Smartsupp API. Developer DOCS."
## Url
url_docs_root: "/docs/"
## Pages
pa_github: "Smartsupp GitHub"
pa_docs: "Docs"
## Categories
ca_customization: "Chat Box Customization"
ca_javascript_api: "JavaScript API"
ca_examples: "Examples"
### Categories (description)
ca_d_customization: "Customize chat box features and behaviour."
ca_d_javascript_api: "Adjust chat box to fit your needs."
ca_d_examples: "Browse API code examples."
### Categories (URL)
ca_url_customization: "/docs/customization/"
ca_url_javascript_api: "/docs/javascript-api/"
ca_url_examples: "/docs/examples/"