cdklabs / cdklabs/construct-hub

README links to ConstructHub are modified and lead to 404

Open
#1,077 1 comment 0 reactions 0 assignees View on GitHub
bug effort/small p2
Dominant language
TypeScript
Stars
239
Forks
30
Avg merge
1d 9h
Merged PRs (30d)
11

Description

### What is the URL of the page with the issue?

https://constructs.dev/packages/@cdklabs/cdk-ecs-codedeploy/v/0.0.15?lang=typescript

### What did you do?

The construct's README contains a link to the construct's ConstructHub page.

![CleanShot 2022-12-22 at 11 45 54@2x](https://user-images.githubusercontent.com/17558268/209214207-113ce124-178a-4a66-bd7c-645ba101a13e.png)

### What did you expect to happen?

When clicked I should not be navigated anywhere since I am already on the linked page.

### What actually happened?

The link is modified by ConstructHub and directs to an invalid page, resulting in 404.

Actual link (see [README on GitHub](https://github.com/cdklabs/cdk-ecs-codedeploy)): `https://constructs.dev/packages/@cdklabs/cdk-ecs-codedeploy`

Modified link: `https://constructs.dev/packages/@cdklabs/cdk-ecs-codedeploy/v/https://constructs.dev/packages/@cdklabs/cdk-ecs-codedeploy`

### Web Browser

Brave (Chrome)

### OS

macOS

### Other information

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the 404 from the ConstructHub package URL and compare it with the link shown in the construct's GitHub README. Trace where ConstructHub modifies README links, then verify that the package link is preserved without adding a duplicate path and that it no longer produces a 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.