Have api.drupal.org remember visitors' core version preference and redirect to the appropriate version of documentation with it

Created on 5 April 2019, over 5 years ago
Updated 5 April 2024, 9 months ago

The api.drupal.org website is a good resource and always comes up high in google searches for "drupal 8 [some class]," however, every time I get there, I end up in 8.2.x, whereas I know that I am currently interested in 8.6.x. Soon I'll be interested in 8.7.x.

Some projects handle this nicely by providing a UI for site visitors to select their preferred API version documentation, setting a cookie, and using that stored cookie to always first try to serve the documentation corresponding to that version. I think the mechanics for this are already in place, as there already is the function that when a google search comes in to a 404, api.drupal.org does show a page with all the recent major version numbers as links into "search api.drupal.org for this."

An example out in the world is https://docs.mongodb.com/v2.6/tutorial/getting-started-with-the-mongo-sh...

Feature request
Status

Closed: outdated

Version

2.0

Component

User interface

Created by

🇺🇸United States texas-bronius

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024