-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Red Hat package #11
Comments
When trying to use the existing zip file I have this error:
using a
|
found the issuefo rth eno such file or directory: the name of the zip must match the top folder content. it is working when using https://github.com/apupier/vale-at-red-hat/releases/tag/v143 where I used https://github.com/apupier/vale-at-red-hat/releases/download/v143/vale-at-red-hat-143.zip th ezip file is the same than on official repo named v143. The top-level older nside the archive is named vale-at-red-hat-143 |
now, there is this error when running
|
With .vale.ini:
but
{
"BlockIgnores": {
"*.md": [
"(?sm)^({{[%\u003c] [^{]*? [%\u003e]}})\\n$",
"(?s) *({{\u003c highlight [^\u003e]* ?\u003e}}.*?{{\u003c ?/ ?highlight \u003e}})"
]
},
"Checks": [
"RedHat.CaseSensitiveTerms",
"RedHat.ConfigMap",
"RedHat.Definitions",
"RedHat.Slash",
"RedHat.Spacing",
"RedHat.Spelling",
"RedHat.TermsSuggestions"
],
"Formats": {
"properties": "md"
},
"Asciidoctor": {},
"FormatToLang": {},
"GBaseStyles": null,
"GChecks": {},
"IgnoredClasses": null,
"IgnoredScopes": [
"code",
"tt",
"img",
"url",
"a",
"body.id"
],
"MinAlertLevel": 0,
"Vocab": null,
"RuleToLevel": {},
"SBaseStyles": {
"*.ini": [
"RedHat"
],
"*.md": [
"RedHat"
],
"*.rst": [
"RedHat"
],
"[!.]*.adoc": [
"RedHat"
]
},
"SChecks": {
"*.ini": {
"RedHat.CaseSensitiveTerms": false,
"RedHat.ConfigMap": false,
"RedHat.Definitions": false,
"RedHat.Slash": false,
"RedHat.Spacing": false,
"RedHat.Spelling": false,
"RedHat.TermsSuggestions": false
},
"*.md": {},
"*.rst": {},
"[!.]*.adoc": {}
},
"SkippedScopes": [
"script",
"style",
"pre",
"figure",
"code",
"tt",
"blockquote",
"listingblock",
"literalblock"
],
"Stylesheets": {},
"StylesPath": "/home/apupier/ws/test-asciidoc/.vale/styles",
"TokenIgnores": {
"*.ini": [
"(\\x60[^\\n\\x60]+\\x60)",
"([^\\n]+=[^\\n]*)",
"(\\+[^\\n]+\\+)",
"(http[^\\n]+\\[)"
],
"*.md": [
"({{[%\u003c] .* [%\u003e]}}.*?{{[%\u003c] ?/.* [%\u003e]}})",
"(\\[.+\\]\\({{\u003c .+ \u003e}}\\))",
"(\\x60[^\\n\\x60]+\\x60)",
"([^\\n]+=[^\\n]*)",
"(\\+[^\\n]+\\+)",
"(http[^\\n]+\\[)"
],
"[!.]*.adoc": [
"(:[^\\n]+: [^\\n]+)",
"(\\[id=[^\\n]+)"
]
},
"WordTemplate": "",
"DictionaryPath": "",
"NLPEndpoint": ""
} Inside .vale\styles, I do not have a RedHat folder, it loosk alike the resources mentioned by the .vale.ini of the Red Hat zip were not copied. i tried to apply th epackage fromMicrosoft and the styles are copied in .vale\Styles but Microsoft does not use a .vale.ini. @jdkato Can it be that the |
If i separate the .vale.ini and the styles files in 2 different zip, the RedHat folder in styles is created.
But now when trying to run vale, I have this error:
EDIT: |
tried again to use a
I have this error:
it seems that the StylesPath which is in .vale/styles/.vale-config/0-handcrafted-complete-vale-at-redhat-143.ini is used and not placed from the correct folder |
As stated in the documentation,
You cannot use arbitrary directory structures such as the nested |
I use the different value for the .vale.ini that I have locally, the one referencing the zip file. Inside the zip file, there si the top-level directory |
Red Hat is providing a Vale configuration of their style guide. it would be nice to provide a package for it.
the zip currently attached to the tag is matching the requirements.https://github.com/redhat-documentation/vale-at-red-hat/releases/tag/v143 contains a folder and then the
.vale.ini
file. I guess it can be used as-is. To be checked.The text was updated successfully, but these errors were encountered: