Local Preview
Use local preview before pushing changes so broken pages are caught early.
Requirements
Node.js: 20.0 or newer
npm: included with Node.js
Install Dependencies
From the project folder:
npm install
Start the Dev Server
npm run start
The local preview opens at:
http://localhost:3000
Docusaurus reloads automatically while you edit pages.
Production Build Test
Before publishing, run:
npm run build
If the build fails, fix the error before deploying. Common build errors are broken links, invalid MDX, missing images, or a page listed in sidebars.js that does not exist.