Skip to content

Commit

Permalink
📝 [docs] Move the playground link to navibar
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-liu committed Dec 29, 2023
1 parent 1e53109 commit 427e59f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ title: ${rules[0].description}
${jsCode}
\`\`\`
Copy and edit the above code in [the online editor](https://stackblitz.com/github/evan-liu/karabiner.ts/tree/main/editor?embed=1&file=rules.js&hideExplorer=1&hideNavigation=1&terminalHeight=20&title=karabiner.ts%20editor),
or copy the below JSON and [add to Karabiner-Elements](https://karabiner-elements.pqrs.org/docs/manual/configuration/configure-complex-modifications/#create-your-own-rules).
\`\`\`json
${jsonCode}
\`\`\`
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ Write [Karabiner-Elements](https://github.com/pqrs-org/Karabiner-Elements) confi
## Learn More

- [📝 Docs](https://evan-liu.github.io/karabiner.ts/)
- [🛝 Playground](https://evan-liu.github.io/karabiner.ts/playground)
- [Examples](https://github.com/evan-liu/karabiner.ts.examples/blob/main/src/index.ts)
- [evan-liu/karabiner-config](https://github.com/evan-liu/karabiner-config/blob/main/src/index.ts)
- [🛝 Playground](https://stackblitz.com/github/evan-liu/karabiner.ts/tree/main/editor?embed=1&file=rules.js&hideExplorer=1&hideNavigation=1&terminalHeight=20&title=karabiner.ts%20editor)

## Usage with Node.js

Expand Down
5 changes: 0 additions & 5 deletions docs/docs/playground.md

This file was deleted.

5 changes: 5 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ const config = {
label: 'karabiner.ts',
position: 'left',
},
{
href: 'https://stackblitz.com/github/evan-liu/karabiner.ts/tree/main/editor?embed=1&file=rules.js&hideExplorer=1&hideNavigation=1&terminalHeight=20&title=karabiner.ts%20editor',
label: 'online editor',
position: 'left',
},
],
},
footer: {},
Expand Down
1 change: 0 additions & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
const sidebars = {
docs: [
'intro',
'playground',
{
type: 'category',
label: 'Rules',
Expand Down

0 comments on commit 427e59f

Please sign in to comment.