Skip to content

Commit

Permalink
Change to pnpm and update some things
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Jan 14, 2023
1 parent bc258be commit c891e2b
Show file tree
Hide file tree
Showing 7 changed files with 1,772 additions and 5,922 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ bin/
*.DS_Store

node_modules
.temp
.cache
docs/.vuepress/.temp
docs/.vuepress/.cache
docs/.vuepress/dist
23 changes: 18 additions & 5 deletions docs/.vuepress/config.js → docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {defaultTheme} from 'vuepress'
import {backToTopPlugin} from "@vuepress/plugin-back-to-top";
import {defaultTheme, defineUserConfig} from "vuepress";

module.exports = {
export default defineUserConfig({
base: '/',
lang: 'en-US',
title: 'HyacinthBots',
Expand Down Expand Up @@ -32,7 +33,15 @@ module.exports = {
},
{
text: 'Bots',
children: ['/bots/lily.md', '/bots/watchdog.md']
children: [
{
text: "Lily",
link: '/bots/lily.md'
},
{
text: "Watchdog",
link: '/bots/watchdog.md'
}]
}
],
sidebar: [
Expand Down Expand Up @@ -72,5 +81,9 @@ module.exports = {
}
]
}
)
}
),

plugins: [
backToTopPlugin()
]
})
10 changes: 4 additions & 6 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
--sidebar-width-mobile: calc(var(--sidebar-width) * 0.82);
--content-width: 740px;
--homepage-width: 960px;

--back-to-top-z-index: 5;
--back-to-top-color: var(--c-brand);
--back-to-top-color-hover: var(--c-brand-light);
}


Expand Down Expand Up @@ -108,9 +112,3 @@ html.dark { // General dark mode configuration
// code blocks vars
--code-hl-bg-color: #363b46;
}

// plugin-back-to-top
.back-to-top {
--back-to-top-color: var(--c-brand);
--back-to-top-color-hover: var(--c-brand-light);
}
Loading

0 comments on commit c891e2b

Please sign in to comment.