Skip to content

feat: moved get-involved and guides content#6172

Merged
ovflowd merged 4 commits intomainfrom
feat/moved-content-around
Dec 5, 2023
Merged

feat: moved get-involved and guides content#6172
ovflowd merged 4 commits intomainfrom
feat/moved-content-around

Conversation

@ovflowd
Copy link
Copy Markdown
Member

@ovflowd ovflowd commented Dec 1, 2023

Description

This Pull Request is another push towards the Navigation that will exist on the Node.js Website Redesign.

This Pull Request moves all /get-involved pages unto /about/get-involved and it moves the /docs/guides into a dedicated /guides top-level navigation.

Other Related Changes

  • /:locale/docs will now redirect to https://nodejs.org/docs/latest/api/
  • /:locale/docs/guides will now redirect to /:locale/guides
    • All subsequent pages will also be appropriately redirected to their 1:1 match
  • The /:locale/docs/es6 will redirect to the ES6 learn page of the same content
  • The Top Navigation now contains "Guides"
  • The Top Navigation "Docs" will now point to https://nodejs.org/docs/latest/api/
  • We added a Blockquote about the "deprecation" of the Guides and that they will eventually be replaced by respective Learn pages
  • Updated Content (Markdown) with proper new URLs and redirects

Validation

  • /en/docs -> https://nodejs.org/docs/latest/api/
  • /en/docs/guides/ && /en/docs/guides/*** to -> /en/guides && /en/guides/***
  • /en/docs/es6 -> /en/learn/getting-started/ecmascript-2015-es6-and-beyond
  • Proper new Top Navigations
  • No Broken Links on Guides Pages
  • Sidebars still displaying properly

@ovflowd ovflowd added content Issues/pr concerning content website redesign Issue/PR part of the Node.js Website Redesign labels Dec 1, 2023
@ovflowd ovflowd requested review from a team as code owners December 1, 2023 23:26
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2023 11:34pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 100 🟢 97 🟢 92 🟢 92 🔗
/en/about 🟢 100 🟢 95 🟢 92 🟢 92 🔗
/en/about/previous-releases 🟢 100 🟢 93 🟢 92 🟢 92 🔗
/en/download 🟢 100 🟢 95 🟢 92 🟢 92 🔗
/en/blog 🟢 99 🟢 95 🟢 92 🟢 92 🔗

@ovflowd
Copy link
Copy Markdown
Member Author

ovflowd commented Dec 1, 2023

cc @nodejs/tsc as this is a relatively big "content-drift" on the Website. Note that this change does not remove content; Just reallocate them to different places to properly start to match the Website Redesign.

@ovflowd
Copy link
Copy Markdown
Member Author

ovflowd commented Dec 1, 2023

Note: All existing links will still work and properly redirect. This PR should not break existing links and user experience.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2023

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 94%
89.47% (374/418) 81.1% (103/127) 87.34% (69/79)

Unit Test Report

Tests Skipped Failures Errors Time
71 0 💤 0 ❌ 0 🔥 4.566s ⏱️

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown

@ShogunPanda ShogunPanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Copy Markdown
Contributor

@bmuenzenmeyer bmuenzenmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question about the next.rewrites.js logic - functionally this looks good

Comment thread redirects.json
Copy link
Copy Markdown
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread components/SideNavigation.tsx
Copy link
Copy Markdown
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Copy Markdown
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ovflowd ovflowd added this pull request to the merge queue Dec 5, 2023
Merged via the queue into main with commit 250cad2 Dec 5, 2023
@ovflowd ovflowd deleted the feat/moved-content-around branch December 5, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Issues/pr concerning content website redesign Issue/PR part of the Node.js Website Redesign

Projects

None yet

Development

Successfully merging this pull request may close these issues.