Skip to content

Commit 672d3cd

Browse files
authored
Merge pull request #1 from iExecBlockchainComputing/migration
feat: migrate existing content from old doc, add placeholder pages based on new architecture
2 parents 6f63854 + d992b4e commit 672d3cd

File tree

158 files changed

+17455
-1321
lines changed

Some content is hidden

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

158 files changed

+17455
-1321
lines changed

.vitepress/config.mts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import { transformerTwoslash } from '@shikijs/vitepress-twoslash';
22
import tailwindcss from '@tailwindcss/vite';
33
import { defineConfig } from 'vitepress';
4+
import { getSidebar } from './sidebar';
5+
import {
6+
groupIconMdPlugin,
7+
groupIconVitePlugin,
8+
} from 'vitepress-plugin-group-icons';
49

510
// https://vitepress.dev/reference/site-config
611
export default defineConfig({
@@ -11,10 +16,14 @@ export default defineConfig({
1116
lastUpdated: true,
1217
ignoreDeadLinks: true,
1318
vite: {
14-
plugins: [tailwindcss()],
19+
plugins: [tailwindcss(), groupIconVitePlugin()],
1520
},
21+
srcDir: './src',
1622
markdown: {
1723
codeTransformers: [transformerTwoslash()],
24+
config(md) {
25+
md.use(groupIconMdPlugin);
26+
},
1827
},
1928

2029
head: [
@@ -75,26 +84,17 @@ export default defineConfig({
7584
themeConfig: {
7685
// https://vitepress.dev/reference/default-theme-config
7786
nav: [
78-
{ text: 'Home', link: '/' },
79-
{
80-
text: 'Markdown Examples',
81-
link: '/markdown-examples',
82-
},
87+
{ text: 'Overview', link: '/overview/welcome' },
88+
{ text: 'Protect Data', link: '/manage-data/what-is-protected-data' },
89+
{ text: 'Build iApp', link: '/build-iapp/what-is-iapp' },
90+
{ text: 'Use iApp', link: '/use-iapp/introduction' },
91+
{ text: 'Core Concept', link: '/core-concept/glossary' },
8392
],
8493
outline: {
8594
level: [2, 3],
8695
},
8796

88-
sidebar: [
89-
{
90-
text: 'Home',
91-
link: '/index',
92-
},
93-
{
94-
text: 'Markdown Examples',
95-
link: '/markdown-examples',
96-
},
97-
],
97+
sidebar: getSidebar(),
9898

9999
search: {
100100
provider: 'local',

0 commit comments

Comments
 (0)