Conversation
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
View your CI Pipeline Execution ↗ for commit 4b6397d
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
✅ The fix from Nx Cloud was applied automatically
We fixed the nx format:check failure by running pnpm nx format, which corrected two formatting violations introduced by the PR. In astro-docs/README.md, double quotes in the frontmatter code example were reverted to single quotes per the project's Prettier config; in scripts/create-versioned-docs.mts, the nested ternary operator indentation was realigned to match Prettier's expected style.
Tip
✅ We verified this fix by re-running nx-cloud record -- nx format:check.
Suggested Fix changes
diff --git a/astro-docs/README.md b/astro-docs/README.md
index bd1b0221..8a8d3e62 100644
--- a/astro-docs/README.md
+++ b/astro-docs/README.md
@@ -194,8 +194,8 @@ Example:
```markdown
---
-title: "My New Guide"
-description: "Learn how to use this feature"
+title: 'My New Guide'
+description: 'Learn how to use this feature'
---
# Introduction
diff --git a/scripts/create-versioned-docs.mts b/scripts/create-versioned-docs.mts
index 751a0092..93bfbd9e 100644
--- a/scripts/create-versioned-docs.mts
+++ b/scripts/create-versioned-docs.mts
@@ -396,8 +396,8 @@ console.log(
redirectToProd
? 'redirect-to-prod (no build)'
: isAstro
- ? 'Astro (v21+)'
- : 'Next.js (legacy v18-v20)'
+ ? 'Astro (v21+)'
+ : 'Next.js (legacy v18-v20)'
}\n`
);
🔔 Heads up, your workspace has pending recommendations ↗ to auto-apply fixes for similar failures.
View interactive diff ↗🎓 Learn more about Self-Healing CI on nx.dev
Co-authored-by: jaysoo <jaysoo@users.noreply.github.com>
|
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Add support for
--redirect-to-prodflag for 16, 17, 18 which we do not have versioned docs for. Also update README.md with more details on how Netlify and Squarespace are used to support versions docs.