Skip to content

Commit 9e72af6

Browse files
authored
[dotnet] Fix generation of public static html documentation (#15111)
1 parent 3358983 commit 9e72af6

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/update-documentation.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ jobs:
140140
run: |
141141
git config --local user.email "[email protected]"
142142
git config --local user.name "Selenium CI Bot"
143-
- name: Install specific version of DocFX tool
144-
# Pinning to 2.75.3 to avoid breaking changes in newer versions
145-
# See https://github.com/dotnet/docfx/issues/9855
146-
run: dotnet tool install --global --version 2.75.3 docfx
147143
- name: Update Documentation
148144
if: needs.determine-language.outputs.language == 'all' || needs.determine-language.outputs.language == 'dotnet'
149145
run: ./go dotnet:docs

Rakefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,9 @@ namespace :dotnet do
777777
task :docs, [:skip_update] do |_task, arguments|
778778
FileUtils.rm_rf('build/docs/api/dotnet/')
779779
begin
780-
# Pinning to 2.75.3 to avoid breaking changes in newer versions
781-
# See https://github.com/dotnet/docfx/issues/9855
780+
# Pinning to 2.78.2 to avoid breaking changes in newer versions
782781
sh 'dotnet tool uninstall --global docfx || true'
783-
sh 'dotnet tool install --global --version 2.75.3 docfx'
782+
sh 'dotnet tool install --global --version 2.78.2 docfx'
784783
# sh 'dotnet tool update -g docfx'
785784
rescue StandardError
786785
puts 'Please ensure that .NET SDK is installed.'

dotnet/docs/docfx.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"dest": "webdriver",
1313
"namespaceLayout": "nested",
14-
"outputFormat": "apiPage"
14+
//"outputFormat": "apiPage" // "apiPage" generation with errors
1515
},
1616
{
1717
"src": [
@@ -24,9 +24,8 @@
2424
],
2525
"dest": "support",
2626
"namespaceLayout": "nested",
27-
"outputFormat": "apiPage"
27+
//"outputFormat": "apiPage" // "apiPage" generation with errors
2828
}
29-
3029
],
3130
"build": {
3231
"content": [

0 commit comments

Comments
 (0)