-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deploy web-test to pages * fix: workflow syntax * fix: workflow syntax * fix: rename * fix: action * fix * fix * fix for upstream * setup doc generation * test deploy in pr * remove pr trigger * fix lint
- Loading branch information
Showing
12 changed files
with
1,776 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,3 +129,9 @@ preview/ | |
|
||
lib | ||
.parcel-cache | ||
|
||
# api-extractor output folder | ||
docs-src | ||
|
||
# vitepress cache | ||
.vitepress/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: 'Chopsticks (WIP)', | ||
description: 'Chopsticks Types Documentation', | ||
// Required for api-extractor markdown (https://github.com/vuejs/vitepress/pull/664) | ||
markdown: { attrs: { disable: true } }, | ||
base: '/docs/', | ||
srcDir: 'docs-src', | ||
outDir: 'dist/docs', | ||
rewrites: { | ||
'chopsticks/:file': ':file', | ||
'core/:file': ':file', | ||
}, | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [{ text: 'Home', link: '/' }], | ||
sidebar: [ | ||
{ | ||
text: 'Packages', | ||
items: [ | ||
{ text: 'Chopsticks', link: '/chopsticks.html' }, | ||
{ text: 'Core', link: '/chopsticks-core.html' }, | ||
], | ||
}, | ||
], | ||
socialLinks: [{ icon: 'github', link: 'https://github.com/AcalaNetwork/chopsticks' }], | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.