Skip to content

Commit

Permalink
+ Avoid generating docs for branches that are not published (#19)
Browse files Browse the repository at this point in the history
* + Avoid generating docs for branches that are not published

* + docs images
  • Loading branch information
amathieson authored May 2, 2022
1 parent b541ac2 commit 5b7d3d6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: DocFX
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# pull_request:
# branches: [ main ]
release:
types: [ created ]

jobs:
build:
Expand Down
8 changes: 5 additions & 3 deletions OmsiHook/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"dest": "api",
"disableGitFeatures": false,
"disableGitFeatures": true,
"disableDefaultFilter": false
}
],
Expand All @@ -34,7 +34,9 @@
"resource": [
{
"files": [
"images/**"
"images/**",
"logo.svg",
"favicon.ico"
]
}
],
Expand All @@ -60,6 +62,6 @@
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false
"disableGitFeatures": true
}
}
Binary file added OmsiHook/favicon.ico
Binary file not shown.
8 changes: 8 additions & 0 deletions OmsiHook/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b7d3d6

Please sign in to comment.