Skip to content

Commit 0d3a573

Browse files
Repo AssistCopilot
authored andcommitted
Fix docs: switch to fsdocs-tool 21, fix namespace substitution
- Replace fsharp.formatting.commandtool 11.4.3 with fsdocs-tool 21.0.0 The old tool used MSBuild v15.1.0.0 which can't load the SetRidAgnosticValueForProjects task from .NET SDK 8.x, causing project cracking to fail silently. fsdocs-tool 21 uses Ionide.ProjInfo for cracking and targets net8.0, resolving this incompatibility. - Fix {{package-version}} -> {{fsdocs-package-version}} in all docs .fsx files (correct fsdocs substitution key) - Add FsDocsLicenseLink and FsDocsReleaseNotesLink to project file so License and Release Notes nav links are properly populated Closes #269 Co-authored-by: Copilot <[email protected]>
1 parent 6a8cf8b commit 0d3a573

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"version": 1,
33
"isRoot": true,
44
"tools": {
5-
"fsharp.formatting.commandtool": {
6-
"version": "11.4.3",
5+
"fsdocs-tool": {
6+
"version": "21.0.0",
77
"commands": [
88
"fsdocs"
99
],

docs/AsyncSeq.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#r "FSharp.Control.AsyncSeq.dll"
55
(*** condition: fsx ***)
66
#if FSX
7-
#r "nuget: FSharp.Control.AsyncSeq,{{package-version}}"
7+
#r "nuget: FSharp.Control.AsyncSeq,{{fsdocs-package-version}}"
88
#endif // FSX
99
(*** condition: ipynb ***)
1010
#if IPYNB
11-
#r "nuget: FSharp.Control.AsyncSeq,{{package-version}}"
11+
#r "nuget: FSharp.Control.AsyncSeq,{{fsdocs-package-version}}"
1212
#endif // IPYNB
1313

1414

docs/AsyncSeqExamples.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#r "FSharp.Control.AsyncSeq.dll"
55
(*** condition: fsx ***)
66
#if FSX
7-
#r "nuget: FSharp.Control.AsyncSeq,{{package-version}}"
7+
#r "nuget: FSharp.Control.AsyncSeq,{{fsdocs-package-version}}"
88
#endif // FSX
99
(*** condition: ipynb ***)
1010
#if IPYNB
11-
#r "nuget: FSharp.Control.AsyncSeq,{{package-version}}"
11+
#r "nuget: FSharp.Control.AsyncSeq,{{fsdocs-package-version}}"
1212
#endif // IPYNB
1313

1414
(**

docs/ComparisonWithObservable.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#r "FSharp.Control.AsyncSeq.dll"
55
(*** condition: fsx ***)
66
#if FSX
7-
#r "nuget: FSharp.Control.AsyncSeq,{{package-version}}"
7+
#r "nuget: FSharp.Control.AsyncSeq,{{fsdocs-package-version}}"
88
#endif // FSX
99
(*** condition: ipynb ***)
1010
#if IPYNB
11-
#r "nuget: FSharp.Control.AsyncSeq,{{package-version}}"
11+
#r "nuget: FSharp.Control.AsyncSeq,{{fsdocs-package-version}}"
1212
#endif // IPYNB
1313

1414

src/FSharp.Control.AsyncSeq/FSharp.Control.AsyncSeq.fsproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
<PackageProjectUrl>https://fsprojects.github.io/FSharp.Control.AsyncSeq/</PackageProjectUrl>
1010
<PackageIconUrl>https://fsprojects.github.io/FSharp.Control.AsyncSeq/img/logo.png</PackageIconUrl>
1111
<PackageTags>F#;async;fsharp;streaming</PackageTags>
12+
<FsDocsLicenseLink>https://github.com/fsprojects/FSharp.Control.AsyncSeq/blob/main/LICENSE.md</FsDocsLicenseLink>
13+
<FsDocsReleaseNotesLink>https://github.com/fsprojects/FSharp.Control.AsyncSeq/blob/main/RELEASE_NOTES.md</FsDocsReleaseNotesLink>
1214
<IncludeSymbols>true</IncludeSymbols>
1315
<RepositoryUrl>https://github.com/fsprojects/FSharp.Control.AsyncSeq</RepositoryUrl>
1416
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

0 commit comments

Comments
 (0)