Skip to content

tetcore/tetcore-contracts-book

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetcore Contracts Book

This is the source repo to build "Tetcore Contracts Book".

Currently, everyone can access our book from here:

Install

This repo is build by vuepress

First you should install nodejs

The second step is to install dependencies

use npm

$ npm install

use yarn

$ npm i -g yarn
$ yarn install

Sidebar configuration

Sidebar config file is in src/.vuepress/config, sidebar-en.js is english, sidebar-zh.js is chinese

[
  {
    title: 'Group 1',   // Required
    path: '/introduction',      // Required, The path to jump
    collapsable: false, // Required, set it to false
    children: [
      '/contracts/overview',
      '/contracts/model',
      '/contracts/language',
      '/contracts/wasm_first_step'
    ]
  },
  {
    title: 'Group 2',   // Required
    path: '/foo/',      // Required, The path to jump
    collapsable: false, // Required, set it to false
    children: [
      '/ink/tutorial'
    ]
  }
]

Develop

$ yarn dev

Build

$ yarn build

Publish to gh-pages

use github-pages-deploy-action to deploy

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.7%
  • Stylus 4.3%