Skip to content

Commit

Permalink
docs: add exception for dates DOC-1107
Browse files Browse the repository at this point in the history
  • Loading branch information
addetz committed Oct 18, 2024
1 parent 1012bcf commit 2ec2034
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ nonword: false
scope: text
tokens:
- '\b([0-9]/[0-9])\b'
- '\b([0-9])\b'
- '(?<!\b(?:January|February|March|April|May|June|July|August|September|October|November|December)\s)\b\[0-9]\b'
- '\b(1st)\b'
- '\b(2nd)\b'
- '\b(3rd)\b'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.numbers = YES
spectrocloud-docs-internal.numbers = YES
4 changes: 3 additions & 1 deletion packages/spectrocloud-docs-internal/tests/numbers/pass.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
| **Type** | **Infrastructure** |
| **Tags** | Assign any desired profile tags. Tags propagate to the Virtual Machines (VMs) deployed in the cloud or data center environment when clusters are created from this cluster profile. Example: `owner` or `region`. |

5. You should have 10 layers in your profile.
5. You should have 10 layers in your profile.

6. It is currently November 3, 2024.
2 changes: 1 addition & 1 deletion packages/spectrocloud/styles/spectrocloud/numbers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ nonword: false
scope: text
tokens:
- '\b([0-9]/[0-9])\b'
- '\b([0-9])\b'
- '(?<!\b(?:January|February|March|April|May|June|July|August|September|October|November|December)\s)\b\[0-9]\b'
- '\b(1st)\b'
- '\b(2nd)\b'
- '\b(3rd)\b'
Expand Down
4 changes: 3 additions & 1 deletion packages/spectrocloud/tests/numbers/pass.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
| **Type** | **Infrastructure** |
| **Tags** | Assign any desired profile tags. Tags propagate to the Virtual Machines (VMs) deployed in the cloud or data center environment when clusters are created from this cluster profile. Example: `owner` or `region`. |

5. You should have 10 layers in your profile.
5. You should have 10 layers in your profile.

6. It is currently November 3, 2024.

0 comments on commit 2ec2034

Please sign in to comment.