ampproject / ampproject/amphtml

Documentation for <amp-carousel> breaks when changing version

Open
#39,390 2 comments 0 reactions 0 assignees View on GitHub
Component: amp-carousel P2: Soon Related to: Documentation Stale Type: Bug WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

Using the dropdown box to change versions leads to a 404 error page

### Reproduction Steps

1. go to [https://amp.dev/documentation/components/amp-carousel](https://amp.dev/documentation/components/amp-carousel)
2. switch version from 0.1 to 0.2
![image](https://github.com/ampproject/amphtml/assets/11179452/e742f475-90a8-49e4-82cd-d140c4395daa)
3. url changes to [https://amp.dev/documentation/amp-carousel-v0.2/?format=websites](https://amp.dev/documentation/amp-carousel-v0.2/?format=websites) which is a 404:
![image](https://github.com/ampproject/amphtml/assets/11179452/5aeeca59-394b-445c-bb37-6a045b1f4bdb)

### Relevant Logs

_No response_

### Browser(s) Affected

_No response_

### OS(s) Affected

_No response_

### Device(s) Affected

_No response_

### AMP Version Affected

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the amp-carousel documentation page and its version dropdown, then compare the generated URL for version 0.2 with the working 0.1 URL. Done means switching from 0.1 to 0.2 opens the amp-carousel documentation instead of a 404 page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.