Skip to content

rahilt/solace-docs

 
 

Repository files navigation

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn 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

yarn build

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

Contract Docgen

Assuming this repo is at ./solace-docs and the core repo is at ./solace-core

mkdir ./solace-core/templates/
cp ./solace-docs/contract.hbs ./solace-core/templates/
cd ./solace-core
npm i
rm -rf docs
npx solidity-docgen --solc-module solc-0.8 -t ./templates
rm -rf ../solace-docs/docs/dev-docs/contracts/
cp -r ./docs/. ../solace-docs/docs/dev-docs/contracts/
cd ../solace-docs
yarn build
yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.7%
  • CSS 40.7%
  • Handlebars 10.6%