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

fix(theme): new location for theme icons #200

Closed
wants to merge 1 commit into from

Conversation

sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Jul 27, 2022

Docusaurus recently had a breaking change for the path of the icon assets.

Using the latest version of this package with 2.0.0-rc.1 results in:

Module not found: Error: Can't resolve '@theme/IconArrow' in '/node_modules/docusaurus-theme-openapi/lib-next/theme/ApiPage'

Docusaurus PR for reference: facebook/docusaurus#7740

This PR updates the path to the new location, resolving the error with rc.1 and later.

@netlify
Copy link

netlify bot commented Jul 27, 2022

Deploy Preview for docusaurus-openapi failed.

Name Link
🔨 Latest commit d4bfacd
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-openapi/deploys/62e0a9c57e851000091f64d6

@sean-perkins
Copy link
Contributor Author

I'm going to open an issue for this instead to discuss what changes you are interested in making here. Upgrading to the latest RC will have larger impacts around supported dependency versions.

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.

1 participant