Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,14 @@ jobs:
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
global-json-file: dotnet/global.json
- run: dotnet tool update -g docfx
- run: |
mkdir -p ./build/dotnet/dev/
docfx docfx.json --output ./build/dotnet/dev/
working-directory: ./docs/dotnet
docfx docs/dotnet/docfx.json
mkdir -p build/dotnet/
mv docs/dotnet/_site build/dotnet/dev
- name: insert clarity snippet to *.html
working-directory: ./docs/dotnet/build/dotnet/dev/
working-directory: build/dotnet/dev/
shell: python
run: |
import os
Expand Down Expand Up @@ -234,7 +233,7 @@ jobs:
print(f'Clarity script inserted into {html_path}')
- uses: actions/upload-artifact@v4
with:
path: "./docs/dotnet/build"
path: "build/"
name: "dotnet-dev-docs"

deploy:
Expand Down
12 changes: 3 additions & 9 deletions docs/dotnet/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"src": [
{
"files": [
"Contracts/Microsoft.AutoGen.Contracts.csproj",
"Core/Microsoft.AutoGen.Core.csproj"
"src/Microsoft.AutoGen/Core/**/*.csproj",
"src/Microsoft.AutoGen/Contracts/**/*.csproj"
],
"src": "../../dotnet/src/Microsoft.Autogen/"
"src": "../../dotnet/"
}
],
"dest": "api",
Expand All @@ -32,12 +32,6 @@
"files": [
"core/**.md",
"core/**/toc.yml",
"articles/**.md",
"articles/**/toc.yml",
"tutorial/**.md",
"tutorial/**/toc.yml",
"release_note/**.md",
"release_note/**/toc.yml",
"toc.yml",
"*.md"
]
Expand Down
Loading