-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.wyam
38 lines (34 loc) · 1.04 KB
/
config.wyam
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
#recipe Docs
// Customize your settings and add new ones here
Settings[Keys.Host] = "reference.avaloniaui.net";
Settings[DocsKeys.IncludeGlobalNamespace] = false;
Settings[DocsKeys.Logo] = "assets/img/logo.png";
Settings[DocsKeys.Title] = "Avalonia UI Framework";
// Source files
var exclude = new[]
{
"bin",
"obj",
"Avalonia.Android",
"Avalonia.AndroidTestApplication",
"Avalonia.Build.Tasks",
"Avalonia.Designer.HostApp",
"Avalonia.DesignerSupport",
"Avalonia.Diagnostics/ViewModels",
"Avalonia.Diagnostics/Views",
"Avalonia.Direct2D1",
"Avalonia.FreeDesktop",
"Avalonia.iOS",
"Avalonia.iOSTestApplication",
"Avalonia.LinuxFrameBuffer",
"Avalonia.Native",
"Avalonia.OpenGL",
"Avalonia.Remote.Protocol",
"Avalonia.Skia",
"Avalonia.Win32",
"Avalonia.Win32.Interop",
"Avalonia.X11"
};
var sourceFiles = "../src/avalonia/src";
var excludeGlob = "{" + string.Join(",", exclude.Select(x => "!" + x)) + ",}";
Settings[DocsKeys.SourceFiles] = $"{sourceFiles}/**/{excludeGlob}/**/*.cs";