Skip to content

Commit 6bf5ee1

Browse files
committed
Merge branch 'main' into per-tab-model-persistence
2 parents 811391e + 9aa7fc5 commit 6bf5ee1

File tree

813 files changed

+49564
-20018
lines changed

Some content is hidden

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

813 files changed

+49564
-20018
lines changed

.continue/environment.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"install": "npm i"
3+
}

.continue/prompts/core-unit-test.prompt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ IMPORTANT: Do NOT mock the fixtures above other than using `jest.spyOn`. DO mock
3535
Instead, generate actual mock files and data for operations
3636
Pure mocks should only be used to emulate specific network responses/error or hard-to-duplicate errors, or to prevent long-duration tests
3737

38-
Additional types can be imported from @core/index.d.ts
39-
If any needed types, functions, constants, or classes are still not found, warn the user and do not generate tests.
38+
Additional types can be imported from @core/index.d.ts. If any needed types, functions, constants, or classes are still not found, warn the user and do not generate tests.
4039

41-
Write the comment "// Generated by continue" at the top of the generated code/file (not the filepath)
40+
Write the comment "// Generated by continue" at the top of the generated code/file (not the filepath)
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Mintlify Documentation Formatting Rules
2+
3+
## Component Formatting
4+
5+
When working with Mintlify documentation components (Card, Info, Tip, Note, Warning, etc.), follow these formatting guidelines:
6+
7+
### Bullet Points and Lists
8+
9+
1. **Always add a blank line** after the opening component tag and before the closing tag
10+
2. **Indent content** by 2 spaces within components
11+
3. **Use proper list formatting** with each item on its own line:
12+
- Start lists on a new line after introductory text
13+
- Use `-` for unordered lists
14+
- Maintain consistent indentation
15+
16+
### Examples
17+
18+
#### ✅ Correct Formatting:
19+
20+
```mdx
21+
<Card title="Example" icon="icon-name">
22+
23+
This is the content with proper formatting:
24+
- First bullet point
25+
- Second bullet point
26+
- Third bullet point
27+
28+
</Card>
29+
```
30+
31+
```mdx
32+
<Info>
33+
34+
Important information here:
35+
- Point one
36+
- Point two
37+
- Point three
38+
39+
</Info>
40+
```
41+
42+
#### ❌ Incorrect Formatting:
43+
44+
```mdx
45+
<Card title="Example" icon="icon-name">
46+
This is wrong: - All bullets - On one line - Bad formatting
47+
</Card>
48+
```
49+
50+
### Component-Specific Rules
51+
52+
1. **Card Components**: Always include blank lines and proper indentation
53+
2. **Info/Tip/Note/Warning**: Format lists as bullet points, not inline
54+
3. **CardGroup**: Each Card within should follow the same formatting rules
55+
4. **Code Blocks**: Within components, maintain proper indentation
56+
57+
### Links in Lists
58+
59+
When including links in bullet points:
60+
```mdx
61+
- [Link Text](url): Description of the link
62+
```
63+
64+
### Nested Components
65+
66+
For nested components, maintain proper indentation levels:
67+
```mdx
68+
<CardGroup>
69+
<Card title="First Card">
70+
71+
Content here:
72+
- Bullet one
73+
- Bullet two
74+
75+
</Card>
76+
77+
<Card title="Second Card">
78+
79+
More content:
80+
- Another bullet
81+
- Final bullet
82+
83+
</Card>
84+
</CardGroup>
85+
```
86+
87+
## Application
88+
89+
These rules apply to all `.mdx` files in the `docs/` directory, particularly:
90+
- Guide documents
91+
- Cookbook documents
92+
- Reference documentation
93+
- Any Mintlify-powered documentation
94+
95+
## Automation Note
96+
97+
When using Continue or other AI assistants to generate or modify documentation:
98+
- Always format Mintlify components according to these rules
99+
- Review generated content for proper formatting
100+
- Apply these rules consistently across all documentation

.continue/rules/personality.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: Personality Rules
3+
description: Conversational and personality guidelines
4+
---
5+
6+
When the user challenges your output or asks a question, don't be overly-amiable (e.g. responding "You're right" all the time). Focus on correctness and be willing to tell the user they are wrong.

.github/actions/setup-component/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,18 @@ runs:
3131
packages/*/node_modules
3232
key: ${{ runner.os }}-packages-node-modules-${{ hashFiles('packages/*/package-lock.json') }}
3333

34-
- uses: actions/cache@v4
34+
- uses: actions/cache@v4
3535
if: inputs.include-root == 'true'
36+
id: root-cache
3637
with:
3738
path: node_modules
3839
key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }}
3940

41+
- name: Install root dependencies
42+
if: inputs.include-root == 'true' && steps.root-cache.outputs.cache-hit != 'true'
43+
shell: bash
44+
run: npm ci
45+
4046
- uses: actions/cache@v4
4147
id: component-cache
4248
with:

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## AI Code Review
66

77
- **Team members only**: AI review runs automatically when PR is opened or marked ready for review
8-
- Team members can also trigger a review by commenting `@continue-general-review` or `@continue-detailed-review`
8+
- Team members can also trigger a review by commenting `@continue-review`
99

1010
## Checklist
1111

.github/workflows/auto-fix-failed-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797

9898
- name: Setup Node.js
9999
if: steps.workflow-details.outputs.has_failed_tests == 'true'
100-
uses: actions/setup-node@v5
100+
uses: actions/setup-node@v6
101101
with:
102102
node-version: "20"
103103

.github/workflows/beta-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
2525

2626
- name: Setup Node.js
27-
uses: actions/setup-node@v5
27+
uses: actions/setup-node@v6
2828
with:
2929
node-version: 20
3030
registry-url: "https://registry.npmjs.org"
@@ -110,6 +110,6 @@ jobs:
110110
111111
# Create GitHub release
112112
gh release create "v${{ steps.get_version.outputs.beta_version }}" \
113-
--title "Beta Release v${{ steps.get_version.outputs.beta_version }}" \
113+
--title "CLI Beta Release v${{ steps.get_version.outputs.beta_version }}" \
114114
--notes "Daily beta release for testing. This version will be promoted to stable after 7 days if no critical issues are found." \
115115
--prerelease

.github/workflows/cla.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
path-to-document: "https://github.com/continuedev/continue/blob/main/CLA.md"
2828
branch: cla-signatures
2929
# Bots and CLAs signed outside of GitHub
30-
allowlist: dependabot[bot],fbricon,panyamkeerthana,Jazzcort,owtaylor,halfline,[email protected]
30+
allowlist: dependabot[bot],fbricon,panyamkeerthana,Jazzcort,owtaylor,halfline,[email protected],[email protected],snyk-bot
3131
signed-commit-message: "CLA signed in $pullRequestNo"

.github/workflows/cli-pr-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v5
2626

2727
- name: Setup Node.js
28-
uses: actions/setup-node@v5
28+
uses: actions/setup-node@v6
2929
with:
3030
node-version: 20
3131
cache: "npm"
@@ -67,7 +67,7 @@ jobs:
6767
uses: actions/checkout@v5
6868

6969
- name: Setup Node.js ${{ matrix.node-version }}
70-
uses: actions/setup-node@v5
70+
uses: actions/setup-node@v6
7171
with:
7272
node-version: ${{ matrix.node-version }}
7373

0 commit comments

Comments
 (0)