Skip to content

Commit

Permalink
Update to Vuepress 2 RC
Browse files Browse the repository at this point in the history
  • Loading branch information
jviide committed Aug 8, 2024
1 parent 1c5fa1d commit 3257f32
Show file tree
Hide file tree
Showing 6 changed files with 2,663 additions and 14,516 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,10 @@ typings/

# Mac
.DS_Store

# VuePress default temp directory
docs/.vuepress/.temp
# VuePress default cache directory
docs/.vuepress/.cache
# VuePress default build output directory
docs/.vuepress/dist
49 changes: 26 additions & 23 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
module.exports = {
host: process.env.HOST || "localhost",
port: process.env.PORT || 8080,
title: "Badrap docs",
locales: {
"/": {
lang: "en-US",
description: "Badrap documentation site",
},
"/fi/": {
lang: "fi",
description: "Badrapin dokumentaatiosivusto",
},
},
themeConfig: {
import { viteBundler } from '@vuepress/bundler-vite'
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress'

module.exports = defineUserConfig({
bundler: viteBundler(),
theme: defaultTheme({
logo: "/badrap-logo.png",
sidebar: "auto",
docsRepo: "badrap/docs.badrap.io",
docsDir: "docs",
docsBranch: "main",
editLinks: true,
nav: [
contributors: false,
editLink: true,
navbar: [
{
text: "badrap.io",
link: "https://badrap.io",
},
],
locales: {
"/": {
selectText: "Languages",
label: "English",
selectLanguageName: "English",
selectLanguageText: "Languages",
editLinkText: "Edit this page on GitHub",
},
"/fi/": {
selectText: "Kielet",
label: "Suomi",
selectLanguageName: "Suomi",
selectLanguageText: "Kielet",
editLinkText: "Muokkaa tätä sivua GitHubissa",
},
}
}),
title: "Badrap docs",
locales: {
"/": {
lang: "en-US",
description: "Badrap documentation site",
},
"/fi/": {
lang: "fi",
description: "Badrapin dokumentaatiosivusto",
},
},
};
});
16 changes: 0 additions & 16 deletions docs/.vuepress/styles/index.styl

This file was deleted.

Empty file removed docs/.vuepress/styles/palette.styl
Empty file.
Loading

0 comments on commit 3257f32

Please sign in to comment.