Skip to content

Commit

Permalink
docs: Link fixes (#533)
Browse files Browse the repository at this point in the history
* bump

* bump

* r

* another one

* graphql mainnet

* sway

* ready for review
  • Loading branch information
calldelegation authored Dec 10, 2024
1 parent bedcfb1 commit 2bf1664
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- name: Check All Links
run: |
linkchecker --check-extern --no-warnings --ignore-url=crates.io --ignore-url=127.0.0.1 --ignore-url=block-explorer-v2 --ignore-url=localhost: --ignore-url=infura.io --ignore-url=chainsecurity.com --ignore-url=-indexer.fuel.network --ignore-url=fuel.network/graphql --ignore-url=testnet.fuel.network/v1/graphql --ignore-url=faucet-beta-5.fuel.network --ignore-url=faucet-testnet.fuel.network --ignore-url=github.com/FuelLabs/.*/labels/ --ignore-url=github.com/FuelLabs/.*/issues --ignore-url=bitcoin.it/wiki ${{ github.event.deployment_status.environment_url }}
linkchecker --check-extern --no-warnings --ignore-url=crates.io --ignore-url=127.0.0.1 --ignore-url=block-explorer-v2 --ignore-url=localhost: --ignore-url=infura.io --ignore-url=chainsecurity.com --ignore-url=-indexer.fuel.network --ignore-url=fuel.network/graphql --ignore-url=testnet.fuel.network/v1/graphql --ignore-url=faucet-beta-5.fuel.network --ignore-url=faucet-testnet.fuel.network --ignore-url=mainnet.fuel.network/v1/graphql --ignore-url=github.com/FuelLabs/.*/labels/ --ignore-url=github.com/FuelLabs/.*/issues --ignore-url=bitcoin.it/wiki ${{ github.event.deployment_status.environment_url }}
5 changes: 3 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@
[submodule "docs/sway-libs"]
path = docs/sway-libs
url = https://github.com/FuelLabs/sway-libs.git
branch = fix/ignition-docs
# TODO: Remove this and nightly after master syncs up with the lastest released version
branch = master
[submodule "docs/nightly/sway-libs"]
path = docs/nightly/sway-libs
url = https://github.com/FuelLabs/sway-libs.git
branch = fix/ignition-docs
branch = master
[submodule "docs/sway-standards"]
path = docs/sway-standards
url = https://github.com/FuelLabs/sway-standards
Expand Down
2 changes: 1 addition & 1 deletion docs/nightly/sway
Submodule sway updated 378 files
2 changes: 1 addition & 1 deletion docs/sway
Submodule sway updated 378 files
1 change: 0 additions & 1 deletion src/lib/md-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export class Doc {
.replace('docs/sway-by-example-lib/', '')
.replace('docs/fuel-book/', '')
.replace('docs/verified-addresses/', '')
.replace('docs/guides/', '')
.replace('docs/fuel-specs/', '')}`;

let pageLink = `${config.repository}${actualPath.replace(
Expand Down
2 changes: 1 addition & 1 deletion src/lib/plugins/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function replaceInternalLinks(href: string, base: string) {
docName = 'src-13-soulbound-address';
break;
case 'src-14':
docName = 'src-14-simple-upgradeable-proxies';
docName = 'src-14-simple-upgradable-proxies';
break;
case 'src-20':
docName = 'src-20-native-asset';
Expand Down

0 comments on commit 2bf1664

Please sign in to comment.