Skip to content

Conversation

@nmelehan
Copy link
Contributor

@nmelehan nmelehan commented Mar 8, 2019

This PR consists of the following steps:

  1. Some cleanup/preparation work was done in 15b0d04, fab8aab, a0508b7, faa6065

  2. The theme was rebuilt in 73bf038

  3. A script was run in 153d309 that performed the bulk of the work. The script is here: https://gist.github.com/nmelehan/7963fe44f43328b1bd4f7d29a83dfc49. The tasks it performs are:

    • Move all classic guides to URL slugs that end in -classic-manager
    • Move all cloud guides to URL slugs that have no suffix (remove -new-manager suffix)
    • Add classic_manager_link to cloud guides that links back to the classic guide version
    • Add cloud_manager_link to classic guides that links forward to the cloud guide version
    • Hides classic guides from index and search (by setting hiddenguide: true in yaml)
    • Unhides cloud guides from index and search (by removing hiddenguide: true in yaml)
    • Removes aliases from classic guides
    • Merges aliases previously on classic guides with aliases on cloud guides and applies them to cloud guides
    • Also aliases previous -new-manager URL slug on cloud guides to cloud guides

The following is a list of all aliases that were found across all guides that were updated. This list also includes the URLs of cloud manager guides that previously featured the -new-manager suffix. To verify the correctness of this PR, run a curl against them and check for 404s:

http://localhost:1313/docs/accounts-and-passwords/
http://localhost:1313/docs/backup-service/
http://localhost:1313/docs/billing-and-payments/
http://localhost:1313/docs/dns-guides/configuring-dns-with-the-linode-manager/
http://localhost:1313/docs/dns-manager/
http://localhost:1313/docs/getting-started-new-manager/
http://localhost:1313/docs/linode-images/
http://localhost:1313/docs/linode-manager-security/
http://localhost:1313/docs/linode-platform/nodebalancer-howto/
http://localhost:1313/docs/linode-platform/nodebalancer-reference/
http://localhost:1313/docs/migrate-to-linode/disk-images/resizing-a-linode/
http://localhost:1313/docs/monitoring-and-maintaining/
http://localhost:1313/docs/networking/configure-your-linode-for-reverse-dns/
http://localhost:1313/docs/networking/dns/dns-manager-overview/
http://localhost:1313/docs/networking/dns/dns-manager/
http://localhost:1313/docs/networking/dns/setting-reverse-dns/
http://localhost:1313/docs/networking/Setting-Up-Reverse-DNS-Lookup/
http://localhost:1313/docs/nodebalancers/getting-started/
http://localhost:1313/docs/nodebalancers/reference/
http://localhost:1313/docs/platform/accounts-and-passwords/
http://localhost:1313/docs/platform/api/getting-started-with-the-linode-api-new-manager/
http://localhost:1313/docs/platform/backup-service/
http://localhost:1313/docs/platform/billing-and-payments/
http://localhost:1313/docs/platform/billing-and-support/billing-and-payments-new-manager/
http://localhost:1313/docs/platform/billing-and-support/support-new-manager/
http://localhost:1313/docs/platform/block-storage/how-to-use-block-storage-with-your-linode-new-manager/
http://localhost:1313/docs/platform/disk-images/linode-backup-service-new-manager/
http://localhost:1313/docs/platform/disk-images/linode-images-new-manager/
http://localhost:1313/docs/platform/how-to-use-block-storage-with-your-linode/
http://localhost:1313/docs/platform/linode-backup-service/
http://localhost:1313/docs/platform/linode-images/
http://localhost:1313/docs/platform/manager/accounts-and-passwords-new-manager/
http://localhost:1313/docs/platform/manager/dns-manager-new-manager/
http://localhost:1313/docs/platform/network-helper-new-manager/
http://localhost:1313/docs/platform/nodebalancer/getting-started-with-nodebalancers-new-manager/
http://localhost:1313/docs/platform/nodebalancer/nodebalancer-reference-guide-new-manager/
http://localhost:1313/docs/platform/stackscripts-new-manager/
http://localhost:1313/docs/platform/support/
http://localhost:1313/docs/quick-answers/linode-platform/reset-the-root-password-on-your-linode-new-manager/
http://localhost:1313/docs/quick-answers/linode-platform/resize-a-linode-disk-new-manager/
http://localhost:1313/docs/resizing/
http://localhost:1313/docs/security/backups/linode-backup-service/
http://localhost:1313/docs/security/linode-manager-security-controls-new-manager/
http://localhost:1313/docs/security/linode-manager-security-controls/
http://localhost:1313/docs/stackscripts/
http://localhost:1313/docs/support/
http://localhost:1313/docs/uptime/monitoring-and-maintaining-your-server-new-manager/

Curl command for your convenience:

