Skip to content

Commit ef45d92

Browse files
committed
Upgrade deps and fix broken sidebar
1 parent 6bf6ade commit ef45d92

File tree

4 files changed

+183
-196
lines changed

4 files changed

+183
-196
lines changed

docusaurus.config.js

Lines changed: 44 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,86 @@
11
module.exports = {
2-
title: 'Skytable Documentation',
3-
tagline: "This is the place where you'll learn to use, install, configure and master Skytable",
4-
url: 'https://docs.skytable.io',
5-
baseUrl: '/',
6-
onBrokenLinks: 'throw',
7-
onBrokenMarkdownLinks: 'warn',
8-
favicon: 'img/favicon.ico',
9-
organizationName: 'skytable', // Usually your GitHub org/user name.
10-
projectName: 'docs', // Usually your repo name.
2+
title: "Skytable Documentation",
3+
tagline:
4+
"This is the place where you'll learn to use, install, configure and master Skytable",
5+
url: "https://docs.skytable.io",
6+
baseUrl: "/",
7+
onBrokenLinks: "throw",
8+
onBrokenMarkdownLinks: "warn",
9+
favicon: "img/favicon.ico",
10+
organizationName: "skytable",
11+
projectName: "docs",
1112
themeConfig: {
1213
navbar: {
13-
title: 'Skytable Documentation',
14+
title: "Skytable Documentation",
1415
logo: {
15-
alt: 'Skytable Logo',
16-
src: 'img/logo.png',
16+
alt: "Skytable Logo",
17+
src: "img/logo.png",
1718
},
1819
items: [
1920
{
20-
href: 'https://github.com/skytable/docs',
21-
label: 'GitHub',
22-
position: 'right',
21+
href: "https://github.com/skytable/docs",
22+
label: "GitHub",
23+
position: "right",
2324
},
2425
// {
2526
// href: '/versions',
2627
// label: 'Versions',
2728
// position: 'right'
2829
// },
2930
{
30-
type: 'docsVersionDropdown',
31-
position: 'left',
32-
}
31+
type: "docsVersionDropdown",
32+
position: "left",
33+
},
3334
],
3435
},
3536
footer: {
36-
style: 'dark',
37+
style: "dark",
3738
links: [
3839
{
39-
title: 'Links',
40+
title: "Links",
4041
items: [
4142
{
42-
label: 'Docs',
43-
to: '/',
43+
label: "Docs",
44+
to: "/",
4445
},
4546
{
46-
label: 'Security Advisories',
47-
to: 'https://skytable.github.io/security',
47+
label: "Security Advisories",
48+
to: "https://skytable.github.io/security",
4849
},
4950
{
50-
label: 'Releases',
51-
to: 'https://github.com/skytable/skytable/releases'
52-
}
51+
label: "Releases",
52+
to: "https://github.com/skytable/skytable/releases",
53+
},
5354
],
5455
},
5556
{
56-
title: 'Community',
57+
title: "Community",
5758
items: [
5859
{
59-
label: 'Gitter',
60-
href: 'https://gitter.im/skytable/community',
60+
label: "Gitter",
61+
href: "https://gitter.im/skytable/community",
6162
},
6263
{
63-
label: 'Discord',
64-
href: 'https://discord.gg/QptWFdx',
64+
label: "Discord",
65+
href: "https://discord.gg/QptWFdx",
6566
},
6667
{
67-
label: 'Twitter',
68-
href: 'https://twitter.com/skytabledb',
68+
label: "Twitter",
69+
href: "https://twitter.com/skytabledb",
6970
},
7071
],
7172
},
7273
{
73-
title: 'Sources',
74+
title: "Sources",
7475
items: [
7576
{
76-
label: 'Core database',
77-
href: 'https://github.com/skytable/skytable',
77+
label: "Core database",
78+
href: "https://github.com/skytable/skytable",
7879
},
7980
{
80-
label: 'Documentation',
81-
href: 'https://github.com/skytable/docs',
82-
}
81+
label: "Documentation",
82+
href: "https://github.com/skytable/docs",
83+
},
8384
],
8485
},
8586
],
@@ -88,28 +89,15 @@ module.exports = {
8889
},
8990
presets: [
9091
[
91-
'@docusaurus/preset-classic',
92+
"@docusaurus/preset-classic",
9293
{
9394
docs: {
9495
routeBasePath: "/",
95-
sidebarPath: require.resolve('./sidebars.auto.js'),
96+
sidebarPath: require.resolve("./sidebars.auto.js"),
9697
},
9798
theme: {
98-
customCss: require.resolve('./src/css/custom.css'),
99+
customCss: require.resolve("./src/css/custom.css"),
99100
},
100-
// docs: {
101-
// "routeBasePath" : '/',
102-
// "lastVersion": "current",
103-
// "versions": {
104-
// "current": {
105-
// "label": "0.6.0",
106-
// }
107-
// }
108-
// }
109-
// pages: {
110-
// 'path' : 'src/pages',
111-
// 'routeBasePath' : '/',
112-
// }
113101
},
114102
],
115103
],

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"clear": "docusaurus clear"
1313
},
1414
"dependencies": {
15-
"@docusaurus/core": "^2.0.0-beta.2",
16-
"@docusaurus/preset-classic": "^2.0.0-beta.2",
15+
"@docusaurus/core": "^2.0.0-beta.3",
16+
"@docusaurus/preset-classic": "^2.0.0-beta.3",
1717
"@mdx-js/react": "^1.6.21",
1818
"clsx": "^1.1.1",
1919
"docusaurus-plugin-auto-sidebars": "^1.0.7",

sidebars.auto.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
module.exports = {
32
docs: [
43
"index",

0 commit comments

Comments
 (0)