From fffdcaf3c283d1b45ebf5cd90d9b66aed54c5211 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Sat, 14 Mar 2026 20:58:09 +0000 Subject: [PATCH 1/2] docs: fix gh-pages asset 404s by passing --root to fsdocs build Without --root, fsdocs generates asset hrefs like /fsdocs-theme.js which resolve to the bare domain root. Passing the GitHub Pages base URL fixes them to /FSharp.Control.TaskSeq/fsdocs-theme.js. --- .github/workflows/docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 56ca9c1..9f80018 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -35,7 +35,7 @@ jobs: run: dotnet build src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj -c Release - name: Build docs - run: dotnet fsdocs build --properties Configuration=Release --eval + run: dotnet fsdocs build --properties Configuration=Release --eval --root https://fsprojects.github.io/FSharp.Control.TaskSeq/ - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 From 1a21379c420f461be4097ae3fa26f0c0f4e9a603 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Sat, 14 Mar 2026 21:01:30 +0000 Subject: [PATCH 2/2] docs: use PackageProjectUrl as fsdocs root instead of --root flag fsdocs reads PackageProjectUrl as the site root automatically. Point PackageProjectUrl at the GitHub Pages docs site; RepositoryUrl retains the GitHub repo link. Remove the now-redundant --root flag from the workflow. --- .github/workflows/docs.yaml | 2 +- src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 9f80018..56ca9c1 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -35,7 +35,7 @@ jobs: run: dotnet build src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj -c Release - name: Build docs - run: dotnet fsdocs build --properties Configuration=Release --eval --root https://fsprojects.github.io/FSharp.Control.TaskSeq/ + run: dotnet fsdocs build --properties Configuration=Release --eval - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 diff --git a/src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj b/src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj index 2e755af..c78d37d 100644 --- a/src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj +++ b/src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj @@ -14,7 +14,7 @@ The 'taskSeq' computation expression adds support for awaitable asynchronous seq Generates optimized IL code through resumable state machines, and comes with a comprehensive set of functions in module 'TaskSeq'. See README for documentation and more info. Copyright 2022-2024 - https://github.com/fsprojects/FSharp.Control.TaskSeq + https://fsprojects.github.io/FSharp.Control.TaskSeq/ https://github.com/fsprojects/FSharp.Control.TaskSeq taskseq-icon.png ..\..\packages