curl -IL \
http://localhost:1313/docs/accounts-and-passwords/ \
http://localhost:1313/docs/backup-service/ \
http://localhost:1313/docs/billing-and-payments/ \
http://localhost:1313/docs/dns-guides/configuring-dns-with-the-linode-manager/ \
http://localhost:1313/docs/dns-manager/ \
http://localhost:1313/docs/getting-started-new-manager/ \
http://localhost:1313/docs/linode-images/ \
http://localhost:1313/docs/linode-manager-security/ \
http://localhost:1313/docs/linode-platform/nodebalancer-howto/ \
http://localhost:1313/docs/linode-platform/nodebalancer-reference/ \
http://localhost:1313/docs/migrate-to-linode/disk-images/resizing-a-linode/ \
http://localhost:1313/docs/monitoring-and-maintaining/ \
http://localhost:1313/docs/networking/configure-your-linode-for-reverse-dns/ \
http://localhost:1313/docs/networking/dns/dns-manager-overview/ \
http://localhost:1313/docs/networking/dns/dns-manager/ \
http://localhost:1313/docs/networking/dns/setting-reverse-dns/ \
http://localhost:1313/docs/networking/Setting-Up-Reverse-DNS-Lookup/ \
http://localhost:1313/docs/nodebalancers/getting-started/ \
http://localhost:1313/docs/nodebalancers/reference/ \
http://localhost:1313/docs/platform/accounts-and-passwords/ \
http://localhost:1313/docs/platform/api/getting-started-with-the-linode-api-new-manager/ \
http://localhost:1313/docs/platform/backup-service/ \
http://localhost:1313/docs/platform/billing-and-payments/ \
http://localhost:1313/docs/platform/billing-and-support/billing-and-payments-new-manager/ \
http://localhost:1313/docs/platform/billing-and-support/support-new-manager/ \
http://localhost:1313/docs/platform/block-storage/how-to-use-block-storage-with-your-linode-new-manager/ \
http://localhost:1313/docs/platform/disk-images/linode-backup-service-new-manager/ \
http://localhost:1313/docs/platform/disk-images/linode-images-new-manager/ \
http://localhost:1313/docs/platform/how-to-use-block-storage-with-your-linode/ \
http://localhost:1313/docs/platform/linode-backup-service/ \
http://localhost:1313/docs/platform/linode-images/ \
http://localhost:1313/docs/platform/manager/accounts-and-passwords-new-manager/ \
http://localhost:1313/docs/platform/manager/dns-manager-new-manager/ \
http://localhost:1313/docs/platform/network-helper-new-manager/ \
http://localhost:1313/docs/platform/nodebalancer/getting-started-with-nodebalancers-new-manager/ \
http://localhost:1313/docs/platform/nodebalancer/nodebalancer-reference-guide-new-manager/ \
http://localhost:1313/docs/platform/stackscripts-new-manager/ \
http://localhost:1313/docs/platform/support/ \
http://localhost:1313/docs/quick-answers/linode-platform/reset-the-root-password-on-your-linode-new-manager/ \
http://localhost:1313/docs/quick-answers/linode-platform/resize-a-linode-disk-new-manager/ \
http://localhost:1313/docs/resizing/ \
http://localhost:1313/docs/security/backups/linode-backup-service/ \
http://localhost:1313/docs/security/linode-manager-security-controls-new-manager/ \
http://localhost:1313/docs/security/linode-manager-security-controls/ \
http://localhost:1313/docs/stackscripts/ \
http://localhost:1313/docs/support/ \
http://localhost:1313/docs/uptime/monitoring-and-maintaining-your-server-new-manager/

nmelehan added 7 commits March 7, 2019 18:49
YAML to hide the classic guide should by hiddenguide, not headless
These will be replaced by a new Hugo partial
- Move all classic guides to URL slugs that end in -classic-manager
- Move all cloud guides to URL slugs that have no suffix (remove -new-manager suffix)
- Add classic_manager_link to cloud guides that links back to the classic guide version
- Add cloud_manager_link to classic guides that links forward to the cloud guide version
- Hides classic guides from index and search (by setting hiddenguide: true in yaml)
- Unhides cloud guides from index and search (by removing hiddenguide: true in yaml)
- Removes aliases from classic guides
- Merges aliases previously on classic guides with aliases on cloud guides and applies them to cloud guides
- Also aliases previous -new-manager URL slug on cloud guides to cloud guides
@nmelehan nmelehan merged commit bb0c6c9 into linode:develop Mar 8, 2019
@nmelehan
Copy link
Contributor Author

nmelehan commented Mar 8, 2019

Netlify testing of aliases succeeded:
https://gist.github.com/nmelehan/1dd0c09397f6ac6f83ffe82b8d0907ce

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.

2 participants