AElfProject / aelf-docs

aelf-docs provides guidelines, documents and API references for developers building dApps on aelf blockchain.
https://docs.aelf.com/
8 stars 2 forks source link

Website

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

Installation

$ npm install

Environment Variables

Name Description
TYPESENSE_COLLECTION_NAME The collection name.
TYPESENSE_SERVER_HOST The host of the typesense server.
TYPESENSE_SEARCH_ONLY_APIKEY The search-only api key for searching the collection.

Local Development

$ npm 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.