Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

🚀 Improvement: Change all examples on page when selecting a particular language #359

Open
2 tasks done
ItzNotABug opened this issue Apr 12, 2023 · 3 comments
Open
2 tasks done
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@ItzNotABug
Copy link

🔖 Feature description

Currently, we have to manually change the language to the one required on 'each' code snippet on some documentation pages. It'd be time saver if any language change is reflected to all the code snippets on the current page.

Pages that I've seen have issues:

Discord message for the same: https://discord.com/channels/564160730845151244/870534256324124692/1088733426678517790

🎤 Pitch

Selecting say Apple for one section should change all example with swift snippets on the whole page.
The Reference docs handle this by allowing to choose the required option from the dropdown at the top of the documentation (X integration with [dropdown here], where X is either a Client or Server.)

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@joeyouss joeyouss added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 14, 2023
@joeyouss
Copy link

Tagging @gewenyu99 here for feedback on this

@gewenyu99
Copy link
Contributor

We've been planning to do this for a while. We have it in our backlog and waiting for a chance to get to it.

Thanks for bringing it up, I'll self assign :)

@gewenyu99 gewenyu99 self-assigned this Apr 20, 2023
@meenaljain0303
Copy link

if the issue is still open, kindly assign it to me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants