Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Omico committed Jun 17, 2024
1 parent fae1f40 commit 097e987
Show file tree
Hide file tree
Showing 6 changed files with 1,481 additions and 1,731 deletions.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/.idea
/node_modules
5 changes: 4 additions & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import {viteBundler} from "@vuepress/bundler-vite"
import {backToTopPlugin} from "@vuepress/plugin-back-to-top"
import {gitPlugin} from "@vuepress/plugin-git"
import {defaultTheme, defineUserConfig} from "vuepress"
import {defaultTheme} from "@vuepress/theme-default"
import {defineUserConfig} from "vuepress"
import {sidebar_en_us, sidebar_zh_hans} from "./configs"

export default defineUserConfig(
{
bundler: viteBundler(),
locales: {
"/": {
lang: "en-US",
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/configs/sidebar/en-US.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {SidebarConfig} from "@vuepress/theme-default"
import type {SidebarOptions} from "@vuepress/theme-default"

export const sidebar_en_us: SidebarConfig = {
export const sidebar_en_us: SidebarOptions = {
"/": [
{
text: "Guide",
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/configs/sidebar/zh-Hans.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {SidebarConfig} from "@vuepress/theme-default"
import type {SidebarOptions} from "@vuepress/theme-default"

export const sidebar_zh_hans: SidebarConfig = {
export const sidebar_zh_hans: SidebarOptions = {
"/zh-Hans/": [
{
text: "指南",
Expand Down
Loading

0 comments on commit 097e987

Please sign in to comment.