Source for bayme.sh, the Meshtastic Bay Area Group website.
Built with Hugo (extended) and the Docsy theme, consumed as a Hugo Module.
- Hugo extended,
0.160.1or newer (CI builds with0.165.0— see.github/workflows/gh-pages.yml). Docsy's SCSS pipeline requires the extended variant. - Go — required by Hugo Modules to fetch the Docsy theme. Version doesn't need to match anything specific; any recent Go toolchain works.
- Node.js + npm — for
autoprefixer/postcss-cliand the theme's generated npm workspace (Bootstrap, Font Awesome SCSS sources) underpackages/hugoautogen. - Dart Sass (
sassonPATH) — Hugo no longer embeds a Sass compiler; it shells out to Dart Sass to build the theme's SCSS. Install via your package manager, e.g.brew install dart-sass. - Git LFS — images (
*.jpg,*.png,*.gif) are stored via LFS per.gitattributes. Rungit lfs installonce, then clone/pull normally.
npm install # installs postcss-cli/autoprefixer + the theme's npm workspace
npm run serve # hugo server with live reload, at http://localhost:1313Other useful scripts (see package.json for the full list):
npm run build # local/dev build into public/
npm run build:preview # minified preview build (used for PR/Netlify previews)
npm run build:production # minified production build (what CI deploys)
npm run clean # remove public/ and Hugo's resources/ cachecontent/docs/— documentation pages (shown with a "Last modified" date pulled from git history)content/blog/— news postscontent/map/,content/links/— the Map & Data and Links pagescontent/_index.md— homepage
Pushes to main build and deploy automatically via
.github/workflows/gh-pages.yml:
- Checkout (with full git history + LFS)
- Build with Hugo + Dart Sass
- Deploy
public/to thegh-pagesbranch, served at bayme.sh (custom domain viastatic/CNAME) - Post a status message to Discord (
DISCORD_WEBHOOK_URLrepo secret)
Pull requests run the same build (steps 1–2) as a CI check, without deploying.
MIT — see LICENSE.