forked from codemagic-ci-cd/codemagic-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
113 lines (106 loc) · 2.75 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
---
copyright:
'©Nevercode Ltd | All Rights Reserved | Codemagic is pending trademark
of Nevercode Ltd.'
pygmentsUseClasses: true
params:
twitterShareHandle: codemagicio
facebookAuthorHandle: codemagicio
appLoginLink: https://codemagic.io/
appUserUrl: http://localhost:5000/user
defaultFacebookImage: /uploads/2019/01/default-thumb.png
defaultTwitterImage: /uploads/2019/02/twitter.png
headerLinkTitle: Documentation
locale: en_GB
googleAnalyticsTrackingId: UA-125963734-2
googleOptimizeId: 'GTM-M67KWVX'
pageRepoCommitPrefix: 'https://github.com/codemagic-ci-cd/codemagic-docs/commit/'
pageRepoEditPrefix: 'https://github.com/codemagic-ci-cd/codemagic-docs/edit/master/content/'
imaging:
resampleFilter: linear
quality: 90
outputs:
home:
- HTML
- RSS
- JSON
buildDrafts: true
defaultContentLanguage: en
disable404: true
enableGitInfo: true
sectionPagesMenu: main
menu:
main:
- identifier: getting-started
name: Getting started with Codemagic CI/CD
weight: 1
- identifier: building
name: Build configuration
weight: 2
- identifier: yaml
name: Codemagic with YAML
weight: 3
- identifier: testing
name: Testing
weight: 4
- identifier: code-signing
name: Code signing
weight: 5
- identifier: publishing
name: Publishing
weight: 6
- identifier: custom-scripts
name: Custom script examples
weight: 7
- identifier: rest-api
name: Codemagic API
weight: 8
- identifier: teams
name: Teams
weight: 9
- identifier: troubleshooting
name: Troubleshooting
weight: 10
- identifier: releases-and-versions
name: Releases and versions
weight: 11
mediaTypes:
video/mp4:
suffixes:
- mp4
title: Codemagic Docs
disableKinds:
- taxonomy
- taxonomyTerm
- section
deployment:
order:
- '.*\.jpe?g$'
- '.*\.gif$'
- '.*\.png$'
- '.*\.mp4$'
- '.*\.mov$'
targets:
- name: 'docs.codemagic.io'
URL: s3://docs.codemagic.io?region=us-east-1
cloudFrontDistributionID: EM3VDRI1IYP45
matchers:
# static assets are fingerprinted, cache them for 1 year
- pattern: '^.+\\.(js|css|svg|ttf|woff|woff2)$'
cacheControl: 'max-age=31536000, no-transform, public'
gzip: true
# content images are not fingerprinted yet, cache them for 1 week
- pattern: '^.+\\.(ico|pdf|jpg|JPG|jpeg|png|PNG|gif|GIF|mp4|mov|mkv)$'
cacheControl: 'max-age=604800, no-transform, public'
gzip: false
# main content
- pattern: '^.+\\.(html|xml|json)$'
gzip: true
# rss
- pattern: '^.+\\.xml$'
contentType: 'application/rss+xml; charset=utf-8'
gzip: true
markup:
goldmark:
renderer:
unsafe: true