Giter Site home page Giter Site logo

goodrain / rainbond-docs Goto Github PK

View Code? Open in Web Editor NEW
42.0 12.0 99.0 203.32 MB

Rainbond user documentation

Home Page: https://www.rainbond.com/docs

CSS 5.85% JavaScript 52.21% Dockerfile 0.02% SCSS 3.05% TypeScript 34.77% Shell 0.24% MDX 3.86%
rainbond rainbond-documentation rainbond-environment

rainbond-docs's Introduction

Rainbond Document

Rainbond Document, Contains all documents for Rainbond 5.x.

This website uses Docusaurus 2 framework.

How to develop?

Prepare

Development Environment Requirements:

Install

if yarn install Very slow,You can try configuring the Domestic Registry.

$ yarn config set registry https://registry.npmmirror.com

initialization

$ git clone https://github.com/goodrain/rainbond-docs.git
$ cd rainbond-docs
$ yarn install

Local Start

$ yarn start

will automatically open in the browser http://localhost:3000/

Local production test starts

Use the following command to simulate a production test launch locally

$ yarn serve --build .

Contribution

Older versions of documentation are no longer maintained, Only the Current version is maintained.

Fork Rainbond-docs, Modify the document and submit it to your own repository, submit Pull Request to Rainbond-docs

Typesetting requirements

  • There must be spaces to distinguish between Chinese and English.

  • Rainbond, R must be uppercase.

  • The title is best is 1 2 3 4.

  • The name of the title should be clear at a glance

  • The imported image format is as follows

    ![API](https://grstatic.oss-cn-shanghai.aliyuncs.com/images/5.1/images/api.png)
    <!-- can also be used  -->
    <img src="https://grstatic.oss-cn-shanghai.aliyuncs.com/images/5.1/images/api.png" width="100%" title="API" />
  • The citation format for the link is as follows

    1. Links within the referenced document, Ref docusaurus doc
    2. Referring to external links must include http or https
    [Rainbond](https://www.rainbond.com)
    
    <!-- can also be used  -->
    <a href="https://www.rainbond.com" target="_blank" />
  • The video format is as follows

    import Bvideo from "@site/src/components/Bvideo";
    <Bvideo src="//player.bilibili.com/player.html?aid=550933549&bvid=BV1Vq4y1w7FQ&cid=492223110&page=1"/>
  • Code block usage reference Docusaurus Code block

  • User notice please use Docusaurus notice

Add Markdown file

If you need to add files, Add to the corresponding directory in the docs/ directory, And fill in the new file names in order in sidebars.js, Ref Docusaurus Sidebar

Translation

Chinese translation to English, in the i18n/en/docusaurus-plugin-content-docs/current directory, Create files consistent with the ones in the docs directory.

For example: translate docs/quick-install/quick-install.mdx ,in the i18n/en/docusaurus-plugin-content-docs/current Create the same file in the same directory i18n/en/docusaurus-plugin-content-docs/current/quick-install/quick-install.mdx

Local Multilingual Start

$ yarn start -- --locale en 

The default is Chinese. After starting the English version, it will be automatically opened in the browser http://localhost:3000/en

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.