Skip to content

Commit 5d79bc2

Browse files
authored
Made the Welcome chapter the starting page. (#6)
1 parent 808852d commit 5d79bc2

File tree

4 files changed

+8
-72
lines changed

4 files changed

+8
-72
lines changed

docs/welcome.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
---
2+
slug: /
3+
title: Welcome
24
sidebar_position: 1
35
---
46

5-
# Welcome
7+
![CosmWasm](/img/cosmwasm.svg)
8+
9+
# Welcome to CosmWasm
610

711
The [x/wasm] module, the root of CosmWasm, is a [Cosmos SDK] module enabling smart contracts
812
to execute on the CosmWasm virtual machine. CosmWasm itself refers to the whole ecosystem

docusaurus.config.ts

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import rehypeKatex from 'rehype-katex';
77
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
88

99
const config: Config = {
10-
title: 'CosmWasm',
10+
title: 'CosmWasm Docs',
1111
favicon: 'img/cosmwasm-small.svg',
1212

1313
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
@@ -42,7 +42,7 @@ const config: Config = {
4242
'classic',
4343
{
4444
docs: {
45-
path: 'docs',
45+
routeBasePath: '/',
4646
sidebarPath: './sidebars.ts',
4747
remarkPlugins: [remarkMath],
4848
rehypePlugins: [rehypeKatex],
@@ -62,18 +62,12 @@ const config: Config = {
6262
respectPrefersColorScheme: true,
6363
},
6464
navbar: {
65-
title: 'CosmWasm',
65+
title: 'CosmWasm Docs',
6666
logo: {
6767
alt: 'CosmWasm Logo',
6868
src: 'img/cosmwasm-small.svg',
6969
},
7070
items: [
71-
{
72-
type: 'docSidebar',
73-
sidebarId: 'tutorialSidebar',
74-
position: 'left',
75-
label: 'Docs',
76-
},
7771
{
7872
href: 'https://github.com/CosmWasm',
7973
label: 'GitHub',
@@ -84,12 +78,7 @@ const config: Config = {
8478
footer: {
8579
links: [
8680
{
87-
title: 'CosmWasm',
8881
items: [
89-
{
90-
label: 'Docs',
91-
to: '/docs/welcome',
92-
},
9382
{
9483
label: 'GitHub',
9584
href: 'https://github.com/CosmWasm',

src/pages/index.module.css

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/pages/index.tsx

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)