diff --git a/.gitignore b/.gitignore index b2b1eab1..f9410c2f 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,7 @@ npm-debug.log # docs artifacts docs/modules/api +build/ # only used to package @openzeppelin/contracts contracts/build/ diff --git a/docs/templates/contract.hbs b/docs/templates/contract.hbs index 77eb7f8d..bcf6bfd0 100644 --- a/docs/templates/contract.hbs +++ b/docs/templates/contract.hbs @@ -4,11 +4,11 @@ [.contract] [[{{anchor}}]] -=== `++{{name}}++` link:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v{{oz-version}}/{{__item_context.file.absolutePath}}[{github-icon},role=heading-link] +=== `++{{name}}++` link:https://github.com/OpenZeppelin/openzeppelin-community-contracts/blob/master/{{__item_context.file.absolutePath}}[{github-icon},role=heading-link] [.hljs-theme-light.nopadding] ```solidity -import "@openzeppelin/{{__item_context.file.absolutePath}}"; +import "@openzeppelin/community-{{__item_context.file.absolutePath}}"; ``` {{{natspec.dev}}}