Skip to content

Commit

Permalink
feat: Update language to Japanese in Vitepress config
Browse files Browse the repository at this point in the history
This commit updates the Vitepress config file to set the language to Japanese (ja-JP). This change will ensure that the API documentation is displayed in the correct language for Japanese users.
  • Loading branch information
tako0614 committed Jul 30, 2024
1 parent bdb455c commit 1cfa590
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defineConfig } from "vitepress";
export default defineConfig({
title: "takos api document",
description: "takosのapiのドキュメントです",
lang: "ja-JP",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand All @@ -26,6 +27,7 @@ export default defineConfig({
{
text: "Protocol",
link: "/server/protocol",
collapsed: false,
items: [
{ text: "pubkey", link: "/server/protocol/pubkey" },
{ text: "info", link: "/server/protocol/info" },
Expand All @@ -35,6 +37,7 @@ export default defineConfig({
{
text: "Activity",
link: "/server/activity",
collapsed: false,
items: [
{
text: "acceptFriendReqest",
Expand All @@ -52,6 +55,7 @@ export default defineConfig({
{
text: "users",
link: "/client/users",
collapsed: false,
items: [
{ text: "icon", link: "/client/users/icon" },
{ text: "userName", link: "/client/users/userName" },
Expand All @@ -61,6 +65,7 @@ export default defineConfig({
{
text: "profile",
link: "/client/profile",
collapsed: false,
items: [
{ text: "icon", link: "/client/profile/icon" },
{ text: "userName", link: "/client/profile/userName" },
Expand All @@ -72,6 +77,7 @@ export default defineConfig({
{
text: "sessions",
link: "/client/sessions",
collapsed: false,
items: [
{ text: "login", link: "/client/sessions/login" },
{ text: "logout", link: "/client/sessions/logout" },
Expand All @@ -81,6 +87,7 @@ export default defineConfig({
{
text: "friends",
link: "/client/friends",
collapsed: false,
items: [
{ text: "request", link: "/client/friends/request" },
{ text: "accept", link: "/client/friends/accept" },
Expand All @@ -92,6 +99,7 @@ export default defineConfig({
{
text: "room",
link: "/client/room",
collapsed: false,
items: [
{ "text": "create", link: "/client/room/create" },
{ "text": "delete", link: "/client/room/delete" },
Expand All @@ -104,6 +112,7 @@ export default defineConfig({
{
text: "community",
link: "/client/community",
collapsed: false,
items: [
{ "text": "create", link: "/client/community/create" },
{ "text": "delete", link: "/client/community/delete" },
Expand All @@ -117,6 +126,7 @@ export default defineConfig({
{
text: "chat",
link: "/client/chat",
collapsed: false,
items: [
{ "text": "text", link: "/client/chat/text" },
{ "text": "image", link: "/client/chat/image" },
Expand All @@ -132,6 +142,7 @@ export default defineConfig({
{
text: "blcok",
link: "/client/block",
collapsed: false,
items: [
{ text: "user", link: "/client/block/user" },
{ text: "room", link: "/client/block/room" },
Expand All @@ -143,6 +154,7 @@ export default defineConfig({
{
text: "othres",
link: "/client/othres",
collapsed: false,
items: [
{ text: "bgimage", link: "/client/othres/bgimage" },
{ text: "chart", link: "/client/othres/chart" },
Expand Down

0 comments on commit 1cfa590

Please sign in to comment.