|
| 1 | +import {withMermaid} from "vitepress-plugin-mermaid"; |
| 2 | + |
| 3 | +export default withMermaid({ |
| 4 | + lang: 'en-US', |
| 5 | + base: '/', |
| 6 | + title: "CosmWasm Docs", |
| 7 | + description: "User guide for CosmWasm smart contract developers", |
| 8 | + head: [['link', {rel: 'icon', href: '/cosmwasm-small.svg'}]], |
| 9 | + lastUpdated: true, |
| 10 | + themeConfig: { |
| 11 | + logo: '/cosmwasm-small.svg', |
| 12 | + nav: [ |
| 13 | + { |
| 14 | + text: 'Chapters', items: [ |
| 15 | + {text: 'Welcome', link: '/guide/welcome'}, |
| 16 | + { |
| 17 | + text: 'CosmWasm Core', |
| 18 | + items: [ |
| 19 | + {text: 'Introduction', link: '/guide/cosmwasm-core/introduction'}, |
| 20 | + {text: 'Installation', link: '/guide/cosmwasm-core/installation'}, |
| 21 | + {text: 'Entrypoints', link: '/guide/cosmwasm-core/entrypoints/entrypoints'}, |
| 22 | + {text: 'Architecture', link: '/guide/cosmwasm-core/architecture/architecture'}, |
| 23 | + {text: 'Conventions', collapsed: true, link: '/guide/cosmwasm-core/conventions/conventions'} |
| 24 | + ] |
| 25 | + }] |
| 26 | + }, |
| 27 | + ], |
| 28 | + sidebar: [ |
| 29 | + {text: 'Welcome', link: '/guide/welcome'}, |
| 30 | + { |
| 31 | + text: 'CosmWasm Core', collapsed: true, |
| 32 | + items: [ |
| 33 | + {text: 'Introduction', link: '/guide/cosmwasm-core/introduction'}, |
| 34 | + {text: 'Installation', link: '/guide/cosmwasm-core/installation'}, |
| 35 | + { |
| 36 | + text: 'Entrypoints', collapsed: true, link: '/guide/cosmwasm-core/entrypoints/entrypoints', |
| 37 | + items: [ |
| 38 | + {text: 'Instantiate', link: '/guide/cosmwasm-core/entrypoints/instantiate'}, |
| 39 | + {text: 'Execute', link: '/guide/cosmwasm-core/entrypoints/execute'}, |
| 40 | + {text: 'Query', link: '/guide/cosmwasm-core/entrypoints/query'}, |
| 41 | + {text: 'Migrate', link: '/guide/cosmwasm-core/entrypoints/migrate'}, |
| 42 | + {text: 'Sudo', link: '/guide/cosmwasm-core/entrypoints/sudo'}, |
| 43 | + {text: 'Reply', link: '/guide/cosmwasm-core/entrypoints/reply'}, |
| 44 | + ] |
| 45 | + }, |
| 46 | + { |
| 47 | + text: 'Architecture', collapsed: true, link: '/guide/cosmwasm-core/architecture/architecture', |
| 48 | + items: [ |
| 49 | + {text: 'Semantics', link: '/guide/cosmwasm-core/architecture/semantics'}, |
| 50 | + {text: 'Actor model', link: '/guide/cosmwasm-core/architecture/actor-model'}, |
| 51 | + {text: 'Events', link: '/guide/cosmwasm-core/architecture/events'}, |
| 52 | + {text: 'Gas', link: '/guide/cosmwasm-core/architecture/gas'}, |
| 53 | + {text: 'Pinning', link: '/guide/cosmwasm-core/architecture/pinning'}, |
| 54 | + {text: 'Transactions', link: '/guide/cosmwasm-core/architecture/transactions'}, |
| 55 | + ] |
| 56 | + }, |
| 57 | + { |
| 58 | + text: 'Conventions', collapsed: true, link: '/guide/cosmwasm-core/conventions/conventions', |
| 59 | + items: [ |
| 60 | + {text: 'Library feature', link: '/guide/cosmwasm-core/conventions/library-feature'}, |
| 61 | + {text: 'Enum dispatch', link: '/guide/cosmwasm-core/conventions/enum-dispatch'}, |
| 62 | + ] |
| 63 | + }, |
| 64 | + ] |
| 65 | + }, |
| 66 | + ], |
| 67 | + search: { |
| 68 | + provider: 'local' |
| 69 | + } |
| 70 | + }, |
| 71 | + mermaid: {}, |
| 72 | + markdown: { |
| 73 | + math: true |
| 74 | + }, |
| 75 | + srcDir: "pages" |
| 76 | +}) |
0 commit comments