Csharp docfx update (#12755)

* update dest to csharp folder, update ci to remove unused files, update git ignore

* add test branch to ci
This commit is contained in:
Cassie Breviu 2022-08-29 08:13:45 -05:00 committed by GitHub
parent 80c8d934b8
commit 3e57cd88fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 15 deletions

View file

@ -3,7 +3,7 @@ on:
push:
branches:
- main
- add-csharp-docfx
- csharp-doc-update
jobs:
publish:
runs-on: windows-latest
@ -26,11 +26,12 @@ jobs:
clean: false
- name: Move API docs into target area
run: |
cd docs
cd api
mkdir csharp
cd ../../
MOVE csharp/ApiDocs/dest docs/api/csharp
rm -r -fo docs/api/csharp
MOVE csharp/ApiDocs/csharp docs/api
rm -r -fo csharp/ApiDocs/obj
rm -r -fo csharp/ApiDocs/bin
rm -r -fo csharp/ApiDocs/log.txt
rm -r -fo csharp/src
- name: Git Checkin
run: git add .
- name: Create Pull Request

View file

@ -7,4 +7,6 @@
/**/bin/
/**/obj/
_site
dest
dest
csharp
*.txt

View file

@ -9,7 +9,7 @@
"src": "../"
}
],
"dest": "dest",
"dest": "csharp",
"disableGitFeatures": false,
"disableDefaultFilter": false
}
@ -22,12 +22,10 @@
"api/**.html",
"api/index.md",
"api/**/index.md"
]
]
},
{
"files": [
//"articles/**.md",
//"articles/**/
"toc.yml\",",
"toc.yml",
"*.md",
@ -49,15 +47,15 @@
],
"exclude": [
"obj/**",
"dest/**"
"dest/**",
"csharp/**"
]
}
],
"dest": "dest",
"dest": "csharp",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
//"default"
"_exported_templates/default"
],
"postProcessors": [],
@ -67,4 +65,4 @@
"cleanupCacheHistory": false,
"disableGitFeatures": false
}
}
}