openshift / openshift/openshift-docs

[enterprise-4.11] Google search redirect when switching versions returns no results

Open
#53,682 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/frozen
Dominant language
HTML
Stars
883
Forks
2k
Avg merge
21h 5m
Merged PRs (30d)
737

Description

Which section(s) is the issue in?

All

What needs fixing?

When switching versions in the docs and the page doesn't exist, you are provided a prompt to search for it, which redirects to google with search string of "site:https://docs.openshift.com/enterprise/{target version} {page title}" which yields 0 results. It seems the path has changed from /enterprise/ to /container-platform/.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Trace the version-switching search prompt and compare the generated Google site restriction with the current documentation URL structure; done means searches for missing pages use the valid path and return relevant results.

Written by the indexing model from the issue text.

Assessment

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.