Skip to content

Commit

Permalink
Rename testnet tutorial file
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed May 8, 2024
1 parent 4ec1f80 commit 0db5268
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-tutorial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
shell: python
run: |
import re
with open("docs/docs/tutorial/index.md", "r") as tutorial:
with open("docs/docs/tutorial-testnet.md", "r") as tutorial:
body = tutorial.read()
usedCardanoNodeVersions = re.findall(r"cardano-node-([0-9]+\.[0-9]+\.[0-9]+)-.*\.tar\.gz", body)
Expand All @@ -50,7 +50,7 @@ jobs:
shell: python
run: |
import re
with open("docs/docs/tutorial/index.md", "r") as tutorial:
with open("docs/docs/tutorial-testnet.md", "r") as tutorial:
body = tutorial.read()
usedMithrilEndpoints = re.findall(r"AGGREGATOR_ENDPOINT=(.*)", body)
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/tutorial/index.md → docs/docs/tutorial-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar_position: 2
---

# Tutorial
# Open a head on testnet

This tutorial will show you how to use `hydra-node` on the `preprod` Cardano
network to open a layer-two state channel between two actors using the Hydra
Expand All @@ -13,7 +13,7 @@ This setup is also known as the [Basic Hydra Head](/topologies/basic) topology
and we will be creating the "green" Hydra Head between `X` and `Y` as shown
below:

![](../../topologies/basic/basic-hydra-head.jpg)
![](../topologies/basic/basic-hydra-head.jpg)

## What you will need

Expand Down
2 changes: 1 addition & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
},
{
type: "doc",
id: "tutorial/index",
id: "tutorial-testnet",
label: "Open a head on testnet",
},
{
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ update_api_version() {

update_tutorial_version() {
local version="$1"
local tutorial_file=docs/docs/tutorial/index.md
local tutorial_file=docs/docs/tutorial-testnet.md
sed -i"" -e "s,\(version=\).*,\1$version," $tutorial_file
}

Expand Down

0 comments on commit 0db5268

Please sign in to comment.