File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
webview-ui/src/components/cline-rules Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " claude-dev " : patch
3+ ---
4+
5+ Added documentation links to rules & workflows UI
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { useExtensionState } from "@/context/ExtensionStateContext"
44import { CODE_BLOCK_BG_COLOR } from "@/components/common/CodeBlock"
55import { vscode } from "@/utils/vscode"
66import { FileServiceClient } from "@/services/grpc-client"
7- import { VSCodeButton } from "@vscode/webview-ui-toolkit/react"
7+ import { VSCodeButton , VSCodeLink } from "@vscode/webview-ui-toolkit/react"
88import RulesToggleList from "./RulesToggleList"
99import Tooltip from "@/components/common/Tooltip"
1010import styled from "styled-components"
@@ -222,7 +222,13 @@ const ClineRulesToggleModal: React.FC = () => {
222222 { currentView === "rules" ? (
223223 < p >
224224 Rules allow you to provide Cline with system-level guidance. Think of them as a persistent way to
225- include context and preferences for your projects or globally for every conversation.
225+ include context and preferences for your projects or globally for every conversation.{ " " }
226+ < VSCodeLink
227+ href = "https://docs.cline.bot/features/cline-rules"
228+ style = { { display : "inline" } }
229+ className = "text-xs" >
230+ Docs
231+ </ VSCodeLink >
226232 </ p >
227233 ) : (
228234 < p >
@@ -233,7 +239,13 @@ const ClineRulesToggleModal: React.FC = () => {
233239 text-[var(--vscode-foreground)] font-bold" >
234240 /workflow-name
235241 </ span > { " " }
236- in the chat.
242+ in the chat.{ " " }
243+ < VSCodeLink
244+ href = "https://docs.cline.bot/features/slash-commands/workflows"
245+ style = { { display : "inline" } }
246+ className = "text-xs" >
247+ Docs
248+ </ VSCodeLink >
237249 </ p >
238250 ) }
239251 </ div >
You can’t perform that action at this time.
0 commit comments