From 6af3393b83183dc2d9e96c824998db549f6d9fae Mon Sep 17 00:00:00 2001 From: Mik-TF Date: Tue, 14 May 2024 17:57:07 -0400 Subject: [PATCH] manual update links collections --- .../special_wallets/stats_special_wallets.md | 2 +- .../advanced/hummingbot.md | 6 ++--- collections/threefold_token/replace.py | 24 ------------------- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 collections/threefold_token/replace.py diff --git a/collections/about/token_overview/special_wallets/stats_special_wallets.md b/collections/about/token_overview/special_wallets/stats_special_wallets.md index a0f130c..f2b2e97 100644 --- a/collections/about/token_overview/special_wallets/stats_special_wallets.md +++ b/collections/about/token_overview/special_wallets/stats_special_wallets.md @@ -58,7 +58,7 @@ ThreeFold DMCC (Dubai) is in the process of acquiring a substantial number of to ## Proof-of-Utilization Wallets -There are some wallets associated with [proof-of-utilization](../../../farming/proof_of_utilization.md). These wallets are on TFChain. +There are some wallets associated with [proof-of-utilization](proof_of_utilization.md). These wallets are on TFChain. The addresses are the following: diff --git a/collections/system_administrators/advanced/hummingbot.md b/collections/system_administrators/advanced/hummingbot.md index 1a154b7..7acb2cd 100644 --- a/collections/system_administrators/advanced/hummingbot.md +++ b/collections/system_administrators/advanced/hummingbot.md @@ -20,10 +20,10 @@ In this guide, we go through the basic steps to deploy a [Hummingbot](https://hu ## Prerequisites -- [A TFChain account](../../../dashboard/wallet_connector.md) +- [A TFChain account](wallet_connector.md) - TFT in your TFChain account - - [Buy TFT](../../../threefold_token/buy_sell_tft/buy_sell_tft.md) - - [Send TFT to TFChain](../../../threefold_token/tft_bridges/tfchain_stellar_bridge.md) + - [Buy TFT](buy_sell_tft.md) + - [Send TFT to TFChain](tfchain_stellar_bridge.md) ## Deploy a Full VM diff --git a/collections/threefold_token/replace.py b/collections/threefold_token/replace.py deleted file mode 100644 index fbfdc6a..0000000 --- a/collections/threefold_token/replace.py +++ /dev/null @@ -1,24 +0,0 @@ -import os -import re -# Get a list of all files in the current directory -files = [] -for root, dirs, filenames in os.walk('.'): - for filename in filenames: - files.append(os.path.join(root, filename)) -# Loop through each file -for file in files: -# Check if the file is a markdown file (.md) - if file.endswith('.md'): - with open(file, 'r') as f: - content = f.read() - # Find all strings that start with ]( and end with.md - matches = re.findall(r'\]\(([^)]+)\.md\)', content) - # Loop through each match - new_content = content - for match in matches: - # If the match contains at least one /, remove everything before the last / - if '/' in match: - new_match = match.split('/')[-1] - new_content = new_content.replace(match, new_match) - with open(file, 'w') as f: - f.write(new_content) \ No newline at end of file