Skip to content

Ratio1/docs

Repository files navigation

Ratio1 Docs Template

This repo is a customized Docusaurus v3 starter tailored for deploying documentation on Ratio1 edge nodes. It keeps the classic DX while adding Ratio1-specific branding, metadata, hooks (build hash display, edge host indicator), and a customized search UI so you can ship a docs site that fits the Ratio1 ecosystem out of the box.

Installation

npm install

Local Development

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.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Preview a Production Build

npm run build
npm run serve

This builds the site and serves the static output from build/ so you can verify the production bundle locally.

Deploying with Ratio1 Deeploy dApp

In the Ratio1 Deeploy flow, add the following worker commands:

npm install
npm run build
npm run serve

This installs dependencies, builds the static site, and serves it for deployment on Ratio1 edge nodes.

Deployment

This template is designed specifically for deployment on Ratio1; use Ratio1 edge nodes for hosting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •