docs-hub icon indicating copy to clipboard operation
docs-hub copied to clipboard

Code in context button

Open petertonysmith94 opened this issue 10 months ago • 0 comments

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.

image

Source

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).

code-in-context-button

It's be good to have similar functionality within the Docs Hub, as it allows users to dive deeper.

petertonysmith94 avatar Apr 10 '24 15:04 petertonysmith94