Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca3317 committed Dec 17, 2024
2 parents deb8857 + d866787 commit 1b3e6aa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,25 @@ jobs:
# with:
# submodules: true

- name: Install DocFX
run: choco install -y docfx
- name: Dotnet Setup
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x

- name: Dotnet install
run: dotnet tool install -g docfx

- name: Dotnet Update
run: dotnet tool update -g docfx

# - name: Install DocFX
# run: choco install -y docfx --version=2.59.4

- name: Use README.md as index.md
run: cp README.md Documentation~/index.md

- name: Build
run: docfx Documentation~/docfx.json -t default,templates/discordfx
run: docfx Documentation~/docfx.json

# Upload the generated documentation
- name: Upload site artifact
Expand Down
5 changes: 3 additions & 2 deletions Documentation~/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
],
"globalNamespaceId": "Global",
"filter": "filterConfig.yml",
"dest": "api"
"dest": "api",
"allowCompilationErrors": true
}
],
"build": {
"template": [
"default",
"templates/discordfx"
"modern"
],
"globalMetadata": {
"_appTitle": "TMPEffects documentation",
Expand Down

0 comments on commit 1b3e6aa

Please sign in to comment.