Add import statements and GitHub link in API docs (#2714)

This commit is contained in:
Francisco Giordano
2021-06-11 15:09:32 -03:00
committed by GitHub
parent 9d5f77db9d
commit 75f6dbb86c
5 changed files with 20 additions and 2 deletions

View File

@ -8,7 +8,12 @@
[.contract]
[[{{anchor}}]]
=== `++{{name}}++`
=== `++{{name}}++` link:{{github-link file.path}}[{github-icon},role=heading-link]
[.hljs-theme-light.nopadding]
```solidity
import "@openzeppelin/contracts/{{file.path}}";
```
{{natspec.devdoc}}