diff --git a/apps/docs/docs/index.mdx b/apps/docs/docs/index.mdx index 4846381..bb1fdd8 100644 --- a/apps/docs/docs/index.mdx +++ b/apps/docs/docs/index.mdx @@ -68,4 +68,4 @@ In this demo, there are several features working together: - [theme prop](/fundamentals/customization.mdx#theme-prop) - [bottom-sheet integration](/fundamentals/usage#bottom-sheet) - infinite scroll -- [localization](/fundamentals/usage#localization) +- [localization](/fundamentals/usage#localization-and-date-formatting) diff --git a/apps/docs/docusaurus.config.ts b/apps/docs/docusaurus.config.ts index 18ce022..f8bda6a 100644 --- a/apps/docs/docusaurus.config.ts +++ b/apps/docs/docusaurus.config.ts @@ -2,24 +2,13 @@ import { themes as prismThemes } from "prism-react-renderer"; import type { Config } from "@docusaurus/types"; import type * as Preset from "@docusaurus/preset-classic"; -const npm2Yarn = [ - require("@docusaurus/remark-plugin-npm2yarn"), - { - sync: true, - converters: [ - ["bun", (code) => code.replace(/npm/g, "bun")], - ["yarn", (code) => code.replace(/npm/g, "yarn")], - ], - }, -]; - const config: Config = { title: "Flash Calendar", tagline: "The fastest calendar component for React Native", favicon: "img/favicon.ico", // Set the production url of your site here - url: "https://your-docusaurus-site.example.com", + url: "https://marceloprado.github.io", // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: "/flash-calendar/", @@ -59,8 +48,12 @@ const config: Config = { plugins: ["@docusaurus/plugin-ideal-image"], themeConfig: { - // Replace with your project's social card - image: "img/docusaurus-social-card.jpg", + algolia: { + appId: "XZ9MYUH844", + apiKey: "f23abd1fe4bf9bf91c59d7ccd526269d", + indexName: "marcelopradoio", + }, + image: "img/social-card.png", navbar: { title: "Flash Calendar", logo: { diff --git a/apps/docs/package.json b/apps/docs/package.json index d05412a..f63f001 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -29,7 +29,6 @@ }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.4.0", - "@docusaurus/remark-plugin-npm2yarn": "^3.4.0", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", "@marceloterreiro/eslint-config": "*", diff --git a/apps/docs/static/img/social-card.png b/apps/docs/static/img/social-card.png new file mode 100644 index 0000000..83f0d0b Binary files /dev/null and b/apps/docs/static/img/social-card.png differ diff --git a/bun.lockb b/bun.lockb index 28caf8c..0e7b96b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 0ae96b5..977f2a1 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "kitchen-sink:expo": "cd kitchen-sink/expo && bun run ios", "lint": "turbo lint", "typecheck": "turbo typecheck", - "publish-packages": "turbo build lint test typecheck --filter flash-calendar && changeset version && changeset publish", + "publish-packages": "turbo build lint test typecheck --filter @marceloterreiro/flash-calendar && changeset version && changeset publish", "test": "turbo test", "postinstall": "manypkg check" },