Skip to content

Commit

Permalink
redistributing some pages that were previously in "pages to delete"
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Dec 2, 2024
1 parent 6ab877b commit 6d01a84
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 30 deletions.
8 changes: 6 additions & 2 deletions src/components/omniSidebarNav/submenus/getStarted.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const getStarted = () => {
getGuideDirectory('guides/migrate/guided', 'Guided Migration'),
simpleLink('/migrate-manual', 'Manual Migration'),
simpleLink('/migrate-wordpress-multisite', 'WordPress Multisite'),
simpleLink('/unwind-drupal-multisite'),
simpleLink(
'/unwind-drupal-multisite',
'Extracting from a Drupal Multisite',
),
getGuideDirectory('guides/migrate/kinsta', 'Kinsta'),
getGuideDirectory('guides/migrate/pagely', 'Pagely'),
getGuideDirectory('guides/migrate/wordpressvip', 'WordPress VIP'),
Expand All @@ -29,8 +32,8 @@ const getStarted = () => {
'guides/drupal/drupal-unhosted-composer',
'Composer-based Drupal sites',
),
simpleLink('/add-site-clone', 'Clone an Existing Pantheon Site'),
]),

simpleLink('/dashboard', 'Dashboard', [
simpleLink('/site-dashboard', 'Site Dashboard'),
simpleLink('/personal-settings', 'Personal Settings'),
Expand All @@ -39,6 +42,7 @@ const getStarted = () => {
'Adding a Site with a Custom Upstream',
),
]),
simpleLink('/faq', 'FAQ'),
],
};
};
Expand Down
26 changes: 1 addition & 25 deletions src/components/omniSidebarNav/submenus/pagesToDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,12 @@ const pagesToDeleteorReconsider = () => {
link: '/platform-upgrade',
title: 'Pages to Delete or reconsider',
children: [
simpleLink('/drupal-10', 'Drupal 10'),
// Should this one be redirected to /guides/custom-upstreams?
simpleLink('/custom-upstreams', 'Custom Upstreams'),

// Pages to audit and reconsider before adding to migration submenu
simpleLink('/platform-notifications?asfdasdfasdf', 'pages to move', [
simpleLink('/supported-wp'),
simpleLink('/develop-drupal'), // Move to Drupal section.
// Not so relevant, needs further review.
// Let's move it to the Drupal menu for now.
simpleLink('/drupal-broken-links', 'Fix Broken Links'),
simpleLink('/faq', 'FAQ'), // move to getting started
simpleLink('/platform-notifications', 'Platform Notifications'),
// Has unsupported "product" upstreams Panopoly and OpenAtrium. But should probably go in Web Infra?
simpleLink('/start-state'),
// This is a really small page. Move to get started?
simpleLink('/add-site-clone'),

// This should be added as a sub-page of guides/mariadb-mysql
simpleLink(
'/optimize-wp-options-table-autoloaded-data',
'Optimize wp_options Table and Autoloaded Data',
),
// @todo, this page seems like it should be an article.
// But it could go under web infra or troubleshooting performance.
simpleLink('/cloud-optimization'),
]),

// Deprecated
simpleLink('/crisis-response-upstream', 'Deprecated or archived pages', [
simpleLink('/drupal-10', 'Drupal 10'),
simpleLink('/crisis-response-upstream'),
// This should be deprecated/archived see https://github.com/pantheon-systems/documentation/pull/9251
getGuideDirectory('guides/edge-integrations', 'Edge Integrations'),
Expand Down
1 change: 1 addition & 0 deletions src/components/omniSidebarNav/submenus/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const support = () => {
),
]),
simpleLink('/monthly-maintenance', "Pantheon's Monthly Maintenance"),
simpleLink('/platform-notifications', 'Platform Notifications'),
],
};
};
Expand Down
14 changes: 12 additions & 2 deletions src/components/omniSidebarNav/submenus/webInfrastructure.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ const webInfrastructure = () => {
simpleLink('/opensolr', 'Open Solr'),
]),
getGuideDirectory('guides/redirect', 'Redirects'),
simpleLink('/supported-drupal', 'Drupal', [

simpleLink('/develop-drupal', 'Drupal', [
simpleLink('/develop-drupal', 'Overview'),
simpleLink('/supported-drupal', 'Supported Drupal Versions'),
simpleLink('/modules', 'Pantheon Modules'),
simpleLink('/drupal-launch-check', 'Status Report'),
Expand All @@ -124,6 +126,9 @@ const webInfrastructure = () => {
'/drupal-from-dist',
'Create a Drupal Site Using a Drupal Distribution',
),
simpleLink('/drupal-broken-links', 'Fix Broken Links'),
// This page should be converted into an article.
simpleLink('/cloud-optimization', 'Optimizing for the Cloud'),
]),
simpleLink('/develop-wordpress', 'WordPress', [
simpleLink('/develop-wordpress', 'Overview'),
Expand All @@ -134,7 +139,12 @@ const webInfrastructure = () => {
getGuideDirectory('guides/wordpress-configurations'),
getGuideDirectory('guides/multisite', 'WordPress Multisite'),
getGuideDirectory('guides/woocommerce', 'WooCommerce'),
// @todo: add installing from third party sources doc here
// Do we need this page?
simpleLink('/supported-wp', 'Supported WordPress Versions'),
simpleLink(
'/optimize-wp-options-table-autoloaded-data',
'Optimize wp_options Table and Autoloaded Data',
),
]),
{
link: '/guides/decoupled',
Expand Down
2 changes: 1 addition & 1 deletion src/components/omniSidebarNav/submenus/workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ const workflows = () => {
// TODO: Report for Submenus and children lists that do not start with a sublink
simpleLink('/pantheon-workflow', 'Deployment Pipeline on Pantheon', [
simpleLink('/pantheon-workflow', 'Pantheon Workflow'),
simpleLink('/start-state', 'Start States'),
getGuideDirectory('guides/multidev'),
getGuideDirectory('guides/environment-configuration'),
simpleLink('/connection-modes', 'Connection Modes'),
getGuideDirectory('guides/sftp', 'SFTP'),
//Todo: relocate hotfixes into git guide
getGuideDirectory('guides/git', 'Git'),

simpleLink('/hotfixes', 'Hotfixes'),
simpleLink('/core-updates', 'Core Updates'),
simpleLink('/workflow-logs', 'Workflow Logs'),
Expand Down

0 comments on commit 6d01a84

Please sign in to comment.