Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SEO tags and upgrade to Docusaurus 2.3 #3249

Merged
merged 2 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docuilib/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
metadata: [
{name: 'title', content: 'React Native UI Lib'},

{
name: 'keywords',
content: 'design system, react native, react, mobile, web, ui library, components library'
},
{
name: 'description',
content:
'A comprehensive design system for react native with rich components library, supports dark mode, RTL and accessibility features.'
},
{name: 'robots', content: 'index, follow'}
],
algolia: {
// If Algolia did not provide you any appId, use 'BH4D9OD16A'
appId: 'BWQFOHCCF3',
Expand Down
6 changes: 3 additions & 3 deletions docuilib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.6",
"@docusaurus/preset-classic": "2.0.0-beta.6",
"@docusaurus/core": "2.3",
"@docusaurus/preset-classic": "2.3",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"classnames": "^2.3.1",
Expand All @@ -29,7 +29,7 @@
"url-loader": "^4.1.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.6",
"@docusaurus/module-type-aliases": "2.3",
"@tsconfig/docusaurus": "^1.0.4",
"@types/react": "^17.0.14",
"@types/react-helmet": "^6.1.2",
Expand Down
4 changes: 2 additions & 2 deletions docuilib/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const componentsCategories = {
media: 'Media',
lists: 'Lists',
form: 'Form',
dateTime: 'Date & Time',
// dateTime: 'Date & Time',
overlays: 'Overlays',
charts: 'Charts',
// charts: 'Charts',
incubator: 'Incubator',
infra: 'Infra'
};
Expand Down