Skip to content

Commit

Permalink
chore(docs): learn's setup doc
Browse files Browse the repository at this point in the history
  • Loading branch information
RiadhAdrani committed Feb 21, 2024
1 parent 905af95 commit df1523e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/md/learn.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { DocItem } from '../types/index.js';

import setup from './learn/setup.md?raw';
import tutorialTodo from './learn/tutorial-todo.md?raw';
import index__versions from './learn/index/md.js';
import quickStart__versions from './learn/quick-start/md.js';
import setup__versions from './learn/setup/md.js';

export const LearnSections: Array<DocItem> = [
{ path: '', versions: index__versions },
Expand All @@ -14,12 +14,7 @@ export const LearnSections: Array<DocItem> = [
},
{
path: '/setup',
versions: [
{
from: '0.5.0',
md: setup,
},
],
versions: setup__versions,
title: 'Setup',
},
{
Expand Down
4 changes: 4 additions & 0 deletions docs/md/learn/setup.md → docs/md/learn/setup/0.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ yarn create @riadh-adrani/ruvy
## `StackBlitz`

If you want to quickly try `Ruvy`, we offer a starter sandbox on `StackBlitz` that you can check out <a target="_blank" href="https://stackblitz.com/edit/ruvy-dbjavf?file=src%2Fmain.tsx">here</a>.

<br/>

<iframe src="https://stackblitz.com/edit/ruvy-dbjavf?embed=1&file=src%2Fmain.tsx" class="stackblitz"></iframe>
4 changes: 4 additions & 0 deletions docs/md/learn/setup/md.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { DocItem } from '../../../types/index.js';
import _0_5_0 from './0.5.0.md?raw';

export default [{ from: '0.5.0', md: _0_5_0 }] as DocItem['versions'];

0 comments on commit df1523e

Please sign in to comment.