This website is built using Docusaurus, a modern static website generator.
$ npm i
$ npm run start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ npm run build
This command generates static content into the build
directory and can be served using any static contents hosting service.
This project uses GitHub Actions to automate building, testing, and generating a preview for pull requests. Here's how you can review pull requests effectively:
-
Open the Pull Request:
- Navigate to the Pull Requests tab in the repository.
- Select the PR you want to review.
-
Access the Build Artifact:
- Go to the Actions tab in the repository.
- Find the workflow run associated with the pull request (usually named
Pull Request Pipeline
). - Scroll down to the Artifacts section and download the artifact named
site-preview-pr-<PR_NUMBER>
(e.g.,site-preview-pr-123
).
-
Preview the Changes:
- Extract the downloaded artifact.
- Serve the files locally using a simple HTTP server. For example:
npx http-server <extracted-folder-path> -p 8080
- Open
http://localhost:8080
in your browser to review the changes.
-
Provide Feedback:
- Leave comments or suggestions directly in the pull request under the Files changed tab.
There is a pipeline that will deploy anytime that a new commit lands to main
branch.