Skip to content

Commit 0937aee

Browse files
committed
Restructure docs
1 parent 24fe251 commit 0937aee

17 files changed

+66
-36
lines changed

docs/.vuepress/config.js

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
module.exports = {
2+
title: 'Vuex-ORM GraphQL Plugin',
3+
description: 'Vue + Vuex-ORM + GraphQL = <3',
4+
5+
base: '/plugin-graphql/',
6+
7+
themeConfig: {
8+
logo: '/logo-vuex-orm.png',
9+
10+
repo: 'https://github.com/vuex-orm/plugin-graphql',
11+
docsDir: 'docs',
12+
docsBranch: 'master',
13+
editLinks: true,
14+
15+
markdown: {
16+
lineNumbers: true
17+
},
18+
19+
nav: [
20+
{ text: 'Home', link: '/' },
21+
{ text: 'Guide', link: '/guide/' },
22+
{ text: 'Vuex-ORM', link: 'https://vuex-orm.github.io/vuex-orm/' },
23+
{ text: 'GitHub', link: 'https://github.com/vuex-orm/plugin-graphql' },
24+
],
25+
26+
sidebar: [
27+
['/guide/', 'Introduction'],
28+
29+
{
30+
title: 'Basics',
31+
collapsable: false,
32+
children: [
33+
'/guide/setup',
34+
'/guide/graphql',
35+
'/guide/fetch',
36+
'/guide/persist',
37+
'/guide/push',
38+
'/guide/destroy',
39+
'/guide/relationships',
40+
]
41+
},
42+
43+
{
44+
title: 'Advanced Topics',
45+
collapsable: false,
46+
children: [
47+
'/guide/connection-mode',
48+
'/guide/custom-queries',
49+
'/guide/eager-loading',
50+
'/guide/virtual-fields',
51+
'/guide/meta-fields',
52+
'/guide/testing',
53+
]
54+
},
55+
56+
{
57+
title: 'Meta',
58+
collapsable: false,
59+
children: [
60+
'/guide/faq',
61+
'/guide/contribution',
62+
]
63+
},
64+
],
65+
},
66+
};

docs/.vuepress/config.yml

-36
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)