Skip to content

Commit

Permalink
add ur language support
Browse files Browse the repository at this point in the history
  • Loading branch information
AsharibAli committed Feb 20, 2024
1 parent 5181b99 commit e3f7c8d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ async function createConfig() {
"de",
"uk",
"id",
"ur",
],
localeConfigs: {
'zh-tw': {
label: '繁體中文',
direction: 'ltr',
"zh-tw": {
label: "繁體中文",
direction: "ltr",
},
},
},
scripts: [
{
src:
"https://tag.clearbitscripts.com/v1/pk_5621ff511ea83a6ec015bee0a0b5dd79/tags.js",
src: "https://tag.clearbitscripts.com/v1/pk_5621ff511ea83a6ec015bee0a0b5dd79/tags.js",
async: true,
},
],
Expand Down Expand Up @@ -79,11 +79,14 @@ async function createConfig() {
},
};
},
["posthog-docusaurus", {
apiKey: process.env.POSTHOG_API_KEY || "DEV",
appUrl: "https://app.posthog.com", // optional
enableInDevelopment: false, // optional
}],
[
"posthog-docusaurus",
{
apiKey: process.env.POSTHOG_API_KEY || "DEV",
appUrl: "https://app.posthog.com", // optional
enableInDevelopment: false, // optional
},
],
],

presets: [
Expand Down Expand Up @@ -151,8 +154,7 @@ async function createConfig() {
async: true,
},
{
href:
"https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",
href: "https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",
async: true,
},
],
Expand Down

0 comments on commit e3f7c8d

Please sign in to comment.