Skip to content

Commit 914ebf9

Browse files
authored
[repo] Fix docfx build + improve CI for md-only PRs (#5257)
1 parent 3b8cee7 commit 914ebf9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
needs: detect-changes
139139
if: |
140140
contains(needs.detect-changes.outputs.changes, 'packaged-code')
141+
|| contains(needs.detect-changes.outputs.changes, 'md')
141142
|| contains(needs.detect-changes.outputs.changes, 'build')
142143
|| contains(needs.detect-changes.outputs.changes, 'shared')
143144
uses: ./.github/workflows/docfx.yml

OpenTelemetry.sln

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1515
.github\workflows\ci-concurrency.yml = .github\workflows\ci-concurrency.yml
1616
CONTRIBUTING.md = CONTRIBUTING.md
1717
global.json = global.json
18-
NuGet.config = NuGet.config
1918
LICENSE.TXT = LICENSE.TXT
19+
NuGet.config = NuGet.config
2020
OpenTelemetry.proj = OpenTelemetry.proj
2121
README.md = README.md
22-
VERSIONING.md = VERSIONING.md
2322
THIRD-PARTY-NOTICES.TXT = THIRD-PARTY-NOTICES.TXT
23+
VERSIONING.md = VERSIONING.md
2424
EndProjectSection
2525
EndProject
2626
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{7CB2F02E-03FA-4FFF-89A5-C51F107623FD}"
@@ -154,7 +154,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "metrics", "metrics", "{3277
154154
EndProject
155155
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logs", "logs", "{3862190B-E2C5-418E-AFDC-DB281FB5C705}"
156156
ProjectSection(SolutionItems) = preProject
157-
docs\logs\getting-started-console\README.md = docs\logs\getting-started-console\README.md
157+
docs\logs\README.md = docs\logs\README.md
158158
EndProjectSection
159159
EndProject
160160
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MicroserviceExample", "MicroserviceExample", "{4D492D62-5150-45F9-817F-C99562E364E2}"
@@ -338,7 +338,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "resources", "resources", "{
338338
docs\resources\README.md = docs\resources\README.md
339339
EndProjectSection
340340
EndProject
341-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "extending-the-sdk", "docs\resources\extending-the-sdk\extending-the-sdk.csproj", "{7BE494FC-4B0D-4340-A62A-9C9F3E7389FE}"
341+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "extending-the-sdk", "docs\resources\extending-the-sdk\extending-the-sdk.csproj", "{7BE494FC-4B0D-4340-A62A-9C9F3E7389FE}"
342342
EndProject
343343
Global
344344
GlobalSection(SolutionConfigurationPlatforms) = preSolution

docs/docfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"files": [
3131
".editorconfig",
3232
"**.cs",
33+
"Directory.Packages.props",
3334
"LICENSE.TXT",
3435
"THIRD-PARTY-NOTICES.TXT"
3536
]

0 commit comments

Comments
 (0)