Add reference pages to docs sidebar, change titles to include description like python

This commit is contained in:
John David Pressman 2020-02-15 00:14:46 -08:00
parent fddda1a0a2
commit ee4d62be46
8 changed files with 17 additions and 9 deletions

View File

@ -1,6 +1,6 @@
--- ---
id: big-map-reference id: big-map-reference
title: Big Map title: Big Map — Scalable hashmap primitive
--- ---
## Defining A Big Map Type ## Defining A Big Map Type

View File

@ -1,6 +1,6 @@
--- ---
id: bytes-reference id: bytes-reference
title: Bytes title: Bytes — Manipulate bytes data
--- ---
## Bytes.concat(b1: bytes, b2: bytes) : bytes ## Bytes.concat(b1: bytes, b2: bytes) : bytes

View File

@ -1,6 +1,6 @@
--- ---
id: crypto-reference id: crypto-reference
title: Crypto title: Crypto — Cryptographic functions
--- ---
## Crypto.blake2b(data: bytes): bytes ## Crypto.blake2b(data: bytes): bytes

View File

@ -1,6 +1,6 @@
--- ---
id: list-reference id: list-reference
title: List title: List — Ordered collection of a type
--- ---
## List.size(lst: a' list) : nat ## List.size(lst: a' list) : nat

View File

@ -1,6 +1,6 @@
--- ---
id: map-reference id: map-reference
title: Map title: Map — Hashmaps that it makes sense to iterate over
--- ---
## Defining A Map Type ## Defining A Map Type

View File

@ -1,6 +1,6 @@
--- ---
id: set-reference id: set-reference
title: Set title: Set — Unordered unique collection of a type
--- ---
## Defining a set ## Defining a set

View File

@ -1,6 +1,6 @@
--- ---
id: string-reference id: string-reference
title: String title: String — Manipulate string data
--- ---
## String.size(s: string) : nat ## String.size(s: string) : nat

View File

@ -20,9 +20,17 @@
"advanced/include", "advanced/include",
"advanced/first-contract" "advanced/first-contract"
], ],
"API": [ "API & Reference": [
"api/cli-commands", "api/cli-commands",
"api/cheat-sheet" "api/cheat-sheet",
"reference/big-map-reference",
"reference/bytes-reference",
"reference/crypto-reference",
"reference/current-reference",
"reference/list-reference",
"reference/map-reference",
"reference/set-reference",
"reference/string-reference"
] ]
}, },
"contributors-docs": { "contributors-docs": {