Skip to content

Commit 3f3ba7d

Browse files
committed
vale
1 parent 8096ef6 commit 3f3ba7d

File tree

8 files changed

+42
-16
lines changed

8 files changed

+42
-16
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,4 @@ jobs:
152152
curl -sL "https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz" -o vale.tar.gz
153153
tar -xzf vale.tar.gz
154154
- name: "Validate documentation style"
155-
run: ./vale $(find ./docs -type f \( -name "*.mdx" -o -name "*.md" \) )
155+
run: ./vale $(find ./docs/docs -type f \( -name "*.mdx" -o -name "*.md" \) )

.vale/styles/Infrahub/branded-terms-case-swap.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ignorecase: false
66
action:
77
name: replace
88
swap:
9-
(?i:[^/]Github): GitHub
9+
'(?i:(?<![/])Github)': GitHub
1010
(?i:gitpod): GitPod
11-
'[^/](?:graphql|Graphql|graphQL|GRAPHQL)': GraphQL
11+
'(?<![/])(?:graphql|Graphql|graphQL|GRAPHQL)': GraphQL
1212
infrahub(?:\s|$): Infrahub
1313
(?i:Openconfig): OpenConfig
1414
opsmill(?:\s|$): OpsMill

.vale/styles/Infrahub/sentence-case.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,18 @@ exceptions:
2121
- BGP
2222
- CA certificates
2323
- CI
24+
- CI/CD
25+
- CLI
2426
- Codespaces
2527
- Containerlab
2628
- CoreArtifactTarget
2729
- CoreRepository
2830
- CoreGroup
31+
- DC
32+
- DC-2
2933
- Docker Compose
3034
- E2E
35+
- Example
3136
- Generics
3237
- Git
3338
- GitHub
@@ -63,6 +68,8 @@ exceptions:
6368
- OIDC
6469
- Open ID Connect
6570
- OpsMill
71+
- Option A
72+
- Option B
6673
- Pydantic
6774
- Python
6875
- RabbitMQ
@@ -75,6 +82,7 @@ exceptions:
7582
- Tony Stark
7683
- TransformPython
7784
- UI
85+
- Using
7886
- Vale
7987
- VS Code
8088
- VS Code extensions

.vale/styles/spelling-exceptions.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ APIs
55
append_git_suffix
66
artifact_definitions
77
artifact_name
8+
ASNs
89
async
10+
Auditability
911
Authentik
1012
boolean
1113
check_definitions
@@ -14,16 +16,20 @@ CloudFormation
1416
codespace
1517
codespaces
1618
combobox
19+
Composable
20+
composable
1721
config
1822
Config
1923
configs
2024
Containerlab
2125
content_type
2226
convert_query_response
2327
coroutine
28+
create_dc
2429
cypher
2530
Dagster
2631
datastore
32+
Dcim
2733
default_branch
2834
default_filter
2935
deserialized
@@ -34,6 +40,7 @@ direnv
3440
display_labels
3541
docker
3642
dockerfile
43+
docstrings
3744
Docstrings
3845
docusaurus
3946
e2e
@@ -42,6 +49,7 @@ enum
4249
enums
4350
env
4451
eslint
52+
Evolvability
4553
excalidraw
4654
fanout
4755
file_path
@@ -64,6 +72,7 @@ Infrahub's
6472
infrahubctl
6573
IP
6674
IPAddress
75+
Ipam
6776
IPAM
6877
is_empty
6978
is_ip_within
@@ -75,6 +84,8 @@ json
7584
JSONSchema
7685
kbps
7786
Keycloak
87+
loopback
88+
loopbacks
7889
Loopbacks
7990
markdownlint
8091
max_count
@@ -103,17 +114,23 @@ rebase
103114
rebased
104115
Redoc
105116
repo
117+
repos
106118
REST
119+
Reusability
120+
reusability
107121
schema_mapping
108122
sdk
123+
snake_case
109124
subcommand
110125
sudo
111126
subnet
127+
subnets
112128
supernet
113129
supernets
114130
SVIs
115131
template_path
116132
toml
133+
tomek
117134
towncrier
118135
Towncrier
119136
uncheck
@@ -122,6 +139,7 @@ upsert
122139
upserting
123140
Upserting
124141
userinfo
142+
uv
125143
uuid
126144
UUID
127145
validator

docs/docs/concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ This supports multi-region deployments with delegated address management.
407407

