ocrybit / next-dapp-docs

Next Dapp Docs

Home Page:https://warashibe.github.io/next-dapp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next Dapp Docs

This is the official docs for Next Dapp deployed at https://warashibe.github.io/next-dapp/ and powered by Docusaurus v1.

Your contributions are more than welcome. Here's how.

How to contribute

  1. fork this repo

  2. clone your forked repo

git clone https://github.com/[your github username]/next-dapp-docs.git
  1. install packages
cd next-dapp-docs/website
yarn
  1. run the docs locally
yarn start
  1. make changes and commit them to your forked repo

  2. create a new pull request at https://github.com/warashibe/next-dapp-docs/pulls

  3. pray it will be accepted


How to add new pages

The simplest way to add a page is to create a markdown file under /docs directory with an arbitrary file name. Mimic the header format of the other md files in the directory to define id, title and sidebar_label.

For example:

---
id: api
title: API Reference
sidebar_label: API Refenence
---

Coming Soon...

Then Add the doc id to /website/sidebars.json in a desired place to include a link in the sidebar. You need to restart the local app to reflext the sidebar.json changes.

[Cntr] + C to kill the app and yarn start to restart the local server.

Other than that, refer to Create Pages in the Docusaurus Docs.

About

Next Dapp Docs

https://warashibe.github.io/next-dapp/

License:MIT License


Languages

Language:JavaScript 91.2%Language:CSS 8.0%Language:Dockerfile 0.8%