Skip to content

Commit 1f271b2

Browse files
authored
Add Slash Commands tutorial video to documentation (#301)
* feat: add YouTube video embeds and update tutorial collection - Replace image with YouTube video embed in codebase indexing docs - Add 3 new tutorial videos to tutorial-videos.json: - Codebase Indexing Setup Tutorial - Context Condensing Tutorial - Roo Marketplace * Add Roo Code Todo Lists video to tutorial videos * feat: Add tutorial videos dropdown in sidebar with direct YouTube links - Convert tutorial videos to expandable category in sidebar - Add direct YouTube links for each video - Implement title truncation (40 chars) with tooltips for long titles - Move external link icons to right side for consistent UI - Improve overall UX by eliminating need to navigate to intermediate page * Improve tutorial videos sidebar: shorten titles and move to Getting Started section * Move Tutorial Videos to standalone section after Getting Started * Add Slash Commands tutorial video to documentation - Added 'Slash Commands' video (IOpmeUGLpg0) to tutorial-videos.json - Embedded the video in docs/features/slash-commands.md page - Video covers slash commands functionality in Roo Code * Rename slash-commands.md to slash-commands.mdx - Changed file extension from .md to .mdx to support JSX syntax - Required for the embedded YouTube video iframe to work properly - Docusaurus sidebar will automatically detect the .mdx file
1 parent 138c9d8 commit 1f271b2

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@ image: /img/social-share.jpg
1515

1616
Create custom slash commands to automate repetitive tasks and extend Roo Code's functionality with simple markdown files.
1717

18+
<div style={{ position: 'relative', paddingBottom: '56.25%', height: 0, overflow: 'hidden' }}>
19+
<iframe
20+
src="https://www.youtube.com/embed/IOpmeUGLpg0"
21+
style={{
22+
position: 'absolute',
23+
top: 0,
24+
left: 0,
25+
width: '100%',
26+
height: '100%',
27+
}}
28+
frameBorder="0"
29+
allow="autoplay; encrypted-media"
30+
allowFullScreen
31+
title="Slash Commands Tutorial Video"
32+
></iframe>
33+
</div>
34+
35+
<br />
36+
1837
:::tip Quick Start
1938
Type `/` in the chat to see all available commands, or create your own by adding a markdown file to `.roo/commands/` or `~/.roo/commands/`!
2039
:::

docs/tutorial-videos.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
{
4040
"id": "6h5vB9PpoPk",
4141
"title": "Todo Lists"
42+
},
43+
{
44+
"id": "IOpmeUGLpg0",
45+
"title": "Slash Commands"
4246
}
4347
]
4448
}

0 commit comments

Comments
 (0)