Next Dapp Alpha

Next Dapp Alpha

  • Tutorial
  • Plugins
  • API
  • Github

›Tutorial

Tutorial

  • Quick Start
  • Plugins
  • Building Plugins
  • Todo App Example
  • Wallet App Example
  • DFINITY Example
  • How to Contribute to Docs
  • Troubleshooting
  • Updates

How to Contribute to 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 to Next Dapp Docs

  1. fork the next-dapp-docs repo at https://github.com/warashibe/next-dapp-docs/

  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.

← DFINITY ExampleTroubleshooting →
  • How to contribute to Next Dapp Docs
  • How to add new pages
Next Dapp Alpha
Docs
Quick StartPluginsTodo App ExampleDFINITY ExampleAPI ReferenceTroubleshootingUpdates
Community
Discord
Contributors
More
BlogBit PluginsGitHubStar
Copyright © 2021 Warashibe, Inc.