Skip to content

Commit 881fbdb

Browse files
zentronclaude
andcommitted
Fix markdownlint errors: align tables, add code block language
- Align table columns to satisfy MD060 (table-column-style) - Add `text` language specifier to fenced code blocks for MD040 - Fix empty cell spacing in query parameters table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 571e014 commit 881fbdb

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/pages/docs/projects/badges.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ The preview updates as you change options, so you can see what the badge looks l
4444

4545
The right side of the badge is automatically colored based on the deployment status:
4646

47-
| Color | Status |
48-
|-------|--------|
49-
| Green | Successful deployment |
47+
| Color | Status |
48+
| ----- | ----------------------------------------- |
49+
| Green | Successful deployment |
5050
| Red | Failed, canceled, or timed-out deployment |
51-
| Blue | Deployment in progress or other states |
52-
| Gray | No deployment found |
51+
| Blue | Deployment in progress or other states |
52+
| Gray | No deployment found |
5353

5454
## API endpoints
5555

@@ -59,26 +59,26 @@ You can also build badge URLs manually. Both endpoints are anonymous and don't r
5959

6060
Returns an SVG image you can embed directly:
6161

62-
```
62+
```text
6363
GET /api/{spaceId}/projects/{projectSlug}/badge/{environmentSlug}/latest_release
6464
```
6565

6666
### JSON endpoint
6767

6868
Returns badge data as JSON. You can use this endpoint to externalize badge rendering through third-party services like [shields.io](https://shields.io), which offloads requests from your Octopus Server.
6969

70-
```
70+
```text
7171
GET /api/{spaceId}/projects/{projectSlug}/badge/{environmentSlug}/latest_release.json
7272
```
7373

7474
### Query parameters
7575

76-
| Parameter | Default | Description |
77-
|-----------|---------|-------------|
78-
| `label` | `environment` | The text on the left side: `environment`, `project`, or `release` |
79-
| `style` | `flat` | The badge style: `flat` or `flat-square` |
80-
| `includeFailed` | `false` | Include failed, canceled, or timed-out releases |
81-
| `tenantId` | | Filter by a specific tenant for multi-tenant deployments |
76+
| Parameter | Default | Description |
77+
| --------------- | ------------- | ----------------------------------------------------------------- |
78+
| `label` | `environment` | The text on the left side: `environment`, `project`, or `release` |
79+
| `style` | `flat` | The badge style: `flat` or `flat-square` |
80+
| `includeFailed` | `false` | Include failed, canceled, or timed-out releases |
81+
| `tenantId` | | Filter by a specific tenant for multi-tenant deployments |
8282

8383
## Caching
8484

0 commit comments

Comments
 (0)