Skip to content

Commit fabb73d

Browse files
committed
Hardhat broken doc links fuxed
1 parent dc31376 commit fabb73d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

archive/hardhat-verify/src/internal/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ ${missingLibraries.map((x) => ` * ${x}`).join("\n")}
348348
349349
${
350350
missingLibraries.length === undetectableLibraries.length
351-
? "Visit https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify#libraries-with-undetectable-addresses to learn how to solve this."
351+
? "Visit https://hardhat.org/libraries-with-undetectable-addresses to learn how to solve this."
352352
: "To solve this, you can add them to your --libraries dictionary with their corresponding addresses."
353353
}`);
354354
}

archive/hardhat-verify/src/internal/tasks/sourcify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ sourcify: {
233233
234234
Or set 'enabled' to false to hide this message.
235235
236-
For more information, visit https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify#verifying-on-sourcify`
236+
For more information, visit https://hardhat.org/verifying-on-sourcify`
237237
)
238238
);
239239
});

archive/hardhat-vyper/src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class Parser {
3939
throw new VyperPluginError(
4040
`We found a test directive in the file at path ${absolutePath}.` +
4141
` Test directives are a Brownie feature not supported by Hardhat.` +
42-
` Learn more at https://hardhat.org/hardhat-runner/plugins/nomiclabs-hardhat-vyper#test-directives`
42+
` Learn more at https://hardhat.org/vyper-test-directives`
4343
);
4444
}
4545
}

archive/hardhat-vyper/test/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ describe("Vyper plugin", function () {
301301
await expect(this.env.run(TASK_COMPILE)).to.be.rejectedWith(
302302
`We found a test directive in the file at path ${filePath}.` +
303303
` Test directives are a Brownie feature not supported by Hardhat.` +
304-
` Learn more at https://hardhat.org/hardhat-runner/plugins/nomiclabs-hardhat-vyper#test-directives`
304+
` Learn more at https://hardhat.org/vyper-test-directives`
305305
);
306306
});
307307
});

v-next/hardhat-errors/src/descriptors.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export const ERRORS = {
326326
websiteTitle: "You are not inside a Hardhat project",
327327
websiteDescription: `You are trying to run Hardhat outside of a Hardhat project.
328328
329-
You can learn how to use Hardhat by reading the [Getting Started guide](/hardhat-runner/docs/getting-started).`,
329+
You can learn how to use Hardhat by reading the [Getting Started guide](/getting-started).`,
330330
},
331331
DUPLICATED_PLUGIN_ID: {
332332
number: 2,
@@ -951,7 +951,7 @@ Please double check your accounts and the "from" parameter in your RPC calls.`,
951951
websiteTitle: "Invalid HD path",
952952
websiteDescription: `An invalid HD/BIP32 derivation path was provided in your config.
953953
954-
Read the [documentation](https://hardhat.org/hardhat-runner/docs/config#hd-wallet-config) to learn how to define HD accounts correctly.`,
954+
Read the [documentation](https://hardhat.org/hd-wallet-config) to learn how to define HD accounts correctly.`,
955955
},
956956
CANT_DERIVE_KEY: {
957957
number: 718,
@@ -1987,7 +1987,7 @@ Please try again later.`,
19871987
},
19881988
MISSING_LINK_FOR_LIBRARY: {
19891989
number: 20012,
1990-
messageTemplate: `The contract "{contractName}" is missing links for the following libraries: "{missingLibraries}". Learn more about linking contracts at (https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-ethers#library-linking).`,
1990+
messageTemplate: `The contract "{contractName}" is missing links for the following libraries: "{missingLibraries}". Learn more about linking contracts at (https://hardhat.org/ethers-library-linking).`,
19911991
websiteTitle: "Missing links for library",
19921992
websiteDescription: "Missing links for library",
19931993
},
@@ -2213,7 +2213,7 @@ You probably did something like this:
22132213
22142214
Instead, define a fixture function and refer to that same function in each call to loadFixture.
22152215
2216-
Learn more at (https://hardhat.org/hardhat-network-helpers/docs/reference#fixtures)`,
2216+
Learn more at (https://hardhat.org/hardhat-network-helpers-fixtures)`,
22172217
websiteTitle: "Anonymous functions cannot be used as fixtures",
22182218
websiteDescription: "Anonymous functions cannot be used as fixtures",
22192219
},

0 commit comments

Comments
 (0)