Skip to content

Commit

Permalink
Merge pull request #317 from lucas-tortora/docs/useAbsoluteImagePaths
Browse files Browse the repository at this point in the history
DOCS - use absolute image paths
  • Loading branch information
dessaya authored Aug 3, 2021
2 parents d499117 + 2a152d8 commit 05516ca
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions documentation/docs/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ Before creating the Pull Request ensure that:

- install golintci plugin: https://plugins.jetbrains.com/plugin/12496-go-linter

![install plugin](../static/img/contributing/golintci-goland-1.png)
![install plugin](/img/contributing/golintci-goland-1.png)

- configure path for golangci

![configue plugin](../static/img/contributing/golintci-goland-2.png)
![configue plugin](/img/contributing/golintci-goland-2.png)

- add a golangci file watcher with custom command (I recommend using --fix)

![watcher plugin](../static/img/contributing/golintci-goland-3.png)
![watcher plugin](/img/contributing/golintci-goland-3.png)

**Other editors**: please look into the `golangci` official documentation.

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/tutorial/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _example_tutorial_bg.wasm_ will be immutably stored in the chain state.
The logical structure of an ISCP smart contract is independent of the VM type we
use, be it a _Wasm_ smart contract or any other VM type.

![](../../static/img/tutorial/SC-structure.png)
![](/img/tutorial/SC-structure.png)

Each smart contract on the chain is identified by its name hashed into 4 bytes
and interpreted as `uint32` value: the so called `hname`. For example,
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/tutorial/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ need to transfer at least a single token for the request to be valid.
`PostRequestSync` sends the request to the chain. Let’s describe in detail what
is going on here.

![](../../static/img/tutorial/send_request.png)
![](/img/tutorial/send_request.png)

The diagram above depicts the generic process of posting an `on-ledger` request to the smart
contract. The same picture is valid for the _Solo_ environment and for any other
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/tutorial/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ res, err := chain.CallView("example1", "getString")
The call returns both a collection of key/value pairs `res` and an error result
`err` in typical Go fashion.

![](../../static/img/tutorial/call_view.png)
![](/img/tutorial/call_view.png)

The basic principle of calling a view is similar to sending a request to the
smart contract. The essential difference is that calling a view does not
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/tutorial/12.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ contained in the account can only be moved by the entity behind that agent ID:
that smart contract. Note that the smart contract may reside on the same chain
or on another chain.

![](../../static/img/tutorial/accounts.png)
![](/img/tutorial/accounts.png)

The picture illustrates an example situation. There are two chains deployed,
with respective IDs `Pmc7iH8b..` and `Klm314noP8..`. The pink chain `Pmc7iH8b..`
Expand Down
2 changes: 1 addition & 1 deletion documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/iotaledger/chronicle.rs/tree/main/docs',
'https://github.com/iotaledger/wasp/tree/master/documentation/',
},
theme: {
customCss: require.resolve('./src/css/iota.css'),
Expand Down

0 comments on commit 05516ca

Please sign in to comment.