Skip to content

Commit c9ab115

Browse files
authored
Merge branch 'main' into repo-assist/remove-mybinder-2026-05-09-daaa0795d585a29d
2 parents f7285f8 + 09fd23b commit c9ab115

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

RELEASE_NOTES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [22.1.0] - 2026-05-22
4+
5+
### Changed
6+
* Improve `ProjectCracker` project resolution to handle `*.slnf` and `*.slnx`. [#1213](https://github.com/fsproject
7+
s/FSharp.Formatting/pull/1213)
48

59
### Removed
610
* Remove `docs/Dockerfile` (used for mybinder.org Binder integration) and mybinder badge links from documentation pages. The Binder integration relied on a deprecated .NET 7 SDK image and a deprecated `Microsoft.dotnet-interactive` version; mybinder.org support is discontinued.

src/fsdocs-tool/ProjectCracker.fs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,14 @@ module Crack =
507507
let collectionName, projectFiles =
508508
match projects, ignoreProjects with
509509
| [], false ->
510-
match Directory.GetFiles(slnDir, "*.sln") with
510+
let slnFiles =
511+
Directory.GetFiles(slnDir, "*.sln*")
512+
|> Array.filter (fun f ->
513+
f.EndsWith(".sln", StringComparison.Ordinal)
514+
|| f.EndsWith(".slnf", StringComparison.Ordinal)
515+
|| f.EndsWith(".slnx", StringComparison.Ordinal))
516+
517+
match slnFiles with
511518
| [| sln |] ->
512519
printfn "getting projects from solution file %s" sln
513520

0 commit comments

Comments
 (0)