Skip to content

Fix broken in-app links #147

@michalbrabec

Description

@michalbrabec

There are a few links in hardhat logs, messages, and error descriptors that link to broken pages or have hardcoded links.

Instead of linking the full url of a section of the website, a new entry should be created in src/redirects/in-app-shortlinks.ts, so redirecting a permanent short-link to its full URL.

All links must be shortened and full links redirected in the in-app-shortlinks.ts file.

For example, instead of linking to /docs/reference/console-log from Hardhat, we have the entry ["/console-log", "/docs/reference/console-log"] in src/redirects/in-app-shortlinks.ts, and use /console-log instead.

This task is scoped purely to the source files (*.ts), READMEs and changelogs will be addressed in #158

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions