-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
plugin breaks on docusaurus canary from refactored theme translation api #82
Comments
@cmfcmf I'm encountering the same issue. In fact I'm encountering lots of pain points while using this plugin. As a Docusaurus maintainer myself, may I ask you to kindly give me write permissions so I can help modernize this plugin and make it more aligned with the core's style & conventions? |
Thank you @duanwilliam for reporting this! I am currently blocked on missing type definitions for @Josh-Cena I welcome contributions. Please feel free to open issues and/or pull requests. I have spent a lot of time last weekend to catch up with the latest Docusaurus development, but as you say, there is still stuff to do. |
Should be fixed in v0.9.0. |
Bug description
facebook/docusaurus#5849 refactors the theme translation api and moves
the
readDefaultCodeTranslationMessages
function, used in this plugin, from@docusaurus/utils
into a separate package,@docusaurus/theme-translations
. This should probably be updated when Docusaurus get its next stable release in2.0.0-beta.10
.Reproduction
try
yarn start
on canary build (not sure which one corresponds with the breaking pr but tested on 0.0.0-4248).Environment
Package Versions
Node Version
v14.15.0
Docusaurus Environment
preset-classic
[require.resolve('@cmfcmf/docusaurus-search-local'), {}]
Additional context
The text was updated successfully, but these errors were encountered: