Add DOC for devicemotion

This commit is contained in:
nkymut 2024-12-17 17:28:53 +08:00
parent f33ec0e2af
commit a5b05d211e
5 changed files with 99 additions and 16 deletions

View file

@ -84,6 +84,7 @@ export const SIDEBAR: Sidebar = {
{ text: 'Music metadata', link: 'learn/metadata' },
{ text: 'CSound', link: 'learn/csound' },
{ text: 'Hydra', link: 'learn/hydra' },
{ text: 'Device Motion', link: 'learn/devicemotion' },
],
'Pattern Functions': [
{ text: 'Introduction', link: 'functions/intro' },

View file

@ -0,0 +1,10 @@
---
title: Device Motion
layout: ../../layouts/MainLayout.astro
---
import { MiniRepl } from '../../docs/MiniRepl';
import { JsDoc } from '../../docs/JsDoc';
import DeviceMotion from '../../../../packages/motion/docs/devicemotion.mdx';
<DeviceMotion />