Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

MAGEDOC-3840: Remove 2.1 docs #4917

Merged
merged 15 commits into from
Jul 11, 2019
Merged

MAGEDOC-3840: Remove 2.1 docs #4917

merged 15 commits into from
Jul 11, 2019

Conversation

jeff-matthews
Copy link
Contributor

@jeff-matthews jeff-matthews commented Jul 9, 2019

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:

https://devdocs.magento.com/guides/v2.0/install-gde/bk-install-guide.html

Will redirect to:

https://devdocs.magento.com/guides/v2.3/install-gde/bk-install-guide.html

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:

https://devdocs.magento.com/guides/v2.1/this-file-does-not-exist.html

Will redirect to:

https://devdocs.magento.com/

Incidentally, this config eliminates the possibility of getting a 404 on 2.3 pages in most cases.

Additional info

@jeff-matthews jeff-matthews self-assigned this Jul 9, 2019
@jeff-matthews jeff-matthews added Internal Dev Differentiates work between community and Magento staff Site Improvements Updates to tools, processes, and site architecture that improve reader and contributor experience labels Jul 9, 2019
@jeff-matthews
Copy link
Contributor Author

@hguthrie & @meker12, be advised: I made changes to a lot of cloud files.

@jeff-matthews jeff-matthews requested a review from keharper July 10, 2019 00:39
@keharper
Copy link
Contributor

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.

@jeff-matthews
Copy link
Contributor Author

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.

Copy link
Contributor

@dobooth dobooth left a 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.

Copy link
Contributor

@hguthrie hguthrie left a 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.

guides/v2.2/cloud/trouble/redis-troubleshooting.md Outdated Show resolved Hide resolved
guides/v2.3/cloud/trouble/redis-troubleshooting.md Outdated Show resolved Hide resolved
Co-Authored-By: hguthrie <hguthrie@users.noreply.github.com>
Co-Authored-By: hguthrie <hguthrie@users.noreply.github.com>
@jeff-matthews
Copy link
Contributor Author

Thanks for the review @hguthrie!

@jeff-matthews
Copy link
Contributor Author

running tests

@jeff-matthews jeff-matthews merged commit 4362bdc into master Jul 11, 2019
@ghost
Copy link

ghost commented Jul 11, 2019

Hi @jeff-matthews, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@jeff-matthews jeff-matthews deleted the MAGEDOC-3840-remove-2-1 branch July 11, 2019 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Internal Dev Differentiates work between community and Magento staff Site Improvements Updates to tools, processes, and site architecture that improve reader and contributor experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants