Skip to content

Commit

Permalink
Fix DocFX not rendering the API
Browse files Browse the repository at this point in the history
We face the issue from dotnet/docfx#8097.
We fix it with [this hacky fix].

[this hacky fix]: dotnet/docfx#8097 (comment)
  • Loading branch information
mristin committed Sep 8, 2022
1 parent bf90e94 commit c7cf0d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ on:
push:
branches:
- main
- mristin/Fix-docfx-not-rendering-API

jobs:
Generate-doc:
runs-on: windows-latest
# We need to use ubuntu-latest due to the bug in MSBuild in VS Studio 17.3.3
# which is shipped with GitHub's image.
# See: https://github.com/dotnet/docfx/issues/8097
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

Expand All @@ -24,7 +28,7 @@ jobs:
run: dotnet build src/

- name: Generate the documentation
run: doc/docfx.console.2.59.3/tools/docfx.exe doc/source/docfx.json
run: doc/docfx.console.2.59.3/tools/docfx doc/source/docfx.json

- name: Deploy to gh-pages 🚀
uses: peaceiris/actions-gh-pages@v3
Expand Down
3 changes: 2 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c7cf0d8

Please sign in to comment.