Skip to content

Commit cc331fa

Browse files
reyangcijothomas
andauthoredJul 24, 2020
docfx improvement (open-telemetry#922)
Co-authored-by: Cijo Thomas <[email protected]>
1 parent 33a52ef commit cc331fa

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
 

‎.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ bld/
2525
[Oo]bj/
2626
[Ll]og/
2727

28+
# DocFx output
29+
_api/
30+
_site/
31+
2832
# Visual Studio 2015/2017 cache/options directory
2933
.vs/
3034
# Uncomment if you have tasks that create the project's static files in wwwroot

‎build/docfx.cmd

+3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ SETLOCAL ENABLEEXTENSIONS
33

44
type docs\docfx.json > docfx.json
55
type docs\toc.yml > toc.yml
6+
docfx metadata
67
docfx build docfx.json > docfx.log
8+
DEL docfx.json 2> NUL
9+
DEL toc.yml 2> NUL
710
@IF NOT %ERRORLEVEL% == 0 (
811
type docfx.log
912
ECHO Error: docfx build failed. 1>&2

‎docs/docfx.json

+17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
{
2+
"metadata": [
3+
{
4+
"src": [
5+
{
6+
"files": [
7+
"src/**.csproj"
8+
],
9+
"exclude": [
10+
"**/bin/**",
11+
"**/obj/**",
12+
"_site/**"
13+
]
14+
}
15+
],
16+
"dest": "_api"
17+
}
18+
],
219
"build": {
320
"content": [
421
{

0 commit comments

Comments
 (0)
Please sign in to comment.