-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #275 from 2u841r/bn
- Loading branch information
Showing
46 changed files
with
2,546 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const languageIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"/></svg>' | ||
|
||
export default [ | ||
{ | ||
title: 'নির্দেশনা', | ||
to: '/guide/introduction/', | ||
}, { | ||
title: 'রেফারেন্স', | ||
to: '/reference/vite-plugin/', | ||
}, | ||
{ | ||
icon: languageIcon, | ||
items: [ | ||
{ | ||
title: 'বাংলা', | ||
to: 'https://bn.sveltepress.site/', | ||
external: true, | ||
}, | ||
], | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export default { | ||
scope: '/', | ||
base: '/', | ||
strategies: 'injectManifest', | ||
kit: { | ||
trailingSlash: 'always', | ||
}, | ||
darkManifest: '/manifest-dark.webmanifest', | ||
manifest: { | ||
start_url: '/', | ||
scope: '/', | ||
name: 'Sveltepress', | ||
short_name: 'Sveltepress', | ||
icons: [ | ||
{ | ||
src: '/android-chrome-192x192.png', | ||
sizes: '192x192', | ||
type: 'image/png', | ||
}, | ||
{ | ||
src: '/android-chrome-512x512.png', | ||
sizes: '512x512', | ||
type: 'image/png', | ||
}, | ||
], | ||
theme_color: '#f2f2f2', | ||
background_color: '#f2f2f2', | ||
display: 'standalone', | ||
}, | ||
} as any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
export default { | ||
'/guide/': [ | ||
{ | ||
title: 'পরিচিতি', | ||
collapsible: true, | ||
items: [ | ||
{ | ||
title: 'Svelte কী?', | ||
to: '/guide/introduction/', | ||
}, | ||
{ | ||
title: 'দ্রুত শুরু', | ||
to: '/guide/quick-start/', | ||
}, | ||
{ | ||
title: 'থিম', | ||
to: '/guide/themes/', | ||
}, | ||
{ | ||
title: 'Typescript ব্যবহার', | ||
to: '/guide/typescript/', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Markdown এর ফিচারসমূহ', | ||
items: [ | ||
{ | ||
title: 'হাতেখড়ি', | ||
to: '/guide/markdown/basic-writing/', | ||
}, | ||
{ | ||
title: 'Frontmatter', | ||
to: '/guide/markdown/frontmatter/', | ||
}, | ||
{ | ||
title: 'Markdown এ Svelte', | ||
to: '/guide/markdown/svelte-in-markdown/', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'ডিফল্ট থিমের ফিচারসমূহ', | ||
collapsible: true, | ||
items: [ | ||
{ | ||
title: 'Frontmatter', | ||
to: '/guide/default-theme/frontmatter/', | ||
}, | ||
{ | ||
title: 'ন্যাভবার', | ||
to: '/guide/default-theme/navbar/', | ||
}, | ||
{ | ||
title: 'সাইডবার', | ||
to: '/guide/default-theme/sidebar/', | ||
}, | ||
{ | ||
title: 'হোমপেজ', | ||
to: '/guide/default-theme/home-page/', | ||
}, | ||
{ | ||
title: 'বিল্ট-ইন কম্পোনেন্ট', | ||
to: '/guide/default-theme/builtin-components/', | ||
}, | ||
{ | ||
title: 'হেডিংস এবং অ্যাঙ্কর', | ||
to: '/guide/default-theme/headings-and-anchors/', | ||
}, | ||
{ | ||
title: 'অ্যাডমনিশন', | ||
to: '/guide/default-theme/admonitions/', | ||
}, | ||
{ | ||
title: 'কোড সম্পর্কিত', | ||
to: '/guide/default-theme/code-related/', | ||
}, | ||
{ | ||
title: 'Twoslash', | ||
to: '/guide/default-theme/twoslash/', | ||
}, | ||
{ | ||
title: 'Unocss', | ||
to: '/guide/default-theme/unocss/', | ||
}, | ||
{ | ||
title: 'Docsearch', | ||
to: '/guide/default-theme/docsearch/', | ||
}, | ||
{ | ||
title: 'PWA', | ||
to: '/guide/default-theme/pwa/', | ||
}, | ||
{ | ||
title: 'Google Analytics', | ||
to: '/guide/default-theme/google-analytics/', | ||
}, | ||
], | ||
}, | ||
], | ||
'/reference/': [{ | ||
title: 'রেফারেন্স', | ||
items: [ | ||
{ | ||
title: 'Vite প্লাগিন', | ||
to: '/reference/vite-plugin/', | ||
}, { | ||
title: 'ডিফল্ট থিম', | ||
to: '/reference/default-theme/', | ||
}, | ||
], | ||
}], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "@sveltepress/docs-site", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"build:vercel": "cd ../vite && pnpm build && cd ../theme-default && pnpm build && cd ../docs-site && pnpm build", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" | ||
}, | ||
"devDependencies": { | ||
"@sveltejs/adapter-static": "^3.0.1", | ||
"@sveltejs/kit": "^2.5.1", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.2", | ||
"@sveltepress/theme-default": "workspace:*", | ||
"@sveltepress/twoslash": "workspace:*", | ||
"@sveltepress/vite": "workspace:*", | ||
"@types/node": "^20.11.20", | ||
"svelte": "^4.2.12", | ||
"svelte-check": "^3.6.4", | ||
"vite": "^5.1.4", | ||
"workbox-window": "^7.0.0" | ||
}, | ||
"type": "module", | ||
"license": "MIT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/// <reference types="@sveltepress/theme-default/types" /> | ||
/// <reference types="@sveltepress/vite/types" /> | ||
/// <reference types="vite-plugin-pwa/client" /> | ||
|
||
// See https://kit.svelte.dev/docs/types#app | ||
// for information about these interfaces | ||
// and what to do when importing types | ||
declare namespace App { | ||
// interface Error {} | ||
// interface Locals {} | ||
// interface PageData {} | ||
// interface Platform {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:title" content="Sveltepress"> | ||
<meta property="og:url" content="https://sveltepress.site"> | ||
<meta property="og:description" content="A simple, easy to use, content centered site build tool with the full power of Sveltekit"> | ||
<meta property="og:image" content="https://sveltepress.site/android-chrome-512x512.png" /> | ||
<meta property="og:image:width" content="512"> | ||
<meta property="og:image:height" content="512"> | ||
<link rel="icon" href="%sveltekit.assets%/sveltepress.svg" type="image/svg+xml" /> | ||
<link rel="alternate icon" href="/favicon.ico" /> | ||
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> | ||
<link rel="mask-icon" href="/sveltepress.svg" color="#ffffff"> | ||
<meta name="msapplication-TileColor" content="#ffffff"> | ||
<link rel="shortcut icon" type="image/png" href="/android-chrome-192x192.png"> | ||
%sveltekit.head% | ||
</head> | ||
<body data-sveltekit-preload-data="hover"> | ||
<div style="display: contents">%sveltekit.body%</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<slot /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export const prerender = true | ||
export const trailingSlash = 'always' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: একটি কন্টেন্ট-কেন্দ্রিক সাইট বিল্ড টুল | ||
description: Sveltekit-এর সম্পূর্ণ শক্তিসহ একটি জটিলতামুক্ত, সহজে ব্যবহারযোগ্য, কন্টেন্ট-কেন্দ্রিক সাইট বিল্ড টুল। | ||
heroImage: /android-chrome-192x192.png | ||
tagline: Sveltekit-এর সম্পূর্ণ শক্তিসহ একটি জটিলতামুক্ত, সহজে ব্যবহারযোগ্য, কন্টেন্ট-কেন্দ্রিক সাইট বিল্ড টুল। | ||
actions: | ||
- label: ডক্স পড়ুন | ||
to: /guide/introduction/ | ||
type: primary | ||
- label: গিটহাবে দেখুন | ||
type: flat | ||
to: https://github.com/Blackman99/sveltepress | ||
external: true | ||
features: | ||
- title: Markdown কেন্দ্রিক | ||
description: যা ন্যূনতম কনফিগারেশন দিয়ে লেখা শুরু করতে সাহায্য করে। | ||
icon: | ||
type: iconify | ||
collection: vscode-icons | ||
name: file-type-markdown | ||
link: /guide/markdown/frontmatter/ | ||
- title: Sveltekit দিয়ে তৈরি | ||
description: Sveltekit এর সম্পূর্ণ শক্তি অক্ষুণ্ণ আছে, যাতে SSG এর চেয়ে বেশি কিছু করা যায়। | ||
icon: | ||
type: iconify | ||
collection: logos | ||
name: svelte-kit | ||
- title: Markdown এ Svelte | ||
description: মার্কডাউনে নির্দ্বিধায় Svelte (3 এবং 4) এর ব্যবহার অসীম সম্ভাবনার দুয়ার খুলে দেয়। | ||
icon: | ||
type: iconify | ||
collection: vscode-icons | ||
name: file-type-svelte | ||
link: /guide/markdown/svelte-in-markdown/ | ||
- title: টাইপ-বান্ধব | ||
description: সমস্ত API পুরোপুরি টাইপস্ক্রিপ্ট দিয়ে টাইপ করা হয়েছে। | ||
icon: | ||
type: iconify | ||
collection: logos | ||
name: typescript-icon | ||
- title: থিম কাস্টমাইজযোগ্য | ||
description: নির্দ্বিধায় ডিফল্ট থিম, কমিউনিটি থিম বা আপনার নিজের বানানো থিম ব্যবহার করুন। | ||
icon: | ||
type: iconify | ||
collection: emojione | ||
name: artist-palette | ||
--- |
87 changes: 87 additions & 0 deletions
87
packages/docs-site-bn/src/routes/guide/default-theme/admonitions/+page.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
title: অ্যাডমনিশন | ||
--- | ||
|
||
## গ্রামার | ||
|
||
এই ফিচারটি [remark-directive](https://github.com/remarkjs/remark-directive) সমন্বয় করেছে। | ||
|
||
:::important[Icon pre-build required]{icon=tabler:icons} | ||
এই iconify আইকনটি [প্রি-বিল্ড iconify আইকন কনফিগ](/reference/default-theme/#preBuildIconifyIcons) এ থাকতে হবে। | ||
::: | ||
|
||
```md | ||
:::tip|info|note|warning|important|caution[Title]{icon=icon-collection:icon-name} | ||
Some admonition content | ||
::: | ||
``` | ||
|
||
## টিপ | ||
|
||
```md live | ||
:::tip[টিপ টাইটেল] | ||
টিপের বর্ণনা | ||
::: | ||
|
||
:::tip[কাস্টম আইকনযুক্ত টিপ]{icon=ph:smiley} | ||
টিপের বর্ণনা | ||
::: | ||
``` | ||
|
||
## ইনফো | ||
|
||
```md live | ||
:::info[ইনফোর শিরোনাম] | ||
বিস্তারিত বর্ণনা | ||
::: | ||
|
||
:::info[কাস্টম আইকনযুক্ত ইনফোর শিরোনাম]{icon=ph:smiley} | ||
বিস্তারিত বর্ণনা | ||
::: | ||
``` | ||
|
||
## নোট | ||
|
||
```md live | ||
:::note[নোট টাইটেল] | ||
নোটের বিস্তারিত | ||
::: | ||
|
||
:::note[কাস্টম আইকনযুক্ত নোট টাইটেল]{icon=ph:smiley} | ||
নোটের বিস্তারিত | ||
::: | ||
``` | ||
|
||
## ওয়ার্নিং | ||
|
||
```md live | ||
:::warning[ওয়ার্নিং শিরোনাম] | ||
সতর্কতার বর্ণনা | ||
::: | ||
|
||
:::warning[কাস্টম আইকনযুক্ত ওয়ার্নিং শিরোনাম]{icon=ph:smiley} | ||
সতর্কতার বর্ণনা | ||
::: | ||
``` | ||
## ইমপর্ট্যান্ট | ||
|
||
```md live | ||
:::important[ইমপর্ট্যান্ট শিরোনাম] | ||
কিছু গুরুত্বপূর্ণ তথ্য | ||
::: | ||
|
||
:::important[কাস্টম আইকনযুক্ত ইমপর্ট্যান্ট শিরোনাম]{icon=ph:smiley} | ||
কিছু গুরুত্বপূর্ণ তথ্য | ||
::: | ||
``` | ||
|
||
## সতর্কতা | ||
```md live | ||
:::caution[সতর্কতার শিরোনাম] | ||
সতর্কতার বিষয়বস্তু | ||
::: | ||
|
||
:::caution[কাস্টম আইকনযুক্ত সতর্কতার শিরোনাম]{icon=ph:smiley} | ||
সতর্কতার বিষয়বস্তু | ||
::: | ||
``` |
Oops, something went wrong.