|
1 | 1 | # Configuration file for using Vale in the python-package-guide repository
|
2 | 2 | #
|
3 |
| -# This file, along with the rules defined in the styles directory (in YAML files), will be need to be updated based on the preferences |
4 |
| -# of the editorial team. |
5 |
| -# |
6 |
| -# Some configuration notes: |
| 3 | +# To disable checks on parts of a MarkDown or HTML file, delimit the section |
| 4 | +# using these HTML comments: |
| 5 | +# to disabled Vale checks after this line: <!-- vale off --> |
| 6 | +# to enable Vale checks after this line: <!-- vale on --> |
7 | 7 | #
|
8 |
| -# 1) Disabling checks on some places |
| 8 | +# To disable checks based on MarkDown scope, see IgnoredScopes. |
| 9 | +# To disable checks on certain HTML elements, see IgnoredClasses. |
9 | 10 | #
|
10 |
| -# During the initial tests, it is clear that vale rules are too strict. If you decide to adopt the internal rules, checks will need |
11 |
| -# to be disabled in some places. This can be done in MarkDown and HTML files by defining sections using: |
12 |
| -# <!-- vale off --> to disabled Vale checks after this line |
13 |
| -# <!-- vale on --> to enable Vale checks after this line |
14 |
| -# |
15 |
| -# More details about other ways to disable Vale in parts of file can be found in the config options like IgnoredScopes and IgnoredClasses |
16 |
| -# |
17 |
| -# In general, for information about the configuration can be found here: https://vale.sh/docs/topics/config |
| 11 | +# More information about the configuration can be found here: |
| 12 | +# https://vale.sh/docs/topics/config |
18 | 13 |
|
19 | 14 |
|
20 |
| -# Path to the styles directory, where the style rules are defined |
21 |
| -StylesPath = styles |
| 15 | +# Path to the styles directory, where style rules are defined |
| 16 | +StylesPath = vale-styles |
22 | 17 |
|
23 |
| -# Path to a dictionary folders inside the StylesPath config directory (for example styles/sample) |
24 |
| -# This folder can have two files, accept.txt and reject.txt, with one word per line |
25 |
| -# These words will be used to check for spelling mistakes in addition to the internal Vale dictionary |
26 |
| -# see https://vale.sh/docs/topics/vocab/#folder-structure for more details |
| 18 | +# Path to a dictionary folders inside the StylesPath config subdirectory. This |
| 19 | +# folder can contain two files, accept.txt and reject.txt, with one word per |
| 20 | +# line. These words will be used to check for spelling mistakes in addition to |
| 21 | +# the internal dictionary, if the 'Vale' ruleset is enabled (see below) |
| 22 | +# See https://vale.sh/docs/topics/vocab/#folder-structure for more details |
27 | 23 | Vocab = sample
|
28 | 24 |
|
29 | 25 |
|
30 |
| -# Sections like the one below can be used to enable the style rules for specific file type |
31 |
| -# 'Vale' refers to the default style rules inside the tool, other |
32 |
| -# 'package-guide-test' refers to the package-guide-test style rules defined in subdirectories of StylesPath |
| 26 | +# Checks are defined in sections by file type, like the one below for |
| 27 | +# MarkDown. In each section you can enable groups of style rules, defined in folders |
| 28 | +# inside the StylesPath directory. |
| 29 | +# Use 'Vale' to enable the internal style rules and checks. |
33 | 30 |
|
34 | 31 | [*.md]
|
35 | 32 | BasedOnStyles = package-guide-test
|
0 commit comments