You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
We can use this feature to have a "Run" button show up in our ink! crate docs for example code:
Once the button is clicked the playground URL is opened with a GET parameter code and edition. The information that's missing for us is the version of ink! that the request originates from.
We can work around this by implementing #427 and then setting something like
Rustdoc supports a feature for defining a playground URL:
#![doc(html_playground_url = "https://playground.example.com/")]
https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#html_playground_url
We can use this feature to have a "Run" button show up in our ink! crate docs for example code:
Once the button is clicked the playground URL is opened with a
GET
parametercode
andedition
. The information that's missing for us is the version of ink! that the request originates from.We can work around this by implementing #427 and then setting something like
#![doc(html_playground_url = "https://ink-playground.substrate.io/v3.3.1/")]
The text was updated successfully, but these errors were encountered: