Skip to content

Latest commit

 

History

History
143 lines (94 loc) · 3.5 KB

CONTRIBUTING.md

File metadata and controls

143 lines (94 loc) · 3.5 KB

Contributing to Gnosis

Thank you for your interest in contributing!

Run the project

Prerequisites

Node.js version 14.13 or higher.

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.

Contents

  • Docs are located in the docs directory.
  • Landing pages are located in the src/pages directory.
  • Images and static files are located in the static directory.
  • The left side-bar of the page is controlled by sidebars.js.
  • Docusaurus complete documentation can be found here.

Submit an Issue

Start by searching if an issue already exists. If a related issue doesn't exist, you can open a new issue following the instructions of the template accordingly.

Issues are categorized by type:

  • Feature
  • Content
  • Bug

Creating Pull Requests

For help, see GitHub Docs: Linking a pull request to an issue using a keyword.

  • Submit a PR against the main branch of the gnosischain/documentation repo
  • Follow the PR template instructions carefuly

Writing style

We selected a collection of best practices from the industry to make the website easy to read, global, diverse and searchable

Transfering Gitbook Pages

When transfering documents from the old gitbook, consider the funcionality difference detailed below, and the following:

  • Relevance and validity of the content
  • xdaichain was renamed to gnosis
  • Open Ethereum was deprecated
  • Nifty Wallet deprecation
  • Internal and external links

Images location

Gitbook

/.gitbook/assets/

Docusaurus

/static/img/

Alerts

Gitbook

{% hint style="info" %}
Message
{% endhint %}

Docusaurus

:::info
Message
:::

Refer to docusaurus docs for more admonition types.

Files

Gitbook

{% file src="somepath/somefile.zip" %}

Docusaurus

{@file: /somefile.zip}

Place files in /static/files/

Youtube Videos

Gitbook

{% embed url="https://www.youtube.com/watch?v=yPYYKz0u9K0t=10s" %}

Docusaurus

{@youtube: yPYYKz0u9K0t,start=10}

Tabs

Refer to docusaurus docs for details on tabs.

Useful Tools