Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V3] Improved Docusaurus 3 compatibility #676

Closed
wants to merge 4 commits into from
Closed

[V3] Improved Docusaurus 3 compatibility #676

wants to merge 4 commits into from

Conversation

Gijsdeman
Copy link
Contributor

@Gijsdeman Gijsdeman commented Dec 6, 2023

Description

Improved escaped descriptions and headers, introduced typing for sidebars.

Motivation and Context

The first two items are pretty much required for a proper Docusaurus 3 support. The last one introduces typed sidebars which has improved support in Docusaurus 3.

There is one issue which I am unsure to fully resolve. HTML sidebar items are broken in Docusaurus 3.0.0 and hence an upgrade to 3.0.1 was needed to make sure versioned sidebars function as expected. However, this now introduces an Hook is called outside the <DocProvider> error, which I am unable to replicate in other projects. This error seems to be caused by the @theme/ApiItem component.

How Has This Been Tested?

Tested by hand, using personal OpenAPI specifications.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

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.

2 participants