|
4 | 4 | // [Sigh] - docfx tooling will process and report warnings etc.. on projects found BEFORE it |
5 | 5 | // deals with the exclusion list so a simple glob for all csproj files doesn't work. It creates |
6 | 6 | // warnings and returns a non-success value which stops the build. |
| 7 | + // Each project is listed in the order they appear in the VS solution explorer so they are easier |
| 8 | + // to find and check etc... |
7 | 9 | { |
8 | | - // LLVM OO Wrappers library |
| 10 | + // Interop helpers library |
9 | 11 | "memberLayout":"separatePages", |
10 | 12 | "namespaceLayout":"nested", |
11 | 13 | "src": [ |
12 | 14 | { |
13 | | - "src": "../src/Ubiquity.NET.Llvm", |
| 15 | + "src": "../src/Ubiquity.NET.InteropHelpers", |
14 | 16 | "files": ["**.csproj"] |
15 | 17 | } |
16 | 18 | ], |
17 | | - "dest": "llvm/api" |
| 19 | + "dest": "interop-helpers/api" |
18 | 20 | }, |
| 21 | + // NOTE: Ubiquity.NET.Llvm.Interop is intentionally NOT documented (It's considered an implementation detail) |
| 22 | + // NOTE: Sample projects are not generating docs, they are... samples 8^) |
19 | 23 | { |
20 | | - // Runtime utilities library |
| 24 | + // ANTLR Utilities library |
21 | 25 | "memberLayout":"separatePages", |
22 | 26 | "namespaceLayout":"nested", |
23 | 27 | "src": [ |
24 | 28 | { |
25 | | - "src": "../src/Ubiquity.NET.Runtime.Utils", |
| 29 | + "src": "../src/Ubiquity.NET.ANTLR.Utils", |
26 | 30 | "files": ["**.csproj"] |
27 | 31 | } |
28 | 32 | ], |
29 | | - "dest": "runtime-utils/api" |
| 33 | + "dest": "antlr-utils/api" |
| 34 | + }, |
| 35 | + { |
| 36 | + // ANTLR Utilities library |
| 37 | + "memberLayout":"separatePages", |
| 38 | + "namespaceLayout":"nested", |
| 39 | + "src": [ |
| 40 | + { |
| 41 | + "src": "../src/Ubiquity.NET.CommandLine", |
| 42 | + "files": ["**.csproj"] |
| 43 | + } |
| 44 | + ], |
| 45 | + "dest": "CommandLine/api" |
30 | 46 | }, |
31 | 47 | { |
32 | 48 | // Extensions library |
|
41 | 57 | "dest": "extensions/api" |
42 | 58 | }, |
43 | 59 | { |
44 | | - // ANTLR Utilities library |
| 60 | + // LLVM OO Wrappers library |
45 | 61 | "memberLayout":"separatePages", |
46 | 62 | "namespaceLayout":"nested", |
47 | 63 | "src": [ |
48 | 64 | { |
49 | | - "src": "../src/Ubiquity.NET.ANTLR.Utils", |
| 65 | + "src": "../src/Ubiquity.NET.Llvm", |
50 | 66 | "files": ["**.csproj"] |
51 | 67 | } |
52 | 68 | ], |
53 | | - "dest": "antlr-utils/api" |
| 69 | + "dest": "llvm/api" |
54 | 70 | }, |
55 | 71 | { |
56 | | - // Interop helpers library |
| 72 | + // Runtime utilities library |
57 | 73 | "memberLayout":"separatePages", |
58 | 74 | "namespaceLayout":"nested", |
59 | 75 | "src": [ |
60 | 76 | { |
61 | | - "src": "../src/Ubiquity.NET.InteropHelpers", |
| 77 | + "src": "../src/Ubiquity.NET.Runtime.Utils", |
62 | 78 | "files": ["**.csproj"] |
63 | 79 | } |
64 | 80 | ], |
65 | | - "dest": "interop-helpers/api" |
| 81 | + "dest": "runtime-utils/api" |
66 | 82 | }, |
67 | 83 | { |
68 | 84 | // TextUX library |
|
74 | 90 | "files": ["**.csproj"] |
75 | 91 | } |
76 | 92 | ], |
77 | | - "dest": "TextUX/api" |
| 93 | + "dest": "TextUX/api", |
| 94 | + "properties": { |
| 95 | + "DefineConstants": "DOCFX_BUILD" |
| 96 | + } |
78 | 97 | } |
79 | 98 | ], |
80 | 99 | "build": { |
|
93 | 112 | ] |
94 | 113 | }, |
95 | 114 | { |
96 | | - // LLVM project additional content, Includes the generated metadata API folder |
| 115 | + // InteropHelpers project additional content, Includes the generated metadata API folder |
97 | 116 | "files": [ |
98 | | - "llvm/**.{md,yml}" |
| 117 | + "interop-helpers/**.{md,yml}" |
99 | 118 | ], |
100 | 119 | // Exclude the namespace overwrites and XREF maps as they are listed explicitly elsewhere |
101 | 120 | "exclude": [ |
|
123 | 142 | ] |
124 | 143 | }, |
125 | 144 | { |
126 | | - // Runtime Utils project additional content, Includes the generated metadata API folder |
127 | | - // NOTE: File paths are relative to the location of this file |
| 145 | + // ANTLR Utils project additional content, Includes the generated metadata API folder |
128 | 146 | "files": [ |
129 | | - "runtime-utils/**.{md,yml}" |
| 147 | + "antlr-utils/**.{md,yml}" |
| 148 | + ], |
| 149 | + // Exclude the namespace overwrites and XREF maps as they are listed explicitly elsewhere |
| 150 | + "exclude": [ |
| 151 | + "**/namespaces/**.md", |
| 152 | + "**/*-xref.yml" |
| 153 | + ] |
| 154 | + }, |
| 155 | + { |
| 156 | + // CommandLine Utils project additional content, Includes the generated metadata API folder |
| 157 | + "files": [ |
| 158 | + "CommandLine/**.{md,yml}" |
130 | 159 | ], |
131 | 160 | // Exclude the namespace overwrites and XREF maps as they are listed explicitly elsewhere |
132 | 161 | "exclude": [ |
|
146 | 175 | ] |
147 | 176 | }, |
148 | 177 | { |
149 | | - // ANTLR Utils project additional content, Includes the generated metadata API folder |
| 178 | + // LLVM project additional content, Includes the generated metadata API folder |
150 | 179 | "files": [ |
151 | | - "antlr-utils/**.{md,yml}" |
| 180 | + "llvm/**.{md,yml}" |
152 | 181 | ], |
153 | 182 | // Exclude the namespace overwrites and XREF maps as they are listed explicitly elsewhere |
154 | 183 | "exclude": [ |
|
157 | 186 | ] |
158 | 187 | }, |
159 | 188 | { |
160 | | - // InteropHelpers project additional content, Includes the generated metadata API folder |
| 189 | + // Runtime Utils project additional content, Includes the generated metadata API folder |
| 190 | + // NOTE: File paths are relative to the location of this file |
161 | 191 | "files": [ |
162 | | - "interop-helpers/**.{md,yml}" |
| 192 | + "runtime-utils/**.{md,yml}" |
163 | 193 | ], |
164 | 194 | // Exclude the namespace overwrites and XREF maps as they are listed explicitly elsewhere |
165 | 195 | "exclude": [ |
|
0 commit comments