Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix links to main docs portal #518

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitbook/contracts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contracts

#### [What is CosmWasm?](./#what-is-cosmwasm-)[​](https://docs.injective.network/develop/guides/cosmwasm-dapps/#what-is-cosmwasm) <a href="#user-content-what-is-cosmwasm" id="user-content-what-is-cosmwasm"></a>
#### What is CosmWasm?

CosmWasm is a novel smart contracting platform built for the Cosmos ecosystem. You can learn more about CosmWasm [here](https://docs.cosmwasm.com/docs/), or see the [CosmWasm Book](https://book.cosmwasm.com/index.html) for a guide on creating CosmWasm smart contracts.

Expand Down
2 changes: 1 addition & 1 deletion .gitbook/core-modules/auction.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ How to use funds that are currently associated with your Injective Address in ba
- If you have existing non-default subaccounts, you'll want to do a[ MsgDeposit ](exchange.md#msgdeposit)to one of your existing non-default subaccountIds and use that subaccountId as the `srcSubaccountId` below.
- If you don't have existing non-default subaccounts, you can do a [MsgDeposit](exchange.md#msgdeposit) to a new default subaccountId, which would be done via importing `getSubaccountId` from `sdk-ts` and setting the `subaccountId` field in [MsgDeposit](exchange.md#msgdeposit) to `getSubaccountId(injectiveAddress, 1)`.

For more info, check out the [burn auction pool docs](https://docs.injective.network/develop/tech-concepts/auction_pool/).
For more info, check out the [burn auction pool docs](https://docs.injective.network/developers/modules/injective/auction).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Documentation link update verified and additional update needed

The PR correctly updates the burn auction documentation link to https://docs.injective.network/developers/modules/injective/auction. However, there is another outdated link in the same file that needs to be updated:

  • Line 71: Updated link to docs.injective.network
  • Line 3: Still using old link https://hub.injective.network/auction/

The old hub.injective.network domain should also be updated to the new documentation portal for consistency.

🔗 Analysis chain

Verify the updated documentation link

The link update to https://docs.injective.network/developers/modules/injective/auction aligns with the PR objective of fixing documentation links.

Let's verify the link's validity and consistency:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the documentation link and check for consistency
# Check if this new link format is used consistently across the documentation

# Search for other occurrences of the old and new link patterns
echo "Checking for old link pattern..."
rg -i "hub\.injective\.network/auction"

echo "Checking for new link pattern..."
rg -i "docs\.injective\.network/developers/modules/injective/auction"

# Check if the new domain is used consistently
echo "Checking for consistency in documentation domain..."
rg -i "docs\.injective\.network"

Length of output: 411


Script:

#!/bin/bash
# Let's try a broader search to understand the documentation link patterns

# Check for any references to injective.network domains
echo "Checking for all injective.network domain references..."
rg -i "injective\.network"

# Check for any .md files that might contain documentation links
echo "Finding all markdown files..."
fd -e md

# Check specifically in the .gitbook directory for link patterns
echo "Checking links in .gitbook directory..."
rg -i "http[s]?://" .gitbook/

Length of output: 35551


Script:

#!/bin/bash
# Let's check the specific auction documentation links in the .gitbook directory
echo "Checking auction-related links in .gitbook..."
rg -i "auction" .gitbook/core-modules/auction.md

# Let's also check if there are any other files referencing the old hub.injective.network domain
echo "Checking for other hub.injective.network references..."
rg -i "hub\.injective\.network" .gitbook/

Length of output: 1674


```ts
import {
Expand Down