GithubHelp home page GithubHelp logo

trezor-suite-guide's Introduction

Guide for writers

How to write

Contents of this GitBook are packaged into Suite by a custom script that is based on a few assumptions about structure of the content.

Groups are for locales

We support localization of the content by having a group for each locale. The groups should be named by corresponding ISO 639-1 2-letter code.

Localised variants of a single page are paired by the slugs which can be set in the "three dot" menu of each page. For nested pages the slugs must match on all levels.

For example, if you want to write a czech translation for english page with slug bitcoin that is under a page with slug coins you must create a group named cs containing a page with slug coins containing a page with slug bitcoin. Only then it will be recognised as a translation of the english page. The title and the content can be altered freely.

English is the canonical version

English locale defines the content structure. All other locales can only provide translations of english pages but they can't define their own pages.

This means that any non-enlgish page that doesn't have a slug matching slug of some english page won't be displayed in Suite.

Categories can't hold content

Categories are pages that have sub-pages. We do not allow categories to hold content on their own. Categories only serve to organise the conent which must be put in leaf pages -- that is pages without children.

Not all types of rich content are supported

As of now only these elements are supported:

How to publish

The contents of this GitBook are packaged with each release of Suite applicaiton. The version is controlled from within Suite's codebase. To propagate your latest changes to the next relase ask Suite dev team to update the GB_REVISION configuration constant in the suite-data package.

trezor-suite-guide's People

Contributors

alex-jerechinsky avatar b-irving avatar chuumba avatar gitbook-bot avatar goodhoko avatar prusnak avatar tondoshi avatar tsusanka avatar

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.