This repository contains the source code and content for https://fabricmc.net/.
The code is licensed as MIT as detailed in LICENSE, unless otherwise indicated.
The contents of this website, unless otherwise indicated, are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The existing Minima 2.5.1 templates and styles are included in _layouts and
_sass, with the theme's MIT license in _sass/minima/LICENSE.txt.
Use the Node version in .nvmrc (nvm install and nvm use if using nvm).
Install dependencies and start the website from the repository root:
npm ci
npm run devOpen http://localhost:4000/.
Build the website and serve the generated files without live reloading:
npm run build:site
npm run previewOpen http://localhost:4173/. Preview serves the existing _site directory;
run the build again to include further changes.
Run CLI commands from the repository root:
npm run cli -- init
npm run cli -- versions