Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #61 from aireilly/fixes
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
rohennes authored Apr 28, 2023
2 parents 8a0190c + 0b5b788 commit 14723a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .vale/fixtures/AsciiDoc/ClosedAttributeBlocks/testvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@
:_content-type: ASSEMBLY
[id="rosa-getting-started_{context}"]
= Comprehensive guide to getting started with {product-title}

.Example output
[source,terminal]
----
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"up","endpoint":"web","instance":"10.129.0.46:8080","job":"prometheus-example-app","namespace":"ns1","pod":"prometheus-example-app-68d47c4fb6-jztp2","service":"prometheus-example-app"},"value":[1591881154.748,"1"]}]}}
----
2 changes: 1 addition & 1 deletion .vale/styles/AsciiDoc/ClosedAttributeBlocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ scope: raw
level: error
message: "Attribute block is not closed."
raw:
- '(?<!\/\/)\[.*(?<!\])\n'
- '(?<!.)\[.*(?<!\])\n'
2 changes: 1 addition & 1 deletion .vale/styles/AsciiDoc/ClosedIdQuotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ scope: raw
level: error
message: "Quoted ID value is not closed."
raw:
- '(?<!\/\/)\[id\=\".*(?<!\")\]'
- '(?<!.)\[id\=\".*(?<!\")\]'

0 comments on commit 14723a1

Please sign in to comment.