Skip to content

Commit

Permalink
docs: Update to Docusaurus 3.6.1 (#3293)
Browse files Browse the repository at this point in the history
* docs: Add Vercel analytics

* fix: Pin docs to 3.4.0

* Update docs packages in one go

* Upgrade to docusaurus 3.5.0

* Update to docusaurus 3.6.1
  • Loading branch information
mrousavy authored Nov 13, 2024
1 parent 4f2c6da commit 82bdbb6
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 18 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,27 @@ updates:
interval: "daily"
labels:
- "🛠 dependencies"

- package-ecosystem: "gradle"
directory: "/package/android/"
schedule:
interval: "daily"
labels:
- "🛠 dependencies"
- "🤖 android"

- package-ecosystem: "npm"
directories:
- "/docs/"
schedule:
interval: "daily"
labels:
- "🛠 dependencies"
groups:
docusaurus:
patterns:
- "@docusaurus/*"

# - package-ecosystem: "npm"
# directory: "/package/"
# schedule:
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ module.exports = {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
plugins: [
['vercel-analytics', { }],
],
themeConfig: {
/**
* @type {import('@docusaurus/theme-mermaid').ThemeConfig['mermaid']}
Expand Down
30 changes: 15 additions & 15 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-google-gtag": "^3.4.0",
"@docusaurus/plugin-sitemap": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-mermaid": "^3.4.0",
"@mdx-js/react": "^3.0.1",
"@vercel/analytics": "^1.3.1",
"@docusaurus/core": "3.6.1",
"@docusaurus/plugin-google-gtag": "3.6.1",
"@docusaurus/plugin-sitemap": "3.6.1",
"@docusaurus/plugin-vercel-analytics": "3.6.1",
"@docusaurus/preset-classic": "3.6.1",
"@docusaurus/theme-mermaid": "3.6.1",
"@mdx-js/react": "^3.1.0",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.3.1",
"prism-react-renderer": "^2.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.4.0",
"@docusaurus/tsconfig": "^3.4.0",
"@docusaurus/types": "^3.4.0",
"@types/react": "^18.2.29",
"docusaurus-plugin-typedoc": "^0.22.0",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"@docusaurus/module-type-aliases": "3.6.1",
"@docusaurus/tsconfig": "3.6.1",
"@docusaurus/types": "3.6.1",
"@types/react": "^18.3.12",
"docusaurus-plugin-typedoc": "^1.0.5",
"typedoc": "^0.26.11",
"typedoc-plugin-markdown": "^4.2.10",
"typescript": "^5.4.5"
},
"engines": {
Expand Down
3 changes: 0 additions & 3 deletions docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Link from '@docusaurus/Link'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
import useBaseUrl from '@docusaurus/useBaseUrl'
import styles from './styles.module.css'
import { Analytics } from '@vercel/analytics/react'

const features = [
{
Expand Down Expand Up @@ -87,8 +86,6 @@ function Home() {
</div>
</section>
)}

<Analytics />
</main>
</Layout>
)
Expand Down

0 comments on commit 82bdbb6

Please sign in to comment.