Skip to content

Conversation

@jacobdubail
Copy link
Contributor

Description of the Change

Adds versioning to Docusaurus to support App Router and Pages Router docs

How to test the Change

cd docs && npm run start to view the changes in the browser.
Pages Router docs are maintained in the docs/versioned_docs/version-pages-router directory.
App Router docs are maintained in the default docs/documentation directory.

Changelog Entry

Added - Pages Router version via npx docusaurus docs:version pages-router
Changed - docusaurus.config.js to include versions and docsVersionDropdown

Checklist:

@changeset-bot
Copy link

changeset-bot bot commented May 23, 2025

⚠️ No Changeset found

Latest commit: f16824c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jacobdubail jacobdubail requested a review from nicholasio May 23, 2025 20:17
@vercel
Copy link

vercel bot commented May 23, 2025

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

Name Status Preview Comments Updated (UTC)
headstartwp-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 8:17pm
headstarwp ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 8:17pm

@github-actions
Copy link
Contributor

📦 Next.js Bundle Analysis for @10up/wp-nextjs-app

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 83.76 KB (🟢 -42.23 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

@github-actions
Copy link
Contributor

📦 Next.js Bundle Analysis for @10up/headstartwp

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@nicholasio nicholasio merged commit db8e292 into feature/update-docs May 29, 2025
17 checks passed
@nicholasio nicholasio deleted the feature/docs-version-routing branch May 29, 2025 18:06
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