From 99886111832a942490fd45fa5788a9a78451a2d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Breu=C3=9F=20Valentin?= Date: Tue, 5 May 2026 09:44:41 +0200 Subject: [PATCH] fix: track aweXpect Migration README target rename to 10-migration.md Upstream aweXpect promoted Equivalency to a top-level page, shifting Migration from 09 to 10. The substitution targeting 09-migration.md no longer matched, leaving the literal {README} placeholder in the rendered MDX and failing the Docusaurus build with "ReferenceError: README is not defined". Co-Authored-By: Claude Opus 4.7 (1M context) --- Docs/mirror-local-docs.ps1 | 2 +- Pipeline/Build.Pages.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/mirror-local-docs.ps1 b/Docs/mirror-local-docs.ps1 index a1d10bc1..21e30502 100644 --- a/Docs/mirror-local-docs.ps1 +++ b/Docs/mirror-local-docs.ps1 @@ -38,7 +38,7 @@ $DocsRoot = Join-Path $RepoRoot "Docs/pages/docs" $Sources = @( [pscustomobject]@{ Repo="Testably.Abstractions"; SourcePath="Docs/pages/docs"; Target="Abstractions"; InlineReadme=$false; ExtraReadmes=@() } [pscustomobject]@{ Repo="aweXpect"; SourcePath="Docs/pages"; Target="aweXpect"; InlineReadme=$false; ExtraReadmes=@( - [pscustomobject]@{ Repo="aweXpect.Migration"; TargetFile="09-migration.md" } + [pscustomobject]@{ Repo="aweXpect.Migration"; TargetFile="10-migration.md" } ) } [pscustomobject]@{ Repo="aweXpect.Json"; SourcePath="Docs/pages"; Target="Extensions/aweXpect.Json"; InlineReadme=$true; ExtraReadmes=@() } [pscustomobject]@{ Repo="aweXpect.Mockolate"; SourcePath="Docs/pages"; Target="Extensions/aweXpect.Mockolate"; InlineReadme=$true; ExtraReadmes=@() } diff --git a/Pipeline/Build.Pages.cs b/Pipeline/Build.Pages.cs index e9199afe..52e65f34 100644 --- a/Pipeline/Build.Pages.cs +++ b/Pipeline/Build.Pages.cs @@ -67,7 +67,7 @@ record ReadmeSubstitution( new("Testably", "aweXpect", "Docs/pages", "aweXpect", ExtraReadmes: [ - new("Testably", "aweXpect.Migration", "09-migration.md"), + new("Testably", "aweXpect.Migration", "10-migration.md"), ]), new("Testably", "aweXpect.Json", "Docs/pages", "Extensions/aweXpect.Json", InlineReadme: true), new("Testably", "aweXpect.Mockolate", "Docs/pages", "Extensions/aweXpect.Mockolate", InlineReadme: true),