Skip to content

Commit 2e4513e

Browse files
committed
Merge branch 'main' into nate/con-3935
2 parents 349d98a + 376ca3a commit 2e4513e

File tree

516 files changed

+30846
-14595
lines changed

Some content is hidden

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

516 files changed

+30846
-14595
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+
}
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/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/beta-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/continue-detailed-review.yaml

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

.github/workflows/continue-general-review.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Continue General Review
22

33
on:
4+
push:
5+
branches:
6+
- nate/fix-wf
47
pull_request:
58
types: [opened, ready_for_review]
69
issue_comment:
@@ -18,7 +21,7 @@ jobs:
1821
timeout-minutes: 10
1922
steps:
2023
- name: Run Continue PR Review Action
21-
uses: continuedev/continue/actions/general-review@12e933bf9d13736c5f47728c436445ef4127fd52
24+
uses: continuedev/continue/actions/general-review@main
2225
with:
2326
continue-api-key: ${{ secrets.CONTINUE_API_KEY }}
2427
continue-org: "continuedev"

.github/workflows/jetbrains-release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116

117117
# Validate wrapper
118118
- name: Gradle Wrapper Validation
119-
uses: gradle/actions/wrapper-validation@v3
119+
uses: gradle/actions/wrapper-validation@v5
120120

121121
# # Set up Java environment for the next steps
122122
- name: Setup Java
@@ -127,7 +127,7 @@ jobs:
127127

128128
# # Setup Gradle
129129
- name: Setup Gradle
130-
uses: gradle/actions/setup-gradle@v3
130+
uses: gradle/actions/setup-gradle@v5
131131
with:
132132
gradle-home-cache-cleanup: true
133133

@@ -444,7 +444,7 @@ jobs:
444444

445445
# Setup Gradle
446446
- name: Setup Gradle
447-
uses: gradle/actions/setup-gradle@v3
447+
uses: gradle/actions/setup-gradle@v5
448448
with:
449449
gradle-home-cache-cleanup: true
450450

@@ -522,7 +522,7 @@ jobs:
522522

523523
# Setup Gradle
524524
- name: Setup Gradle
525-
uses: gradle/actions/setup-gradle@v3
525+
uses: gradle/actions/setup-gradle@v5
526526
with:
527527
gradle-home-cache-cleanup: true
528528

.github/workflows/main.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,24 @@ jobs:
2626
echo "should_run=false" >> $GITHUB_OUTPUT
2727
fi
2828
29+
check-version:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v5
34+
with:
35+
fetch-depth: 0 # This ensures all tags are fetched
36+
37+
- name: Checkout tag
38+
run: git checkout ${GITHUB_REF#refs/tags/}
39+
40+
- name: Make sure version isn't odd
41+
run: |
42+
cd extensions/vscode
43+
node scripts/versionCheck.js
44+
2945
build:
30-
needs: check_release_name
46+
needs: [check_release_name, check-version]
3147
if: needs.check_release_name.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
3248
runs-on: ${{ matrix.os }}
3349
strategy:
@@ -88,22 +104,6 @@ jobs:
88104
name: ${{ matrix.platform }}-${{ matrix.arch }}-vsix
89105
path: "extensions/vscode/*.vsix"
90106

91-
check-version:
92-
runs-on: ubuntu-latest
93-
steps:
94-
- name: Checkout
95-
uses: actions/checkout@v5
96-
with:
97-
fetch-depth: 0 # This ensures all tags are fetched
98-
99-
- name: Checkout tag
100-
run: git checkout ${GITHUB_REF#refs/tags/}
101-
102-
- name: Make sure version isn't odd
103-
run: |
104-
cd extensions/vscode
105-
node scripts/versionCheck.js
106-
107107
release:
108108
permissions:
109109
contents: write

.github/workflows/pr-checks.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -343,31 +343,6 @@ jobs:
343343

344344
# GitHub does not have a way of requiring that all checks pass (you must manually select each job)
345345
# This action at least lets us manage the list of required tests via source control
346-
pr-review-action-tests:
347-
runs-on: ubuntu-latest
348-
steps:
349-
- uses: actions/checkout@v5
350-
- uses: actions/setup-node@v5
351-
with:
352-
node-version: 20
353-
354-
- name: Cache PR review action node modules
355-
uses: actions/cache@v4
356-
id: pr-review-cache
357-
with:
358-
path: actions/detailed-review/node_modules
359-
key: ${{ runner.os }}-pr-review-action-${{ hashFiles('actions/detailed-review/package.json') }}
360-
361-
- name: Install dependencies
362-
if: steps.pr-review-cache.outputs.cache-hit != 'true'
363-
run: |
364-
cd actions/detailed-review
365-
npm install
366-
367-
- name: Run tests
368-
run: |
369-
cd actions/detailed-review
370-
npm test
371346

372347
# so that creators of new jobs can add them to this list
373348
require-all-checks-to-pass:
@@ -385,7 +360,6 @@ jobs:
385360
- vscode-package-extension-linux
386361
- vscode-e2e-tests
387362
- jetbrains-tests
388-
- pr-review-action-tests
389363

390364
steps:
391365
- name: Decide whether the needed jobs succeeded or failed

0 commit comments

Comments
 (0)