Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ Redirects (closes #314) #316

Merged
merged 6 commits into from
Aug 26, 2020
Merged

FAQ Redirects (closes #314) #316

merged 6 commits into from
Aug 26, 2020

Conversation

tkowark
Copy link
Member

@tkowark tkowark commented Aug 25, 2020

This PR introduces a means to gracefully redirect users when they are visiting non-existing anchors in the FAQs.
Example: Android app redirects to /faq/#39508. What happens now:

  • App notices that anchor is not part of the FAQs
  • Checks whether a redirect is defined
  • If yes: scroll to anchor
  • If no: Do a search using the provided anchor, which is hopefully an error code

Real life examples:

  • #39508 refers to only one anchor (API39508) and, hence, a redirect is in place
  • #9002 refers to a generic error. Hence, a search is performed

@tkowark tkowark linked an issue Aug 25, 2020 that may be closed by this pull request
@tkowark tkowark merged commit 601cda9 into master Aug 26, 2020
@tkowark tkowark deleted the feature/faq-redirects branch September 22, 2020 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FAQ redirect for error code links
1 participant