Skip to content

Commit 5d06b76

Browse files
authored
refactor: structure refactor and docs improvements. (#518)
* init * stage * refactor: big changes * fix: links * refactor: sub0 page * fix: revert changes of version in migration docs and remove ethereum tutorials because moved to docs. * fix: removed unused files * fix: sidebar looks * fix: sidebar looks p2 * fix: solidity related comments david * refactor: sidebar & redirect * fix: ci
1 parent c9e9293 commit 5d06b76

File tree

96 files changed

+950
-966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+950
-966
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/datastructures/storagevec.md renamed to docs/advanced/datastructures/storagevec.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ element is calculated as follows:
132132
`StorageVec` is a `Lazy` type similar to `Mapping`.
133133

134134
Hence, the same considerations apply to `StorageVec` too:
135-
- [Storage loading behavior](../datastructures/mapping.md#storage-loading-behavior)
136-
- [Use fallible storage methods for dynamically sized values](../datastructures/mapping.md#use-fallible-storage-methods-for-dynamically-sized-values)
137-
- [Updating values](../datastructures/mapping.md#updating-values)
135+
- [Storage loading behavior](./mapping.md#storage-loading-behavior)
136+
- [Use fallible storage methods for dynamically sized values](./mapping.md#use-fallible-storage-methods-for-dynamically-sized-values)
137+
- [Updating values](./mapping.md#updating-values)
138138

139139
## Rust Docs
140140

File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/basics/selectors.md renamed to docs/advanced/selectors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ Learn more about ink!'s support for multiple ABIs [here][abi-support].
2424

2525
[sol-abi]: https://docs.soliditylang.org/en/latest/abi-spec.html
2626
[sol-abi-selector]: https://docs.soliditylang.org/en/latest/abi-spec.html#function-selector
27-
[abi-support]: ../basics/abi/overview.md
28-
[abi-declaration]: ../basics/abi/overview.md#declaring-the-abi
27+
[abi-support]: ../reference/abi/overview.md
28+
[abi-declaration]: ../reference/abi/overview.md#declaring-the-abi
2929

3030
# Selectors
3131

3232
Selectors in ink! are a language agnostic way of identifying constructors and messages.
3333
They are four-byte hexadecimal strings which look something like: `0x633aa551`.
3434

3535
You can find the selector of an ink! constructor or message in your
36-
[contract metadata](./metadata/overview.md) by looking for the `selector` field of the dispatchable
36+
[contract metadata](../reference/metadata/overview.md) by looking for the `selector` field of the dispatchable
3737
you're interested in.
3838

3939
Here is an example of how you can grab the message name and selector from your contract

0 commit comments

Comments
 (0)