Skip to content

Repository files navigation

Reactive docs

Netlify Status

The documentation site for Reactive, the C# UI library for Beat Saber mods. Built with Fumadocs on Next.js. It also hosts the in-browser Playground at /playground.

Running it

yarn install
yarn dev

Then open http://localhost:3000. yarn build builds the Playground and then the site.

The Playground's runtimes aren't committed. They're built from the inputs pinned in playground/lock.json, which the build downloads itself. It needs .NET SDK 10.0.400 or later with the wasm-tools workload (wasm-tools-net10 on SDK 11), and yarn check:examples then compiles every docs example that should compile against that build:

yarn build:playground
yarn check:examples

CI runs both in the toolchain stage of the Dockerfile. Pushes to main and stage are deployed to the VPS, at reactiveui.beatleader.com and stage.reactiveui.beatleader.com, by building its site stage, which runs the built server:

docker build --target site --tag reactive-docs .
docker run --publish 3000:3000 reactive-docs

Contributors

Languages