docs
docs copied to clipboard
🚀 Improvement: Change all examples on page when selecting a particular language
🔖 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:
- https://appwrite.io/docs/command-line
- https://appwrite.io/docs/realtime
- https://appwrite.io/docs/databases
- https://appwrite.io/docs/storage
- https://appwrite.io/docs/authentication
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?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
Tagging @gewenyu99 here for feedback on this
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 :)
if the issue is still open, kindly assign it to me!