Skip to content

Commit

Permalink
Merge pull request #4 from Web3-Club/wssh
Browse files Browse the repository at this point in the history
Finsih SUMMARY
  • Loading branch information
wangshouh committed Apr 24, 2023
2 parents 37128f0 + 8ee6293 commit 8372393
Show file tree
Hide file tree
Showing 35 changed files with 97 additions and 0 deletions.
63 changes: 63 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,66 @@
[前言](ch00-01-foreword.md)
[介绍](ch00-00-introduction.md)

## 入门

- [入门](ch01-00-getting-started.md)

- [安装](ch01-01-installation.md)
- [Hello, World!](ch01-02-hello-world.md)
- [Hello, Scarb!](ch01-03-hello-scarb.md)

## 通用编程概念

- [通用编程概念](ch02-00-common-programming-concepts.md)
- [变量和可变性](ch02-01-variables-and-mutability.md)
- [数据类型](ch02-02-data-types.md)
- [函数](ch02-03-functions.md)
- [注释](ch02-04-comments.md)
- [控制流](ch02-05-control-flow.md)
- [常见集合](ch02-06-common-collections.md)

## 认识所有权

- [认识所有权](ch03-00-understanding-ownership.md)
- [什么是所有权?](ch03-01-what-is-ownership.md)
- [借用和快照](ch03-02-references-and-snapshots.md)

## 使用结构体组织相关联的数据

- [使用结构体组织相关联的数据](ch04-00-using-structs-to-structure-related-data.md)
- [定义并实例化结构体](ch04-01-defining-and-instantiating-structs.md)
- [一个使用结构体的示例程序](ch04-02-an-example-program-using-structs.md)
- [方法](ch04-03-method-syntax.md)

## 枚举和模式匹配

- [枚举和模式匹配](ch05-00-enums-and-pattern-matching.md)
- [枚举](ch05-01-enums.md)
- [控制流运算符 match](ch05-02-the-match-control-flow-construct.md)

## 使用包、单元包和模块管理 Cairo 项目

- [使用包、单元包和模块管理 Cairo 项目](ch06-00-managing-cairo-projects-with-packages-crates-and-modules.md)

- [包和单元包](ch06-01-packages-and-crates.md)

- [通过定义模块来控制作用域及私有性](ch06-02-defining-modules-to-control-scope.md)
- [用于在模块树中指明条目的路径](ch06-03-paths-for-referring-to-an-item-in-the-module-tree.md)
- [`use` 关键词将路径导入作用域](ch06-04-bringing-paths-into-scope-with-the-use-keyword.md)

## 泛型

- [泛型](ch07-00-generic-types.md)

- [泛型函数](ch07-01-generic-data-types.md)
- [Traits](ch07-02-traits-in-cairo.md)

## 测试 Cairo 程序

- [测试 Cairo 程序](ch08-00-testing-cairo-programs.md)

- [如何编写测试](ch08-01-how-to-write-tests.md)
- [测试的组织结构](ch08-02-test-organization.md)

- [附录](appendix-00.md)
- [A - 开发工具](appendix-04-useful-development-tools.md)
1 change: 1 addition & 0 deletions src/appendix-00.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 附录
1 change: 1 addition & 0 deletions src/appendix-04-useful-development-tools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# A - 开发工具
1 change: 1 addition & 0 deletions src/ch01-00-getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 入门
1 change: 1 addition & 0 deletions src/ch01-01-installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 安装
1 change: 1 addition & 0 deletions src/ch01-02-hello-world.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Hello, World!
1 change: 1 addition & 0 deletions src/ch01-03-hello-scarb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Hello, Scarb!
1 change: 1 addition & 0 deletions src/ch02-00-common-programming-concepts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Common Programming Concepts
1 change: 1 addition & 0 deletions src/ch02-01-variables-and-mutability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Variables and Mutability
1 change: 1 addition & 0 deletions src/ch02-02-data-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Data Types
1 change: 1 addition & 0 deletions src/ch02-03-functions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Functions
1 change: 1 addition & 0 deletions src/ch02-04-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Comments
1 change: 1 addition & 0 deletions src/ch02-05-control-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Control Flow
1 change: 1 addition & 0 deletions src/ch02-06-common-collections.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Common Collections
1 change: 1 addition & 0 deletions src/ch03-00-understanding-ownership.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Understanding Ownership
1 change: 1 addition & 0 deletions src/ch03-01-what-is-ownership.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# What is Ownership?
1 change: 1 addition & 0 deletions src/ch03-02-references-and-snapshots.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# References and Snapshots
1 change: 1 addition & 0 deletions src/ch04-00-using-structs-to-structure-related-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Using Structs to Structure Related Data
1 change: 1 addition & 0 deletions src/ch04-01-defining-and-instantiating-structs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Defining and Instantiating Structs
1 change: 1 addition & 0 deletions src/ch04-02-an-example-program-using-structs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# An Example Program Using Structs
1 change: 1 addition & 0 deletions src/ch04-03-method-syntax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Method Syntax
1 change: 1 addition & 0 deletions src/ch05-00-enums-and-pattern-matching.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Enums and Pattern Matching
1 change: 1 addition & 0 deletions src/ch05-01-enums.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Enums
1 change: 1 addition & 0 deletions src/ch05-02-the-match-control-flow-construct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# The Match Control Flow Construct
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Managing Cairo Projects with Packages, Crates and Modules
1 change: 1 addition & 0 deletions src/ch06-01-packages-and-crates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Packages and Crates
1 change: 1 addition & 0 deletions src/ch06-02-defining-modules-to-control-scope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Defining Modules to Control Scope
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Paths for Referring to an Item in the Module Tree
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Bringing Paths into Scope with the use Keyword
1 change: 1 addition & 0 deletions src/ch07-00-generic-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Generic Types
1 change: 1 addition & 0 deletions src/ch07-01-generic-data-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Generic Functions
1 change: 1 addition & 0 deletions src/ch07-02-traits-in-cairo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Traits in Cairo
1 change: 1 addition & 0 deletions src/ch08-00-testing-cairo-programs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Testing Cairo Programs
1 change: 1 addition & 0 deletions src/ch08-01-how-to-write-tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# How To Write Tests
1 change: 1 addition & 0 deletions src/ch08-02-test-organization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Testing Organization

0 comments on commit 8372393

Please sign in to comment.