docs-hub
docs-hub copied to clipboard
Code in context button
Related to issue: https://github.com/FuelLabs/fuels-ts/issues/1960
Summary
The fuels-ts
documentation has a "Code in context button" which takes the user to the related code in GitHub.
The code in context link within the fuels-ts
docs takes up a lot of real estate. Potential a button within the snippet would be better (terrible mock up below).
It's be good to have similar functionality within the Docs Hub, as it allows users to dive deeper.