superfluid-finance / docs-v2

https://docs-v2-omega.vercel.app
0 stars 4 forks source link

Technical Docs for the Superfluid Protocol

Welcome to the official technical documentation of Superfluid, the protocol layer for real-time finance on the blockchain. Our documentation is designed to provide you with comprehensive guides, tutorials, and reference materials to help you understand and integrate Superfluid into your smart contracts and applications.

Superfluid Finance Documentation

This web application contains all documentation for Superfluid Finance products. It is built using Docusaurus 3, a modern static website generator.

Project Layout

Superfluid Finance documentation is organized into four main sections:

Superfluid is a protocol that revolves around Super Tokens and their primitives Money Streaming and Distributions. In the Protocol page, each one of these concepts have three items:

Adding Documentation

Overview

A product overview should cover aspects such as:

Guides

Ideally, guides should adhere to the Principles of a Good Guide:

Contributing to Superfluid Docs

Thank you for considering contributing to the Superfluid Finance documentation! Your efforts help make our documentation clearer, more comprehensive, and more accessible to everyone. Follow these guidelines to ensure your contributions can be smoothly integrated.

Creating a Pull Request

  1. Fork the repository.
  2. Clone your fork to your local machine and switch to a new branch for your contribution. Ensure your branch is up-to-date with the main branch of the original repo.
  3. Make your changes, commit them, and push the branch to your fork.
  4. Navigate to the original Superfluid Finance documentation repository in your web browser and initiate a new pull request.
  5. Provide a clear and descriptive title for the pull request, and summarize your changes in the description. If your changes are related to an existing issue, reference it by including the issue number (e.g., #123).
  6. Apply any relevant labels to your pull request, such as "documentation", "bugfix", or "enhancement".

Standard Flow for Setting Up a Fork

To set up your fork for contributing, you can use the following commands or modify them to fit your setup:

cd docs-v2
git remote add upstream https://github.com/superfluid-finance/docs-v2.git
git fetch upstream
git pull --rebase upstream main
git checkout -b "feature/my-awesome-docs-update"

Ways to Contribute

There are many ways to contribute to the Superfluid documentation, including but not limited to:

  1. Identify and Improve Confusing Content: If you come across documentation that is confusing, unclear, or misleading, we welcome pull requests that clarify and improve the presentation of these topics.

  2. Adhere to the Style Guide: We aim for a consistent and accessible writing style across our documentation. Please refer to the Google Developer Documentation Style Guide for general guidelines. Look for opportunities to use an active voice and first-person where appropriate.

  3. Write an Example Guide: If built something using Superfluid, you are welcome to contribute to our documentation by adding a guide to illustrate your example.

Your contributions, whether big or small, are greatly appreciated and help make Superfluid's documentation a valuable resource for the community.

Run Locally

Installation

yarn install

Local Development

yarn run start

This command starts a local development server and opens a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

Generates static content into the build directory for hosting on any static content hosting service.

Deployment

The application is automatically deployed to production on Vercel upon merge into master.