Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix links in doc site #776

Merged
merged 3 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/access.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/access/ownable/ownable.cairo[Ownable]
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/access/ownable/ownable.cairo[Ownable]
:sn_keccak: https://docs.starknet.io/documentation/architecture_and_concepts/Cryptography/hash-functions/#starknet_keccak[sn_keccak]
:extensibility-pattern: xref:extensibility.adoc#the_pattern

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/access.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ assigned each to multiple accounts.

[.contract]
[[Ownable]]
=== `++Ownable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]
=== `++Ownable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::access::ownable::Ownable;
Expand Down Expand Up @@ -253,7 +253,7 @@ Emitted when `account` is revoked `role`.

[.contract]
[[AccessControl]]
=== `++AccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]
=== `++AccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]

:assert_only_role: xref:#AccessControl-assert_only_role
:grant_role: xref:#AccessControl-grant_role[grant_role]
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/account.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reference of interfaces, presets, and utilities related to account contracts.

[.contract]
[[ISRC6]]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/account/interface.cairo#L12[{github-icon},role=heading-link]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/account/interface.cairo#L12[{github-icon},role=heading-link]

```javascript
use openzeppelin::account::interface::ISRC6;
Expand Down Expand Up @@ -63,7 +63,7 @@ Returns the short string `'VALID'` if valid, otherwise it reverts.

[.contract]
[[Account]]
=== `++Account++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/account/account.cairo#L27[{github-icon},role=heading-link]
=== `++Account++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/account/account.cairo#L27[{github-icon},role=heading-link]

:OwnerAdded: xref:Account-OwnerAdded[OwnerAdded]
:OwnerRemoved: xref:Account-OwnerRemoved[OwnerRemoved]
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/introspection.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reference of interfaces and utilities related to https://en.wikipedia.org/wiki/T

[.contract]
[[ISRC5]]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]

```javascript
use openzeppelin::introspection::interface::ISRC5;
Expand Down Expand Up @@ -44,7 +44,7 @@ on how to compute this ID.

[.contract]
[[SRC5]]
=== `++SRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/introspection/src5.cairo[{github-icon},role=heading-link]
=== `++SRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/introspection/src5.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::introspection::src5::SRC5;
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/upgrades.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Reference of interfaces and utilities related to upgradeability.

[.contract]
[[IUpgradeable]]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]

:Upgraded: xref:Upgradeable-Upgraded[Upgraded]

Expand Down Expand Up @@ -38,7 +38,7 @@ NOTE: This function is usually protected by an xref:access.adoc[Access Control]

[.contract]
[[Upgradeable]]
=== `++Upgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]
=== `++Upgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::upgrades::upgradeable::Upgradeable;
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/upgrades.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:contract_classes: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/contract-classes/[Contract Classes]
:class_hash: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/class-hash/[class hash]
:replace_class_syscall: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/#replace_class[replace_class]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-0.7.0/src/upgrades/upgradeable.cairo[Upgradeable]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/upgrades/upgradeable.cairo[Upgradeable]
:ownable: xref:access.adoc#ownership_and_ownable[Ownable]
:i_upgradeable: xref:api/upgrades.adoc#IUpgradeable[IUpgradeable]
:library_calls: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/#library_call[library calls]
Expand Down