-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update readme * fix ci * add vale config * chmod file
- Loading branch information
1 parent
85ba9fc
commit f53658f
Showing
30 changed files
with
3,979 additions
and
1,174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
cd docs && npm install && npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
ci_config: &ci_config | ||
- ".github/workflows/ci.yml" | ||
- ".github/file-filters.yml" | ||
|
||
github_workflows: &github_workflows | ||
- ".github/workflows/*.yml" | ||
|
||
doc_files: &doc_files | ||
- "docs/**" | ||
- package.json | ||
- package-lock.json | ||
|
||
python_all: &python_all | ||
- "**/*.py" | ||
|
||
yaml_all: &yaml_all | ||
- "**/*.{yml,yaml}" | ||
|
||
markdown_all: &markdown_all | ||
- "**/*.{md,mdx}" | ||
|
||
documentation_all: | ||
- *doc_files | ||
- *markdown_all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"group/ci": | ||
- changed-files: | ||
- any-glob-to-any-file: [".github/**"] | ||
|
||
"type/documentation": | ||
- changed-files: | ||
- any-glob-to-any-file: ["docs/**"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
StylesPath = .vale/styles | ||
|
||
MinAlertLevel = warning | ||
|
||
[formats] | ||
mdx = md | ||
|
||
[docs/**/*.md] | ||
BasedOnStyles = Infrahub | ||
;(import.*?\n) to ignore import statement in .mdx | ||
;(```.*?```\n) to ignore code block in .mdx | ||
BlockIgnores = (?s) *((import.*?\n)|(```.*?```\n)) | ||
|
||
[*] | ||
BasedOnStyles = Infrahub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
extends: substitution | ||
message: Use '%s' instead of '%s' | ||
level: error | ||
ignorecase: false | ||
action: | ||
name: replace | ||
swap: | ||
(?i:[^/]Github): GitHub | ||
(?i:gitpod): GitPod | ||
(?i:[^/]Graphql): GraphQL | ||
infrahub(?:\s|$): Infrahub | ||
(?i:Openconfig): OpenConfig | ||
opsmill(?:\s|$): OpsMill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
extends: substitution | ||
message: "Use a space after a colon, but not before" | ||
level: warning | ||
ignorecase: true | ||
nonword: true | ||
swap: | ||
'(?<=\s):(?=\s+)': ': ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
extends: substitution | ||
message: "Instead of %s, use ',i.e.,' or 'for example:'." | ||
level: warning | ||
ignorecase: true | ||
nonword: true | ||
action: | ||
name: replace | ||
swap: | ||
- e\.g\.: i.e. | ||
- e\. g\.: i.e. | ||
- i\. e\.: i.e. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
extends: existence | ||
message: "Use a comma before the last 'and' or 'or' in a list of items." | ||
level: suggestion | ||
scope: sentence | ||
nonword: true | ||
tokens: | ||
- '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
extends: capitalization | ||
message: "'%s' should use sentence case" | ||
level: warning | ||
scope: | ||
- heading.h1 | ||
- heading.h2 | ||
- heading.h3 | ||
- heading.h4 | ||
- heading.h5 | ||
- heading.h6 | ||
match: $sentence | ||
exceptions: | ||
- Alpha | ||
- Ansible | ||
- API | ||
- Attributes | ||
- AWS S3 | ||
- Beta | ||
- BGP | ||
- CA certificates | ||
- CI | ||
- Codespaces | ||
- CoreArtifactTarget | ||
- CoreRepository | ||
- CoreGroup | ||
- Docker Compose | ||
- E2E | ||
- Generics | ||
- Git | ||
- GitHub | ||
- GitHub Codespaces | ||
- GitLab | ||
- GitPod | ||
- GraphQL | ||
- GraphQLQuery | ||
- include_in_menu & menu_placement | ||
- Helm | ||
- High Availability | ||
- Human Friendly Identifier | ||
- Infrahub | ||
- infrahubctl | ||
- IPHost | ||
- IP | ||
- IPAM | ||
- IPNetwork | ||
- IP Fabric | ||
- JavaScript | ||
- JetStream | ||
- Jinja | ||
- Jinja2 | ||
- JWT | ||
- Namespace | ||
- NATS | ||
- Node | ||
- OAuth2 | ||
- OIDC | ||
- Open ID Connect | ||
- OpsMill | ||
- Pydantic | ||
- Python | ||
- RabbitMQ | ||
- REST | ||
- RFile | ||
- SDK | ||
- Single sign-on | ||
- SSO | ||
- TLS | ||
- Tony Stark | ||
- TransformPython | ||
- UI | ||
- Vale | ||
- VS Code | ||
- VS Code extensions | ||
- WebUI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
extends: existence | ||
message: "Remove %s and avoid words that minimize the effort level required." | ||
level: warning | ||
ignorecase: true | ||
tokens: | ||
- easy | ||
- simple | ||
- simply |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
extends: spelling | ||
message: "Did you really mean '%s'?" | ||
level: error | ||
filters: | ||
- '[pP]y.*\b' | ||
- '\bimport_.*\b' # New filter to ignore variables starting with 'import_' | ||
ignore: spelling-exceptions.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
extends: substitution | ||
message: "Use '%s' instead of '%s'" | ||
level: error | ||
ignorecase: true | ||
action: | ||
name: replace | ||
swap: | ||
config\b(?!\.\w): configuration | ||
repo: repository |
Oops, something went wrong.