Skip to content

update Docusaurus and fixed vulnerabilities.#89

Merged
Snooz82 merged 3 commits intomainfrom
update_Docusaurus_3.10
Apr 23, 2026
Merged

update Docusaurus and fixed vulnerabilities.#89
Snooz82 merged 3 commits intomainfrom
update_Docusaurus_3.10

Conversation

@Snooz82
Copy link
Copy Markdown
Member

@Snooz82 Snooz82 commented Apr 23, 2026

Update Docusaurus to 3.10 and fixed syntax to future Docusaurus 4.0 compatibility.

Co-authored-by: Copilot <copilot@github.com>
@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.0 and add @docusaurus/faster, plus add overrides for vulnerable transitive deps.
  • Enable future.v4 in docusaurus.config.ts and 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.

Comment thread website/package.json
Comment thread website/package.json
Signed-off-by: René <snooz@posteo.de>
Copy link
Copy Markdown
Contributor

@bennyvw bennyvw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the Copilot remarks in, I approve

@github-actions
Copy link
Copy Markdown

@Snooz82 Snooz82 changed the title update Docusaurus and fixed vulnarabilities. update Docusaurus and fixed vulnerabilities. Apr 23, 2026
@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-related overrides.
  • Enable Docusaurus future.v4 flag 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.

Comment thread website/package.json
Signed-off-by: René <snooz@posteo.de>
@github-actions
Copy link
Copy Markdown

@Snooz82 Snooz82 merged commit 5e114d7 into main Apr 23, 2026
3 checks passed
@Snooz82 Snooz82 deleted the update_Docusaurus_3.10 branch April 23, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants