.. image:: public/mesa-logo2-200.png :align: center :width: 200 :alt: MESA :target: https://docs.mesastar.org/en/latest/
page created by: Philip Mocz (2024)
- The
main
branch contains the website source code - The
gh-pages
branch stores the built website
A Github Action will automatically rebuild the website when changes are pushed to the repository. The major contents of the website are in src/App.tsx
.
The website may also manually be built by checking out the repo, and doing a
yarn install
npm run deploy
Uses https://github.com/thieryw/gitlanding (v2) React components
Starts from demo template: https://github.com/garronej/gitlanding-demo
Follows guide on publishing React web apps to GitHub Pages from https://github.com/gitname/react-gh-pages
-
add a
homepage
property to thepackage.json
file -
also add a
predeploy
property and adeploy
property to thescripts
object:
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",