Skip to content

Commit f9d2b58

Browse files
link fixes due to migration (#509)
* link fixes due to migration Signed-off-by: a-zorina <[email protected]> * Update src/guide/tutorials/rust.md Signed-off-by: Ekaterina Mekhnetsova <[email protected]> --------- Signed-off-by: a-zorina <[email protected]> Signed-off-by: Ekaterina Mekhnetsova <[email protected]> Co-authored-by: Ekaterina Mekhnetsova <[email protected]>
1 parent a3b05f2 commit f9d2b58

28 files changed

+83
-83
lines changed

.vitepress/config.mts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,20 +443,20 @@ export default defineConfig({
443443
siteTitle: 'Iroha 2',
444444

445445
socialLinks: [
446-
{ icon: 'github', link: 'https://github.com/hyperledger/iroha-2-docs' },
446+
{ icon: 'github', link: 'https://github.com/hyperledger-iroha/iroha-2-docs' },
447447
{
448448
icon: {
449449
/**
450450
* https://icones.js.org/collection/material-symbols?s=bug
451451
*/
452452
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M12 21q-1.625 0-3.013-.8T6.8 18H4.975q-.425 0-.7-.288T4 17q0-.425.288-.713T5 16h1.1q-.075-.5-.088-1T6 14H4.975q-.425 0-.7-.288T4 13q0-.425.288-.713T5 12h1q0-.5.013-1t.087-1H4.975q-.425 0-.7-.288T4 9q0-.425.288-.713T5 8h1.8q.35-.575.788-1.075T8.6 6.05l-.925-.95q-.275-.3-.263-.713T7.7 3.7q.275-.275.7-.275t.7.275l1.45 1.45q.7-.225 1.425-.225t1.425.225l1.5-1.475q.3-.275.713-.262t.687.287q.275.275.275.7t-.275.7l-.95.95q.575.375 1.038.863T17.2 8h1.825q.425 0 .7.288T20 9q0 .425-.288.713T19 10h-1.1q.075.5.088 1T18 12h1.025q.425 0 .7.288T20 13q0 .425-.288.713T19 14h-1q0 .5-.013 1t-.087 1h1.125q.425 0 .7.288T20 17q0 .425-.288.713T19 18h-1.8q-.8 1.4-2.188 2.2T12 21Zm0-2q1.65 0 2.825-1.175T16 15v-4q0-1.65-1.175-2.825T12 7q-1.65 0-2.825 1.175T8 11v4q0 1.65 1.175 2.825T12 19Zm-1-3h2.025q.425 0 .7-.288T14 15q0-.425-.288-.713T13 14h-2.025q-.425 0-.7.288T10 15q0 .425.288.713T11 16Zm0-4h2.025q.425 0 .7-.288T14 11q0-.425-.288-.713T13 10h-2.025q-.425 0-.7.288T10 11q0 .425.288.713T11 12Zm1 1Z"/></svg>`,
453453
},
454-
link: 'https://github.com/hyperledger/iroha-2-docs/issues/new',
454+
link: 'https://github.com/hyperledger-iroha/iroha-2-docs/issues/new',
455455
},
456456
],
457457

458458
editLink: {
459-
pattern: 'https://github.com/hyperledger/iroha-2-docs/edit/main/src/:path',
459+
pattern: 'https://github.com/hyperledger-iroha/iroha-2-docs/edit/main/src/:path',
460460
text: 'Edit this page on GitHub',
461461
},
462462

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Hyperledger Iroha 2 Tutorial
22

3-
This repository contains the source files for [Hyperledger Iroha 2 Documentation](https://hyperledger.github.io/iroha-2-docs/).
3+
This repository contains the source files for [Hyperledger Iroha 2 Documentation](https://docs.iroha.tech/).
44

55
The tutorial is suitable for both experienced and novice users. It explains Iroha 2 concepts and features, and also offers language-specific step-by-step guides for these programming languages:
66

7-
- [CLI](https://hyperledger.github.io/iroha-2-docs/guide/operate-iroha-2-via-cli.html)
8-
- [Python](https://hyperledger.github.io/iroha-2-docs/guide/python.html)
9-
- [Rust](https://hyperledger.github.io/iroha-2-docs/guide/rust.html)
10-
- [Kotlin/Java](https://hyperledger.github.io/iroha-2-docs/guide/kotlin-java.html)
11-
- [Javascript (TypeScript)](https://hyperledger.github.io/iroha-2-docs/guide/javascript.html)
7+
- [CLI](https://docs.iroha.tech/get-started/operate-iroha-2-via-cli.html)
8+
- [Python](https://docs.iroha.tech/guide/tutorials/python.html)
9+
- [Rust](https://docs.iroha.tech/guide/tutorials/rust.html)
10+
- [Kotlin/Java](https://docs.iroha.tech/guide/tutorials/kotlin-java.html)
11+
- [Javascript (TypeScript)](https://docs.iroha.tech/guide/tutorials/javascript.html)
1212

13-
If you are already familiar with Hyperledger Iroha, we invite you to read about [how Iroha 2 is different](https://hyperledger.github.io/iroha-2-docs/get-started/iroha-2.html) from its previous version.
13+
If you are already familiar with Hyperledger Iroha, we invite you to read about [how Iroha 2 is different](https://docs.iroha.tech/get-started/iroha-2.html) from its previous version.
1414

15-
Check the [Hyperledger Iroha](https://github.com/hyperledger/iroha/) repository for more detailed information about API and available features.
15+
Check the [Hyperledger Iroha](https://github.com/hyperledger-iroha/iroha/) repository for more detailed information about API and available features.
1616

1717
## Contribution
1818

etc/meta.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
2-
* hyperledger/iroha#iroha2-dev
2+
* hyperledger-iroha/iroha#iroha2-dev
33
*/
44
export const IROHA_REV_DEV = 'e7a605c1a926c319d214ef3825524ee6c2e9f076'
55

66
/**
7-
* hyperledger/iroha-javascript#iroha2 (rc13)
7+
* hyperledger-iroha/iroha-javascript#iroha2 (rc13)
88
*/
99
export const IROHA_JS_REV = '9c630fab14f063962b2508ac60e49789a160e443'
1010

1111
/**
12-
* hyperledger/iroha-java#iroha2-dev
12+
* hyperledger-iroha/iroha-java#iroha2-dev
1313
*/
1414
export const IROHA_JAVA_REV_DEV = 'e176225f935cc7f976d17384191ef0c0043ca0f6'

etc/schema/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// FIXME: this file reflects types from `@iroha2/data-model-schema` package which isn't published yet
2-
// https://github.com/hyperledger/iroha-javascript/pull/170
2+
// https://github.com/hyperledger-iroha/iroha-javascript/pull/170
33

44
export interface Schema {
55
[type: string]: SchemaTypeDefinition

etc/snippet-sources.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,19 @@ const javascriptSnippets = [
9494
local: '9-blocks-stream.ts',
9595
},
9696
].map<SnippetSourceDefinition>(({ src, local }) => ({
97-
src: `https://raw.githubusercontent.com/hyperledger/iroha-javascript/${IROHA_JS_REV}/${src}`,
97+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha-javascript/${IROHA_JS_REV}/${src}`,
9898
filename: `js-sdk-${local}`,
9999
}))
100100

101101
// *****
102102

103103
export default [
104104
{
105-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/MAINTAINERS.md`,
105+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_DEV}/MAINTAINERS.md`,
106106
filename: 'iroha-maintainers.md',
107107
},
108108
{
109-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/docs/source/references/schema.json`,
109+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_DEV}/docs/source/references/schema.json`,
110110
filename: `data-model-schema.md`,
111111
transform: (source) => {
112112
return renderDataModelSchema(JSON.parse(source))
@@ -116,31 +116,31 @@ export default [
116116
src: './src/example_code/lorem.rs',
117117
},
118118
{
119-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/client.template.toml`,
119+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_DEV}/configs/client.template.toml`,
120120
filename: 'client-cli-config-template.toml',
121121
},
122122
{
123-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer.template.toml`,
123+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_DEV}/configs/peer.template.toml`,
124124
filename: 'peer-config-template.toml',
125125
},
126126
{
127-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/swarm/genesis.json`,
127+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_DEV}/configs/swarm/genesis.json`,
128128
},
129129
{
130-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/client/examples/tutorial.rs`,
130+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_DEV}/client/examples/tutorial.rs`,
131131
filename: 'tutorial-snippets.rs',
132132
},
133133

134134
...javascriptSnippets,
135135

136136
{
137-
src: `https://raw.githubusercontent.com/hyperledger/iroha-java/${IROHA_JAVA_REV_DEV}/modules/test-tools/src/main/kotlin/jp/co/soramitsu/iroha2/testengine/IrohaConfig.kt`,
137+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha-java/${IROHA_JAVA_REV_DEV}/modules/test-tools/src/main/kotlin/jp/co/soramitsu/iroha2/testengine/IrohaConfig.kt`,
138138
filename: 'IrohaConfig.kotlin',
139139
},
140140
{
141-
src: `https://raw.githubusercontent.com/hyperledger/iroha-java/${IROHA_JAVA_REV_DEV}/modules/client/src/test/kotlin/jp/co/soramitsu/iroha2/InstructionsTest.kt`,
141+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha-java/${IROHA_JAVA_REV_DEV}/modules/client/src/test/kotlin/jp/co/soramitsu/iroha2/InstructionsTest.kt`,
142142
},
143143
{
144-
src: `https://raw.githubusercontent.com/hyperledger/iroha-java/${IROHA_JAVA_REV_DEV}/modules/client/src/test/java/jp/co/soramitsu/iroha2/JavaTest.java`,
144+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha-java/${IROHA_JAVA_REV_DEV}/modules/client/src/test/java/jp/co/soramitsu/iroha2/JavaTest.java`,
145145
},
146146
] satisfies SnippetSourceDefinition[]

src/blockchain/consensus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ fail. The same thing happens if the peers have different instructions.
3232

3333
[^1]:
3434
For prospective wizards, the
35-
[Iroha 2 Whitepaper](https://github.com/hyperledger/iroha/blob/main/docs/source/iroha_2_whitepaper.md)
35+
[Iroha 2 Whitepaper](https://github.com/hyperledger-iroha/iroha/blob/main/docs/source/iroha_2_whitepaper.md)
3636
is a good start.

src/blockchain/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ To do this, an account have to be granted the
151151
Refer to an example on how to
152152
transfer assets with [CLI](/get-started/operate-iroha-2-via-cli.md#_7-transfer-assets) or [Rust](/guide/tutorials/rust.md#_6-transferring-assets).
153153

154-
<!--TODO: add links to transferring assets example in which guide after https://github.com/hyperledger/iroha-2-docs/issues/81 is addressed -->
154+
<!--TODO: add links to transferring assets example in which guide after https://github.com/hyperledger-iroha/iroha-2-docs/issues/81 is addressed -->
155155

156156
## Grant/Revoke
157157

src/blockchain/triggers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ contains the necessary information:
1919
The documentation on the `EventFilter` types is under construction, as
2020
we are likely to make major changes to that particular architecture.
2121
For now, suffice it to say that you can look at the
22-
[source code](https://github.com/hyperledger/iroha/blob/main/data_model/src/events/data/filters.rs)
22+
[source code](https://github.com/hyperledger-iroha/iroha/blob/main/data_model/src/events/data/filters.rs)
2323
in `iroha_data_model` and see a few particularly interesting
2424
applications.
2525

src/blockchain/wasm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ edition = "2021"
7070
crate-type = ['cdylib']
7171

7272
[dependencies]
73-
iroha_wasm = { git = "https://github.com/hyperledger/iroha/"}
73+
iroha_wasm = { git = "https://github.com/hyperledger-iroha/iroha/"}
7474
```
7575

7676
Note that the crate type is `cdylib`. Most Rust code is linked in a

src/documenting/snippets.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ located in other repositories, where they are built, run, and tested.
99
### Snippet Sources
1010

1111
Snippet sources are defined in
12-
[`snippet_sources.ts`](https://github.com/hyperledger/iroha-2-docs/blob/main/etc/snippet-sources.ts).
12+
[`snippet_sources.ts`](https://github.com/hyperledger-iroha/iroha-2-docs/blob/main/etc/snippet-sources.ts).
1313
The `snippet_sources.ts` file is located in the documentation repository and has the following format:
1414

1515
```ts
1616
export default [
1717
{
18-
src: 'https://raw.githubusercontent.com/hyperledger/iroha/main/MAINTAINERS.md',
18+
src: 'https://raw.githubusercontent.com/hyperledger-iroha/iroha/main/MAINTAINERS.md',
1919
filename: 'iroha-maintainers-at-stable.md',
2020
},
2121
{
@@ -72,11 +72,11 @@ files into the documentation.
7272
## Example
7373

7474
Let's add a code snippet from Iroha JavaScript SDK. For example, this one:
75-
[`/packages/docs-recipes/src/1.client-install.ts`](https://github.com/hyperledger/iroha-javascript/blob/e300886e76c777776efad1e2f5cb245bfb8ed02e/packages/docs-recipes/src/1.client-install.ts).
75+
[`/packages/docs-recipes/src/1.client-install.ts`](https://github.com/hyperledger-iroha/iroha-javascript/blob/e300886e76c777776efad1e2f5cb245bfb8ed02e/packages/docs-recipes/src/1.client-install.ts).
7676

7777
1. First, get a permalink to the file. Open the file on GitHub and click
7878
`Raw` button to get the link. For example:
79-
https://raw.githubusercontent.com/hyperledger/iroha-javascript/e300886e76c777776efad1e2f5cb245bfb8ed02e/packages/docs-recipes/src/1.client-install.ts
79+
https://raw.githubusercontent.com/hyperledger-iroha/iroha-javascript/e300886e76c777776efad1e2f5cb245bfb8ed02e/packages/docs-recipes/src/1.client-install.ts
8080

8181
2. Define the new snippet in the [Snippet Sources](#snippet-sources):
8282

@@ -85,7 +85,7 @@ Let's add a code snippet from Iroha JavaScript SDK. For example, this one:
8585
/// ...
8686

8787
{
88-
src: 'https://raw.githubusercontent.com/hyperledger/iroha-javascript/e300886e76c777776efad1e2f5cb245bfb8ed02e/packages/docs-recipes/src/1.client-install.ts',
88+
src: 'https://raw.githubusercontent.com/hyperledger-iroha/iroha-javascript/e300886e76c777776efad1e2f5cb245bfb8ed02e/packages/docs-recipes/src/1.client-install.ts',
8989
filename: 'js-sdk-1-client-install.ts',
9090
},
9191
]
@@ -117,7 +117,7 @@ Let's add a code snippet from Iroha JavaScript SDK. For example, this one:
117117
// ...
118118

119119
{
120-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_STABLE}/MAINTAINERS.md`,
120+
src: `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${IROHA_REV_STABLE}/MAINTAINERS.md`,
121121
// ^^^^^^^^^^^^^^^^^^^
122122
filename: 'iroha-maintainers-at-stable.md',
123123
},

0 commit comments

Comments
 (0)