A programming framework for agentic AI
Fix apidoc generation (#5279)
Jack Gerrits3fcb6e6b47d8
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 81f70c424..5ba428636 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -194,15 +194,14 @@ jobs:- name: Setup .NET 8.0uses: actions/setup-dotnet@v4with:- 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: pythonrun: |import os@@ -234,7 +233,7 @@ jobs:print(f'Clarity script inserted into {html_path}')- uses: actions/upload-artifact@v4with:- path: "./docs/dotnet/build"+ path: "build/"name: "dotnet-dev-docs"deploy:diff --git a/docs/dotnet/docfx.json b/docs/dotnet/docfx.jsonindex f04b979c3..7eefe1a32 100644--- a/docs/dotnet/docfx.json+++ b/docs/dotnet/docfx.json@@ -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",@@ -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"]