Skip to content

Commit

Permalink
Add turkish lang examples
Browse files Browse the repository at this point in the history
  • Loading branch information
efekurbann committed Sep 5, 2024
1 parent 80d5348 commit e4eafd5
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 32 deletions.
26 changes: 17 additions & 9 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ export default defineConfig({
site: "https://docs.thoxia.com",
integrations: [
starlight({
defaultLocale: "root",
locales: {
root: {
label: "English",
lang: "en",
},
tr: {
label: "Türkçe",
lang: "tr",
},
},
title: "THOXIA",
logo: {
src: "./src/assets/thoxia.webp",
Expand All @@ -18,18 +29,15 @@ export default defineConfig({
],
social: {
github: "https://github.com/Thoxia",
discord: "https://discord.gg/9vcAHQnZsg",
},
sidebar: [
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Example Guide", slug: "guides/example" },
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
label: "Welcome",
link: "/welcome",
translations: {
tr: "Hoş geldiniz!",
},
},
],
}),
Expand Down
11 changes: 0 additions & 11 deletions src/content/docs/guides/example.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hero:
file: ../../assets/thoxia.gif
actions:
- text: Read the docs!
link: /guides/example/
link: /welcome
icon: right-arrow
---

Expand Down
11 changes: 0 additions & 11 deletions src/content/docs/reference/example.md

This file was deleted.

9 changes: 9 additions & 0 deletions src/content/docs/tr/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Yardım sayfamıza hoş geldiniz!
description: Yardım sayfamız.
---

Yardım sayfamıza hoş geldiniz.<br>
Bu siteyi kullanarak, muhteşem ürünlerimiz hakkındaki en ufak detayları bile öğrenebilirsiniz.

Eğer hala aklına takılan bir soru varsa, [discord sunucumuza](https://discord.gg/thoxia) katılabilirsin!
9 changes: 9 additions & 0 deletions src/content/docs/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Welcome to the wiki!
description: Welcome page for our wiki.
---

Welcome to our wiki page.<br>
In this website, you can find every little detail about our amazing products.

If you still got questions, don't hesitate to join [our discord community](https://discord.gg/9vcAHQnZsg)!

0 comments on commit e4eafd5

Please sign in to comment.