Skip to content

Commit 2b98c03

Browse files
committed
chore: update PlayCanvas React documentation links
Updated the banner in the layout to direct users to the new documentation site and added a warning in the index file indicating the move of the PlayCanvas React docs.
1 parent d201f3b commit 2b98c03

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/docs/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export default async function RootLayout({ children }: { children: React.ReactNo
5555
</Head>
5656
<body>
5757
<Layout
58-
banner={<Banner storageKey="0.10.0-release"><a href="https://github.com/playcanvas/react/releases/tag/@playcanvas/react@0.10.0" target="_blank" rel="noreferrer">
59-
🎉 <b>@playcanvas/react 0.10.0</b> is here! ✨
58+
banner={<Banner storageKey="0.10.0-release"><a href="https://developer.playcanvas.com/user-manual/playcanvas-react/" target="_blank" rel="noreferrer">
59+
📚 <b>@playcanvas/react Docs</b> has a new home!
6060
</a></Banner>}
6161
navbar={navbar}
6262
footer={<Footer>

packages/docs/content/docs/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ import { Terminal, ArrowRight, Hexagon, Box, Codesandbox } from 'lucide-react'
1515
import Example from '@templates/HomePageExample'
1616
import Image from 'next/image'
1717

18+
:::warning
19+
The PlayCanvas React docs have moved to [developer.playcanvas.com/user-manual/playcanvas-react/](https://developer.playcanvas.com/user-manual/playcanvas-react/). This documentation is no longer being updated.
20+
:::
21+
1822
<h1 className='text-4xl font-bold mt-8 mb-4'>
1923
PlayCanvas React
2024
</h1>

0 commit comments

Comments
 (0)