Skip to content

Commit

Permalink
Update docs links and add build/ to .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Jan 23, 2025
1 parent 6ed752a commit d9bc52b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ npm-debug.log

# docs artifacts
docs/modules/api
build/

# only used to package @openzeppelin/contracts
contracts/build/
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/contract.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}}
Expand Down

0 comments on commit d9bc52b

Please sign in to comment.