-
Notifications
You must be signed in to change notification settings - Fork 6
/
_config.yml
156 lines (142 loc) · 3.71 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
# Site settings
title: angulardart.xyz
description: Community-maintained documentation to help you build high-quality AngularDart apps, using Dart tools and libraries.
main-url: &url https://angulardart.xyz
dev-url: https://angulardart-dartlang-org-dev.firebaseapp.com
prev-url: https://webdev-angular4-dartlang-org.firebaseapp.com
url: *url
permalink: /:categories/:title
repo:
this: https://github.com/angulardart-community/site-angulardart
shared: &repo-shared https://github.com/dart-lang/site-shared
branch: master
# site-status-issue-url: https://github.com/dart-lang/site-webdev/issues/1369
# Setting port to 4001 can trigger redirect to the Angular Github repo; not sure why; help wanted
port: 5000
# Global variables
# use case:
# {{site.dartlang}}/downloads
#
www: https://dart.dev
webdev: https://dart.dev/web
dartlang: https://dart.dev
angulardart: https://angulardart.xyz
angular: https://angular.io
dart_vm: https://dart.dev/server
flutter: https://flutter.dev
dart_api: https://api.dart.dev
acx_api: /api/angular_components
flutter_api: https://api.flutter.dev
pub-api: https://pub.dev/documentation
pub-pkg: https://pub.dev/packages
acx_gallery: https://gallery.angulardart.xyz
api: /api
ghNgEx: https://github.com/angulardart-community
# ghNgExBranch: --> use site.branch since branches should match across repos.
collections:
articles:
output: true
tutorials:
output: true
guides:
output: true
codelabs:
output: true
defaults:
- scope:
path: ''
# type: pages
values:
layout: default
toc: true
- scope:
path: codelabs/angular_components
type: codelabs
values:
og_image: /codelabs/angular_components/images/cartoon.jpeg
diff2html: true
- scope:
path: cheatsheet
values:
diff2html: true
layout: angular
- scope:
path: guide
values:
diff2html: true
layout: angular
- scope:
path: note
values:
diff2html: true
layout: angular
- scope:
path: tutorial
values:
diff2html: true
layout: angular
- scope:
path: guide/router
values:
status: '(DRAFT)'
- scope:
path: guide/testing
values:
status: '(DRAFT)'
- scope:
path: tools
values:
show_breadcrumbs: true
custom:
dartpad:
embed-dart-prefix: https://dartpad.dartlang.org/embed-dart.html
embed-html-prefix: https://dartpad.dartlang.org/embed-html.html
embed-inline-prefix: https://dartpad.dartlang.org/embed-inline.html
direct-link: https://dartpad.dartlang.org
downloads:
dartarchive-be-url-prefix: https://storage.googleapis.com/dart-archive/channels/be/raw
dartarchive-dev-url-prefix: https://storage.googleapis.com/dart-archive/channels/dev/release
dartarchive-stable-url-prefix: https://storage.googleapis.com/dart-archive/channels/stable/release
binaries:
- os: windows
name: Windows
ext: zip
editor-ext: zip
- os: macos
name: Mac
ext: zip
editor-ext: zip
- os: linux
name: Linux
ext: zip
editor-ext: zip
# For defaults see:
# https://jekyllrb.com/docs/configuration/#default-configuration
# Build settings
source: src
symlinked-sources: [site-shared/src]
destination: publish
postcss:
cache: false
exclude:
- _data/.pub
- _data/.packages
- _data/pubspec.lock
keep_files:
- examples
- api
- angular/api
- components/api
sass:
load_paths:
- ../node_modules/
# - /home/gavinzhao/CS/AngularDart/site-angulardart/node_modules/
plugins:
- jekyll-toc
# - jekyll-postcss
# Increment this global og:image URL version number query parameter when you update any og:image file.
# (Also increment the corresponding number in the `firebase.json` redirect rule.)
og_image_vers: '?4'
toc:
min_level: 2
max_level: 3