Skip to content

Commit b08803a

Browse files
committed
Migrated to Docusaurus.
1 parent 84268ee commit b08803a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+19019
-3772
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Deploy
33
on:
44
# Runs on pushes targeting the `main` branch.
55
push:
6-
branches: [main]
6+
branches:
7+
- main
78

89
# Allows to run this workflow manually from the Actions tab.
910
workflow_dispatch:
@@ -24,13 +25,13 @@ jobs:
2425

2526
# Build job
2627
build:
27-
runs-on: ubuntu-latest
2828
name: Build
29+
runs-on: ubuntu-latest
2930
steps:
3031
- name: Checkout
3132
uses: actions/checkout@v5
3233
with:
33-
fetch-depth: 0 # Not needed if lastUpdated is not enabled
34+
fetch-depth: 0
3435

3536
- name: Setup Node
3637
uses: actions/setup-node@v5
@@ -44,22 +45,23 @@ jobs:
4445
- name: Install dependencies
4546
run: npm ci
4647

47-
- name: Build with VitePress
48-
run: npm run docs:build
48+
- name: Build website
49+
run: npm run build
4950

50-
- name: Upload artifact
51+
- name: Upload built artifact
5152
uses: actions/upload-pages-artifact@v3
5253
with:
53-
path: .vitepress/dist
54+
path: build
5455

5556
# Deployment job
5657
deploy:
58+
name: Deploy
59+
runs-on: ubuntu-latest
60+
needs: build
5761
environment:
5862
name: github-pages
5963
url: ${{ steps.deployment.outputs.page_url }}
60-
needs: build
61-
runs-on: ubuntu-latest
62-
name: Deploy
64+
6365
steps:
6466
- name: Deploy to GitHub Pages
6567
id: deployment

.gitignore

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
node_modules
2-
.idea/
3-
.vitepress/dist
4-
.vitepress/cache
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*
21+
22+
/.idea

.vitepress/config.mts

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

.vitepress/theme/components/ChapterLabel.vue

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

.vitepress/theme/components/SectionLabel.vue

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

.vitepress/theme/index.ts

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

.vitepress/theme/style.css

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

Taskfile.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ tasks:
77
clean:
88
desc: Clean artifacts
99
cmds:
10-
- cmd: rm -rf .vitepress/cache
11-
- cmd: rm -rf .vitepress/dist
10+
- cmd: rm -rf .docusaurus
11+
- cmd: rm -rf build
1212

1313
serve:
1414
desc: Start server locally
1515
cmds:
1616
- task: clean
17-
- cmd: npm run docs:dev
17+
- cmd: npm run start
1818

1919
build:
2020
desc: Build documentation
2121
cmds:
2222
- task: clean
23-
- cmd: npm run docs:build
23+
- cmd: npm run build
2424

2525
preview:
2626
desc: Preview documentation
2727
cmds:
2828
- task: clean
29-
- cmd: npm run docs:build
30-
- cmd: npm run docs:preview
29+
- cmd: npm run build
30+
- cmd: npm run serve

docs/core/_category_.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "CosmWasm Core",
3+
"position": 2,
4+
"link": {
5+
"type": "doc",
6+
"id": "introduction"
7+
}
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"label": "Architecture",
3+
"position": 3
4+
}

0 commit comments

Comments
 (0)