ampproject / ampproject/amphtml
Documentation for <amp-carousel> breaks when changing version
- 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

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:

### 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
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