Giter Club home page Giter Club logo

Comments (4)

arcanis avatar arcanis commented on June 16, 2024 1

Oh good point, I didn't think about this command when we migrated from Gatsby to Docusaurus 🤔

Unfortunately we also recently changed from md to mdx, so there isn't a tagged url yet that works (it will only stop 404'ing after the next release). It should be:

https://repo.yarnpkg.com/${version}/packages/docusaurus/docs/advanced/01-general-reference/error-codes.mdx

from berry.

simon-aira avatar simon-aira commented on June 16, 2024

It appears (see explain.ts line 19) to be trying to fetch the URL https://repo.yarnpkg.com/${version}/packages/gatsby/content/advanced/error-codes.md. Indeed, replacing 4.1.1 for version gives a 404 (here). Likewise, the help message when an error does not exists (explain.ts line 91) points to this file, but in the Github repo.

from berry.

simon-aira avatar simon-aira commented on June 16, 2024

I suppose the new location for this file would be this: https://github.com/yarnpkg/berry/blob/52252b0caa3ac6d753348b271f91090f2724d089/packages/docusaurus/docs/advanced/01-general-reference/error-codes.mdx?plain=1 – but in a different format?

from berry.

simon-aira avatar simon-aira commented on June 16, 2024

Ok! Would there also be other code changes required to support the format changes, or will updating the URL in the command be enough? As far as I can tell, not much MDX is used in this particular file?

from berry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.