-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Conversation
…l with page.baseurl
…ks using page.baseurl
I couldn't get any unexpected results to happen. It might be outside the scope of this PR, but there are still plenty of references to "2.1" and even "2.0" in the TOC file. |
Thanks for the review @keharper. Re: 2.0 and 2.1 references in the TOC, this came up when we removed 2.0 docs. At the time, we decided to leave them because it wasn't causing any adverse effects and if we ever need to build old versions of the docs, we'll need those references. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a ref in /_includes/layout/after-site-header.html to the 2.1 release notes.
There are some links in /swagger as well. I can remove those with my update if you wish.
Branch got switched somehow. Nothing to see here...please move along.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cloud-Two spots where there is a 2.1 mention that should be removed, because it was removed in other files.
Co-Authored-By: hguthrie <hguthrie@users.noreply.github.com>
Co-Authored-By: hguthrie <hguthrie@users.noreply.github.com>
Thanks for the review @hguthrie! |
Co-Authored-By: Margaret Eker <meker@adobe.com>
running tests |
Hi @jeff-matthews, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) removes all
guides/v2.1
content from the devdocs site since 2.1 reached end-of-life (EOL) on 6/30/19 and no longer receives security patches, quality fixes, or documentation updates.This PR also removes all 2.1 redirect metadata since we're going to implement an S3-based redirect that does the following:
If a 2.3 file exists for an incoming 2.1 URL, S3 will redirect to that page. For example:
Will redirect to:
If a 2.3 file does not exist for an incoming 2.1 URL, S3 will redirect to the home page of the latest version of devdocs (currently 2.3). For example:
Will redirect to:
Incidentally, this config eliminates the possibility of getting a 404 on 2.3 pages in most cases.
Additional info