diff --git a/docs/antora.yml b/docs/antora.yml index 9aa50d9e2..c85c95834 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -5,4 +5,4 @@ nav: - modules/ROOT/nav.adoc asciidoc: attributes: - page-sidebar-collapse-default: 'Access Control,Accounts,Introspection,Security,ERC20,ERC721,Upgrades' + page-sidebar-collapse-default: 'Access,Accounts,Introspection,Security,ERC20,ERC721,Upgrades' diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index e8d57eb5d..9b50ee3e6 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -11,7 +11,7 @@ * Modules -** xref:access.adoc[Access Control] +** xref:access.adoc[Access] *** xref:/api/access.adoc[API Reference] ** xref:accounts.adoc[Accounts] diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 4994ffa6d..cf85d08b5 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -4,7 +4,8 @@ = Contracts for Cairo -*A library for secure smart contract development* written in Cairo for {starknet}, a decentralized ZK Rollup. +*A library for secure smart contract development* written in Cairo for {starknet}. This library consists of a set of xref:components.adoc[reusable components] to build custom smart contracts, as well as +ready-to-deploy xref:presets.adoc[presets]. You can also find other xref:utilities.adoc[utilities] including xref:interfaces.adoc[interfaces and dispatchers]. WARNING: This repo contains highly experimental code. Expect rapid iteration. *Use at your own risk.* @@ -63,7 +64,7 @@ WARNING: Make sure the tag matches the target release. == Basic usage -This is how it looks to build an ERC20 contract using the xref:erc20.adoc[ERC20] module. +This is how it looks to build an ERC20 contract using the xref:erc20.adoc[ERC20 component]. Copy the code into `src/lib.cairo`. [,javascript] diff --git a/docs/modules/ROOT/pages/wizard.adoc b/docs/modules/ROOT/pages/wizard.adoc index d086e7ac2..faaa21b15 100644 --- a/docs/modules/ROOT/pages/wizard.adoc +++ b/docs/modules/ROOT/pages/wizard.adoc @@ -1,4 +1,4 @@ -= Cairo Contracts Wizard += Wizard for Cairo :page-notoc: Not sure where to start? Use the interactive generator below to bootstrap your