Skip to content

Commit e1a9195

Browse files
feat: update responsive styles for CopyPageURL and GitHubInstallButtons, and enhance search button visibility in dark mode (#230)
feat: increase container width and refine menu item spacing for improved layout feat: update sidebar configuration to ensure visibility and adjust heading font sizes for better readability feat: update styles for dark mode support and enhance link interactions to align with roocode.com feat: refine spacing and padding in markdown and article styles for improved layout feat: update primary color scheme and enhance content styling to align with roocode.com feat: enhance navbar styling and add dark theme support for search components background in sync with roocode.com chore: add .roo/mcp.json to .gitignore feat: add documentation rules for internal links and Context7 MCP guidelines chore: remove deprecated MCP configuration file feat: upgrade Docusaurus dependencies to version 3.8.1 and add animated background component - Updated Docusaurus core and related plugins to version 3.8.1 in package.json. - Added AnimatedBackground component for a dynamic canvas background effect. - Introduced custom CSS styles for light and dark themes, including utility classes and enhanced styling for various elements. - Implemented a new layout that integrates the AnimatedBackground component behind the main content. fix: remove backdrop-filter and solidify mobile navbar styles for improved usability fix: enhance text readability and brightness for dark mode styling fix: adjust TOC padding and hide on mobile for improved layout fix: correct link formatting for Modes configuration in marketplace documentation fix: center footer content on mobile and hide external link icons for improved usability feat: implement footer layout with social icons and links for enhanced user engagement fix: adjust footer layout and spacing for improved mobile usability fix: disable Report Issue component to hide GitHub reporting section feat: add CopyPageContent component for copying page content to clipboard feat: implement HomeBreadcrumbItem for navigation breadcrumbs feat: create DocBreadcrumbs component with structured data and copy functionality feat: add DocItemContent component for rendering document content with synthetic title feat: introduce MDXContent component for MDX rendering feat: implement responsive navbar with social icons and color mode toggle feat: add GitHub install buttons and integrate into navbar for enhanced user engagement chore: update package.json for linting and ESLint dependencies - Added linting scripts to package.json: `lint`, `lint:fix`, and `lint:unused`. - Included ESLint and related dependencies for improved code quality. fix: refactor CopyPageURL component for better child node handling - Changed child node iteration to use Array.from for better compatibility. - Added block scope for 'a' and 'blockquote' cases in convertHtmlToMarkdown function. refactor: clean up FooterLinkItem component imports - Removed unused imports from FooterLinkItem component. refactor: update DefaultNavbarItem and Mobile components to avoid prop passing - Renamed destructured props to avoid passing unnecessary props down the component tree. refactor: clean up NavbarNavLink component imports and props - Removed unused imports and renamed destructured props for clarity. refactor: remove ReportIssue component and associated styles
1 parent 7f0521f commit e1a9195

File tree

58 files changed

+8614
-1938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+8614
-1938
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ TEMP/
2828

2929
.history/
3030

31+
.roo/mcp.json

.roo/mcp.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.clinerules renamed to .roorules

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
- Use absolute paths starting from the `/docs/` root for internal documentation links
66
- Example: [link text](/basic-usage/how-tools-work) NOT [link text](basic-usage/how-tools-work.md) or [link text](../../basic-usage/how-tools-work)
77

8-
This ensures links work correctly in the built documentation while maintaining clean URLs.
8+
This ensures links work correctly in the built documentation while maintaining clean URLs.
9+
10+
## Context7 MCP
11+
When making structural or formatting changes beyond simple .md or .mdx files, always check the Context7 MCP, the `context7CompatibleLibraryID` will be `/facebook/docusaurus`

docs/features/marketplace.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ When you install an item from the marketplace, you can choose to install it at t
6464
- **Scope**: The item is only available within the current VS Code workspace (your project).
6565
- **Configuration File**:
6666
- **MCPs**: [`.roo/mcp.json`](/features/mcp/using-mcp-in-roo#configuring-mcp-servers) in the root of your project.
67-
- **Modes**: [`.roomodes`](/features/custom-modes#manual-configuration-yaml-json) in the root of your project.
67+
- **Modes**: [`.roomodes`](/features/custom-modes#3-manual-configuration-yaml--json) in the root of your project.
6868
- **Use Case**: This is useful when an item is specific to a particular project's needs or when you want to share a project-specific configuration with your team.
6969

7070
### Global Installation
7171
- **Scope**: The item is available across all your VS Code workspaces.
7272
- **Configuration File**:
7373
- **MCPs**: [`mcp_settings.json`](/features/mcp/using-mcp-in-roo#configuring-mcp-servers) in the Roo Code extension's global settings directory.
74-
- **Modes**: [`custom_modes.yaml`](/features/custom-modes#manual-configuration-yaml-json) in the Roo Code extension's global settings directory.
74+
- **Modes**: [`custom_modes.yaml`](/features/custom-modes) in the Roo Code extension's global settings directory.
7575
- **Use Case**: This is ideal for items that you want to use in all your projects, such as a favorite Mode or a commonly used MCP.
7676

7777
---

docusaurus.config.ts

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import {
55
DISCORD_URL,
66
REDDIT_URL,
77
TWITTER_URL,
8+
BLUESKY_URL,
9+
LINKEDIN_URL,
10+
TIKTOK_URL,
811
GITHUB_MAIN_REPO_URL,
912
GITHUB_ISSUES_MAIN_URL,
1013
GITHUB_FEATURES_URL,
@@ -249,9 +252,9 @@ const config: Config = {
249252

250253
themeConfig: {
251254
colorMode: {
252-
defaultMode: 'light',
255+
defaultMode: 'dark',
253256
disableSwitch: false,
254-
respectPrefersColorScheme: true,
257+
respectPrefersColorScheme: false,
255258
},
256259
image: 'img/social-share.png',
257260
navbar: {
@@ -262,19 +265,20 @@ const config: Config = {
262265
},
263266
items: [
264267
{
265-
href: GITHUB_MAIN_REPO_URL,
266-
label: 'GitHub',
267-
position: 'right',
268-
},
269-
{
270-
href: VSCODE_MARKETPLACE_URL,
271-
label: 'Install Extension',
272-
position: 'right',
268+
type: 'search',
269+
position: 'left',
273270
},
274271
],
275272
},
276273
footer: {
277274
style: 'dark',
275+
logo: {
276+
alt: 'Roo Code Logo',
277+
src: 'img/roo-code-logo-white.png',
278+
srcDark: 'img/roo-code-logo-dark.png',
279+
width: 120,
280+
height: 24,
281+
},
278282
links: [
279283
{
280284
title: 'Community',
@@ -291,6 +295,22 @@ const config: Config = {
291295
label: 'Twitter',
292296
href: TWITTER_URL,
293297
},
298+
{
299+
label: 'Bluesky',
300+
href: BLUESKY_URL,
301+
},
302+
{
303+
label: 'GitHub',
304+
href: GITHUB_MAIN_REPO_URL,
305+
},
306+
{
307+
label: 'LinkedIn',
308+
href: LINKEDIN_URL,
309+
},
310+
{
311+
label: 'TikTok',
312+
href: TIKTOK_URL,
313+
},
294314
],
295315
},
296316
{

0 commit comments

Comments
 (0)