Skip to content

Commit 4629b76

Browse files
authored
Docs: Minor small fixes (#1651)
1 parent e7de144 commit 4629b76

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

netlify.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,21 @@
3535
to = "/usage/cli/"
3636
status = 301
3737
force = true
38+
39+
[[redirects]]
40+
from = "/docs/user-guide/"
41+
to = "/"
42+
status = 301
43+
force = true
44+
45+
[[redirects]]
46+
from = "/docs/user-guide/getting-started"
47+
to = "/getting-started/"
48+
status = 301
49+
force = true
50+
51+
[[redirects]]
52+
from = "/docs/user-guide/integrations/task-runners"
53+
to = "/integrations/task-runners/"
54+
status = 301
55+
force = true

website/src/content/docs/rules/attr-value-no-duplication.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
id: attr-value-no-duplication
33
title: attr-value-no-duplication
44
description: Prevents duplicate values within the same attribute to ensure clean and efficient markup.
5-
draft: true
5+
pagefind: false
66
sidebar:
77
badge: New
8-
8+
hidden: true
99
---
1010

1111
import { Badge } from '@astrojs/starlight/components';

website/src/content/docs/rules/src-not-empty.mdx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ Level: <Badge text="Error" variant="danger" />
2323
<img src="test.png" />
2424
<script src="test.js"></script>
2525
<link href="test.css" type="text/css" />
26-
<embed src="test.swf">
27-
<bgsound src="test.mid" />
2826
<iframe src="test.html">
29-
<object data="test.swf">
3027
```
3128

3229
### The following patterns are considered violations
@@ -37,12 +34,6 @@ Level: <Badge text="Error" variant="danger" />
3734
<script src></script>
3835
<link href="" type="text/css" />
3936
<link href type="text/css" />
40-
<embed src="">
41-
<embed src>
42-
<bgsound src="" />
43-
<bgsound src />
4437
<iframe src="">
4538
<iframe src>
46-
<object data="">
47-
<object data>
4839
```

0 commit comments

Comments
 (0)