From c11d5e4a0603097f0510eb0b71cfd2c0292a370b Mon Sep 17 00:00:00 2001 From: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> Date: Tue, 12 Aug 2025 10:17:53 +0100 Subject: [PATCH] .Net: Exclude folders having docs with not reachable links (#12924) Exclude folders with documents containing unreachable links and remove files that were previously excluded because the links they contained have become reachable. --- .github/.linkspector.yml | 6 ++---- python/DEV_SETUP.md | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/.linkspector.yml b/.github/.linkspector.yml index 00221d95ec..511022e63b 100644 --- a/.github/.linkspector.yml +++ b/.github/.linkspector.yml @@ -9,10 +9,6 @@ ignorePatterns: - pattern: "./pulls" - pattern: "https:\/\/platform.openai.com" - pattern: "https:\/\/outlook.office.com/bookings" -excludedFiles: - # Files that are temporarily excluded because they contain links that are temporarily unavailable. - - ./dotnet/src/Experimental/Process.IntegrationTestRunner.Dapr/README.md # Cannot reach https://docs.dapr.io/getting-started/install-dapr-selfhost/. Status: 404" location:{path:"dotnet/src/Experimental/Process.IntegrationTestRunner.Dapr/README.md" - - ./python/DEV_SETUP.md # "Cannot reach https://code.visualstudio.com/docs/editor/workspaces. Status: 404" excludedDirs: # Folders which include links to localhost, since it's not ignored with regular expressions - ./python/samples/demos/telemetry @@ -22,6 +18,8 @@ excludedDirs: # Exclude folders that contain documents with links prone to becoming broken and temporarily unavailable. This should be removed when the link checker is implemented as a background job that does not block PRs. - ./docs/decisions - ./dotnet/samples + - ./dotnet/src/IntegrationTests # Cannot reach https://www.microsoft.com/en-us/bing/apis/bing-web-search-api Status: 404" location:{path:"dotnet/src/IntegrationTests/README.md" + - ./dotnet/src/Experimental/Orchestration.Flow.IntegrationTests # Cannot reach https://www.microsoft.com/en-us/bing/apis/bing-web-search-api Status: 404" location:{path:"dotnet/src/Experimental/Orchestration.Flow.IntegrationTests/README.md" - ./python/samples baseUrl: https://github.com/microsoft/semantic-kernel/ aliveStatusCodes: diff --git a/python/DEV_SETUP.md b/python/DEV_SETUP.md index 1f23323be0..f4b30d4504 100644 --- a/python/DEV_SETUP.md +++ b/python/DEV_SETUP.md @@ -73,7 +73,7 @@ Alternatively you can run the VSCode task `Python: Install` to run the same comm Install the [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) for VSCode. -Open the workspace in [VSCode](https://code.visualstudio.com/docs/editor/workspaces). +Open the workspace in [VSCode](https://code.visualstudio.com/docs/editing/workspaces/workspaces). > The workspace for python should be rooted in the `./python` folder. Open any of the `.py` files in the project and run the `Python: Select Interpreter`