update Docusaurus and fixed vulnerabilities.#89
Conversation
Co-authored-by: Copilot <copilot@github.com>
|
🚀 Preview deployed to https://robotframework-RFCP-syllabus-pr-89.surge.sh/robotframework-RFCP-syllabus/ |
There was a problem hiding this comment.
Pull request overview
Updates the Docusaurus website dependencies to the 3.10.x line and adjusts config/docs content to be compatible with Docusaurus’ v4 “future” mode and MDX parsing expectations.
Changes:
- Bump Docusaurus packages to
^3.10.0and add@docusaurus/faster, plus addoverridesfor vulnerable transitive deps. - Enable
future.v4indocusaurus.config.tsand clean up commented-out navbar/footer items. - Replace HTML comments in docs with MDX-safe comment syntax and make generated quiz component headers deterministic (remove “Generated on” timestamp).
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/components/Quiz/quizPrebuild.js | Removes timestamp emission from generated TS header for deterministic output. |
| website/src/components/Quiz/quizComponents.ts | Regenerates header without the “Generated on” line. |
| website/package.json | Updates Docusaurus deps, adds @docusaurus/faster, and introduces npm overrides for vulnerability remediation. |
| website/docusaurus.config.ts | Enables future.v4 flag and removes large commented-out navbar/footer blocks. |
| website/docs/chapter-03/03_user_keyword.md | Converts an HTML comment TODO block to MDX comment syntax. |
| website/docs/chapter-02/05_keyword_interface.md | Converts inline HTML comments to MDX comment syntax. |
| website/docs/chapter-02/04_keyword_imports.md | Converts HTML comment blocks to MDX comment syntax (including a multi-line block). |
| website/docs/chapter-02/02_suitefile_syntax.md | Converts an HTML TODO block to MDX comment syntax. |
| website/docs/chapter-02/01_suitefile.md | Converts an inline HTML TODO to an MDX comment. |
| website/docs/chapter-01/02_architecture.md | Converts an inline HTML TODO to an MDX comment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: René <snooz@posteo.de>
bennyvw
left a comment
There was a problem hiding this comment.
With the Copilot remarks in, I approve
|
🚀 Preview deployed to https://robotframework-RFCP-syllabus-pr-89.surge.sh/robotframework-RFCP-syllabus/ |
|
🚀 Preview deployed to https://robotframework-RFCP-syllabus-pr-89.surge.sh/robotframework-RFCP-syllabus/ |
There was a problem hiding this comment.
Pull request overview
Updates the Docusaurus website dependencies and configuration to target Docusaurus 3.10 while improving compatibility with upcoming v4 changes, plus cleans up generated quiz artifacts and MDX syntax in docs.
Changes:
- Bump Docusaurus packages to
^3.10.0, add@docusaurus/faster, raise Node engine requirement to>=20, and add security-relatedoverrides. - Enable Docusaurus
future.v4flag and remove large blocks of commented-out navbar/footer configuration. - Replace HTML comments in docs with MDX-compatible
{/* ... */}comments and remove generated timestamps from quiz-generated files.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| website/src/components/Quiz/quizPrebuild.js | Stops embedding generation timestamps in the generated header. |
| website/src/components/Quiz/quizComponents.ts | Removes the previously embedded “Generated on” timestamp comment. |
| website/package.json | Updates Docusaurus deps, Node engine, and adds dependency overrides for vulnerabilities. |
| website/docusaurus.config.ts | Enables future.v4 and cleans up commented configuration blocks. |
| website/docs/chapter-03/03_user_keyword.md | Converts HTML TODO comment to MDX {/* ... */} syntax. |
| website/docs/chapter-02/05_keyword_interface.md | Converts HTML TODO comments to MDX {/* ... */} syntax. |
| website/docs/chapter-02/04_keyword_imports.md | Converts HTML TODO comments to MDX {/* ... */} syntax. |
| website/docs/chapter-02/02_suitefile_syntax.md | Converts HTML TODO comment to MDX {/* ... */} syntax. |
| website/docs/chapter-02/01_suitefile.md | Converts HTML TODO comment to MDX {/* ... */} syntax. |
| website/docs/chapter-01/02_architecture.md | Converts HTML TODO comment to MDX {/* ... */} syntax. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: René <snooz@posteo.de>
|
🚀 Preview deployed to https://robotframework-RFCP-syllabus-pr-89.surge.sh/robotframework-RFCP-syllabus/ |
Update Docusaurus to 3.10 and fixed syntax to future Docusaurus 4.0 compatibility.