Skip to content

Commit

Permalink
docs: add numbers to the internal ruleset DOC-1107
Browse files Browse the repository at this point in the history
  • Loading branch information
addetz committed Oct 16, 2024
1 parent 90f1cf0 commit 1012bcf
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (c) Spectro Cloud
# SPDX-License-Identifier: Apache-2.0

extends: existence
message: "Spell out numbers zero through nine. You mentioned '%s'."
link: "https://spectrocloud.atlassian.net/wiki/spaces/DE/pages/1765933057/Spectro+Cloud+Internal+Style+Guide#Numbers"
ignorecase: true
level: error
nonword: false
scope: text
tokens:
- '\b([0-9]/[0-9])\b'
- '\b([0-9])\b'
- '\b(1st)\b'
- '\b(2nd)\b'
- '\b(3rd)\b'
- '\b([0-9]th)\b'
4 changes: 4 additions & 0 deletions packages/spectrocloud-docs-internal/tests/numbers/.vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.numbers = YES
13 changes: 13 additions & 0 deletions packages/spectrocloud-docs-internal/tests/numbers/fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Backup Scheduling Options

Both the cluster and workspace backup support the following scheduling options:

- Customize your backup for the exact month, day, hour, and minute of the user's choice.
- Every week on Sunday at midnight.
- Every 2 weeks at midnight.
- Every month on the 1st at midnight.
- Every two months on the 2nd at midnight.
- Every two months on the 3rd at midnight.
- Every two months on the 4th at midnight.
- On the 0 minute of the hour.
- Every 1/2 hour.
20 changes: 20 additions & 0 deletions packages/spectrocloud-docs-internal/tests/numbers/pass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Create Infrastructure Profile

1. Log in to [Palette](https://console.spectrocloud.com/).

2. From the left **Main Menu** click **Profiles**.

3. Click on the **Add Cluster Profile** button.

4. Fill out the following input values and ensure you select **Infrastructure** for the type. Click on **Next** to
continue.

| **Field** | **Description** |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name** | A custom name for the profile. |
| **Version** | You only need to specify a version if you create multiple versions of a profile using the same profile name. Default: `1.0.0`. |
| **Description** | Use the description to provide context about the profile. |
| **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.

0 comments on commit 1012bcf

Please sign in to comment.