Skip to content

Commit

Permalink
Upgrade deps and fix broken sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsayan committed Jul 13, 2021
1 parent 6bf6ade commit ef45d92
Show file tree
Hide file tree
Showing 4 changed files with 183 additions and 196 deletions.
100 changes: 44 additions & 56 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,85 +1,86 @@
module.exports = {
title: 'Skytable Documentation',
tagline: "This is the place where you'll learn to use, install, configure and master Skytable",
url: 'https://docs.skytable.io',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'skytable', // Usually your GitHub org/user name.
projectName: 'docs', // Usually your repo name.
title: "Skytable Documentation",
tagline:
"This is the place where you'll learn to use, install, configure and master Skytable",
url: "https://docs.skytable.io",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "skytable",
projectName: "docs",
themeConfig: {
navbar: {
title: 'Skytable Documentation',
title: "Skytable Documentation",
logo: {
alt: 'Skytable Logo',
src: 'img/logo.png',
alt: "Skytable Logo",
src: "img/logo.png",
},
items: [
{
href: 'https://github.com/skytable/docs',
label: 'GitHub',
position: 'right',
href: "https://github.com/skytable/docs",
label: "GitHub",
position: "right",
},
// {
// href: '/versions',
// label: 'Versions',
// position: 'right'
// },
{
type: 'docsVersionDropdown',
position: 'left',
}
type: "docsVersionDropdown",
position: "left",
},
],
},
footer: {
style: 'dark',
style: "dark",
links: [
{
title: 'Links',
title: "Links",
items: [
{
label: 'Docs',
to: '/',
label: "Docs",
to: "/",
},
{
label: 'Security Advisories',
to: 'https://skytable.github.io/security',
label: "Security Advisories",
to: "https://skytable.github.io/security",
},
{
label: 'Releases',
to: 'https://github.com/skytable/skytable/releases'
}
label: "Releases",
to: "https://github.com/skytable/skytable/releases",
},
],
},
{
title: 'Community',
title: "Community",
items: [
{
label: 'Gitter',
href: 'https://gitter.im/skytable/community',
label: "Gitter",
href: "https://gitter.im/skytable/community",
},
{
label: 'Discord',
href: 'https://discord.gg/QptWFdx',
label: "Discord",
href: "https://discord.gg/QptWFdx",
},
{
label: 'Twitter',
href: 'https://twitter.com/skytabledb',
label: "Twitter",
href: "https://twitter.com/skytabledb",
},
],
},
{
title: 'Sources',
title: "Sources",
items: [
{
label: 'Core database',
href: 'https://github.com/skytable/skytable',
label: "Core database",
href: "https://github.com/skytable/skytable",
},
{
label: 'Documentation',
href: 'https://github.com/skytable/docs',
}
label: "Documentation",
href: "https://github.com/skytable/docs",
},
],
},
],
Expand All @@ -88,28 +89,15 @@ module.exports = {
},
presets: [
[
'@docusaurus/preset-classic',
"@docusaurus/preset-classic",
{
docs: {
routeBasePath: "/",
sidebarPath: require.resolve('./sidebars.auto.js'),
sidebarPath: require.resolve("./sidebars.auto.js"),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
customCss: require.resolve("./src/css/custom.css"),
},
// docs: {
// "routeBasePath" : '/',
// "lastVersion": "current",
// "versions": {
// "current": {
// "label": "0.6.0",
// }
// }
// }
// pages: {
// 'path' : 'src/pages',
// 'routeBasePath' : '/',
// }
},
],
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.2",
"@docusaurus/preset-classic": "^2.0.0-beta.2",
"@docusaurus/core": "^2.0.0-beta.3",
"@docusaurus/preset-classic": "^2.0.0-beta.3",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"docusaurus-plugin-auto-sidebars": "^1.0.7",
Expand Down
1 change: 0 additions & 1 deletion sidebars.auto.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

module.exports = {
docs: [
"index",
Expand Down
Loading

0 comments on commit ef45d92

Please sign in to comment.