408408
Think of infrastructure not as static configurations, but as structured data that can be queried, transformed, and versioned like any other data.
409409

410-
Traditional: "Here are 50 config files"
410+
Traditional: "Here are 50 configuration files"
411411
Design-driven: "Here's data representing 50 devices, query what you need"
412412

413413
### Generators as factories

docs/docs/install.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before you begin, ensure you have the following installed on your system:
2222
- **Disk space**: At least 10GB free space
2323
- **Network**: Internet connection for downloading dependencies and Docker images
2424

25-
## Step 1: Install uv
25+
## Step 1: install uv
2626

2727
If you don't have `uv` installed, follow the installation instructions for your operating system:
2828

@@ -40,7 +40,7 @@ Verify the installation:
4040
uv --version
4141
```
4242

43-
## Step 2: Clone the repository
43+
## Step 2: clone the repository
4444

4545
Clone the demo repository to your local machine:
4646

@@ -49,7 +49,7 @@ git clone https://github.com/opsmill/infrahub-demo.git
4949
cd infrahub-demo
5050
```
5151

52-
## Step 3: Install Python dependencies
52+
## Step 3: install Python dependencies
5353

5454
Use `uv` to install all required Python packages:
5555

@@ -63,7 +63,7 @@ uv sync --group dev
6363

6464
This creates a virtual environment and installs all necessary packages including the Infrahub SDK.
6565

66-
## Step 4: Set up environment variables
66+
## Step 4: set up environment variables
6767

6868
Create environment variables for connecting to Infrahub. You can either export them directly or create a `.env` file:
6969

@@ -76,7 +76,7 @@ export INFRAHUB_API_TOKEN="06438eb2-8019-4776-878c-0941b1f1d1ec"
7676
The API token above is a demo token for local development only. Do not use this in production environments.
7777
:::
7878

79-
## Step 5: Start Infrahub
79+
## Step 5: start Infrahub
8080

8181
Start the Infrahub containers using the included invoke task:
8282

@@ -100,7 +100,7 @@ You should see containers for:
100100
- `infrahub-message-queue` - RabbitMQ message broker
101101
- `infrahub-git` - Git repository server
102102

103-
## Step 6: Access the Infrahub web interface
103+
## Step 6: access the Infrahub web interface
104104

105105
Once the containers are running, open your web browser and navigate to:
106106

@@ -113,11 +113,11 @@ You should see the Infrahub login screen. Use the default credentials:
113113
- **Username**: `admin`
114114
- **Password**: `infrahub`
115115

116-
## Step 7: Bootstrap the demo data
116+
## Step 7: bootstrap the demo data
117117

118118
Now that Infrahub is running, load the demo schemas and data. You can use the automated bootstrap script or run the steps manually.
119119

120-
### Option A: Automated bootstrap (recommended)
120+
### Option A: automated bootstrap (recommended)
121121

122122
Run the bootstrap script to load everything in one command:
123123

@@ -127,7 +127,7 @@ Run the bootstrap script to load everything in one command:
127127

128128
This script performs all the steps in Option B automatically.
129129

130-
### Option B: Manual bootstrap
130+
### Option B: manual bootstrap
131131

132132
If you prefer to run each step individually:
133133

@@ -155,7 +155,7 @@ uv run infrahubctl object load data/events/
155155
Loading schemas and data can take several minutes. Watch the console output to monitor progress.
156156
:::
157157

158-
## Step 8: Verify the installation
158+
## Step 8: verify the installation
159159

160160
To verify that everything is set up correctly:
161161

docs/docs/readme.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Templates transform Infrahub data into deployable artifacts including device con
9292

9393
## Community and support
9494

95-
- **Source code**: [github.com/opsmill/infrahub-demo](https://github.com/opsmill/infrahub-demo)
95+
- **Source code**: [GitHub repository](https://github.com/opsmill/infrahub-demo)
9696
- **Infrahub documentation**: [docs.infrahub.app](https://docs.infrahub.app)
9797
- **OpsMill website**: [opsmill.com](https://opsmill.com)
9898

docs/docs/user-walkthrough.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ In the web interface:
6363
All subsequent actions will be performed on the `add-dc2` branch until you switch back to another branch.
6464
:::
6565

66-
## Step 3: Load the DC-2 design
66+
## Step 3: load the DC-2 design
6767

6868
The DC-2 design is a pre-configured data center topology specification that defines:
6969

0 commit comments

Comments
 (0)