Giter VIP home page Giter VIP logo

Comments (5)

chadyj avatar chadyj commented on July 25, 2024

The docs haven't been removed, but the URL's have been updated to https://docs.walletconnect.com

The v1 docs are https://docs.walletconnect.com, and the v2 docs are at https://docs.walletconnect.com/2.0/

Note, this may change in the future as v2 becomes the default docs.

from walletconnect-docs.

bitlogik avatar bitlogik commented on July 25, 2024

OK, I understand. Too bad that it is a breaking change today, and a second one in the future. Not helpful for links history maintenance. Today our links to v1 are 404, and in the future (when updated) they will point to the wrong version.

In the future, how we can provide links to v1.0 ?

Is that possible to add a "virtual" /v/1.0/ directory that redirects to the v1? So today, it is a redirection to /. And when v2 will become the default, that will point to the v1 pages.

from walletconnect-docs.

chadyj avatar chadyj commented on July 25, 2024

Thanks I'll look into this.

from walletconnect-docs.

chadyj avatar chadyj commented on July 25, 2024

We use Vercel to host our docs, so it looks straight forward to setup some server side redirects.

https://vercel.com/docs/cli#project-configuration/redirects

We can create a Vercel.json and map the old URL's to new ones.

Here is a sample of URL's

Old New
https://docs.walletconnect.org/v/1.0/ https://docs.walletconnect.com/
https://docs.walletconnect.org/v/1.0/json-rpc-api-methods/ethereum https://docs.walletconnect.com/v/1.0/json-rpc-api-methods/ethereum

We already have the domain redirect setup from .org to .com, so we just need to handle the path redirect.

The redirect rule is:

Old New
/v/1.0/* /*
/v/2.0/* /2.0/*

from walletconnect-docs.

chadyj avatar chadyj commented on July 25, 2024

Hey @bitlogik Thanks for bringing this to our attention.

We added redirect rules, and it looks like the links on https://github.com/bitlogik/pyWalletConnect now work again.

For example, the link to RPC methods https://docs.walletconnect.org/v/1.0/json-rpc-api-methods/ethereum now correctly redirects to https://docs.walletconnect.com/json-rpc-api-methods/ethereum

And https://docs.walletconnect.org/v/1.0/ redirects to https://docs.walletconnect.com/

We will also keep URL's in mind for future updates.

from walletconnect-docs.

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.