Skip to content

Commit 52cbd90

Browse files
authored
Fix incorrect URL hashes in documents (#6348)
1 parent b598c18 commit 52cbd90

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

docs/developer-guide/syntaxes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Writing custom syntaxes
22

3-
Custom syntaxes are [PostCSS syntaxes](https://github.com/postcss/postcss#syntaxes) written by the community to support other styling languages and CSS-in-JS libraries using the [`customSyntax` option](../user-guide/usage/options.md#customSyntax).
3+
Custom syntaxes are [PostCSS syntaxes](https://github.com/postcss/postcss#syntaxes) written by the community to support other styling languages and CSS-in-JS libraries using the [`customSyntax` option](../user-guide/usage/options.md#customsyntax).
44

55
To write one, familiarize yourself with PostCSS's [how to write custom syntax](https://github.com/postcss/postcss/blob/main/docs/syntax.md) guide.
66

docs/migration-guide/to-14.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ There are other shared configs provided for each language:
4747
- [stylelint-config-recommended-vue](https://www.npmjs.com/package/stylelint-config-recommended-vue) ... Shared config for Vue.
4848
- [stylelint-config-html](https://www.npmjs.com/package/stylelint-config-html) ... Shared config that enables parsing for HTML, XML, Vue, Svelte, and PHP.
4949

50-
If a shared config isn't available for your preferred language or library, then you can install the appropriate [PostCSS syntax](https://github.com/postcss/postcss#syntaxes) yourself and use the [`customSyntax` option](../user-guide/usage/options.md#customSyntax), which is now available in the configuration object.
50+
If a shared config isn't available for your preferred language or library, then you can install the appropriate [PostCSS syntax](https://github.com/postcss/postcss#syntaxes) yourself and use the [`customSyntax` option](../user-guide/usage/options.md#customsyntax), which is now available in the configuration object.
5151

5252
For example, to lint [SugarSS](https://github.com/postcss/sugarss).
5353

@@ -138,7 +138,7 @@ The `function-calc-no-invalid` has been removed. You should remove it from your
138138
There are three changes that may affect you:
139139

140140
- version 8 of PostCSS is now used in stylelint
141-
- a [`disableFix` secondary option](../user-guide/configure.md#disableFix) was added
141+
- a [`disableFix` secondary option](../user-guide/configure.md#disablefix) was added
142142
- TypeScript type definitions were added to the package
143143

144144
### PostCSS 8

docs/user-guide/configure.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ For example:
320320
}
321321
```
322322

323-
[More info](usage/options.md#reportDescriptionlessDisables).
323+
[More info](usage/options.md#reportdescriptionlessdisables).
324324

325325
## `reportInvalidScopeDisables`
326326

@@ -334,7 +334,7 @@ For example:
334334
}
335335
```
336336

337-
[More info](usage/options.md#reportInvalidScopeDisables).
337+
[More info](usage/options.md#reportinvalidscopedisables).
338338

339339
## `reportNeedlessDisables`
340340

@@ -348,7 +348,7 @@ For example:
348348
}
349349
```
350350

351-
[More info](usage/options.md#reportNeedlessDisables).
351+
[More info](usage/options.md#reportneedlessdisables).
352352

353353
## `ignoreDisables`
354354

@@ -362,7 +362,7 @@ For example:
362362
}
363363
```
364364

365-
[More info](usage/options.md#ignoreDisables).
365+
[More info](usage/options.md#ignoredisables).
366366

367367
## `ignoreFiles`
368368

@@ -421,9 +421,9 @@ These properties provide extra validation for `stylelint-disable` comments. This
421421

422422
The available reports are:
423423

424-
- [`reportDescriptionlessDisables`](#reportDescriptionlessDisables)
425-
- [`reportInvalidScopeDisables`](#reportInvalidScopeDisables)
426-
- [`reportNeedlessDisables`](#reportNeedlessDisables)
424+
- [`reportDescriptionlessDisables`](#reportdescriptionlessdisables)
425+
- [`reportInvalidScopeDisables`](#reportinvalidscopedisables)
426+
- [`reportNeedlessDisables`](#reportneedlessdisables)
427427

428428
They are configured like rules. They can have one of three values:
429429

docs/user-guide/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ In addition to rule problems, Stylelint surfaces the following errors and warnin
44

55
## CSS syntax error
66

7-
The chosen [PostCSS syntax](usage/options.md#customSyntax) was unable to parse the source.
7+
The chosen [PostCSS syntax](usage/options.md#customsyntax) was unable to parse the source.
88

99
## Parse error
1010

11-
The chosen [PostCSS syntax](usage/options.md#customSyntax) successfully parsed, but one of the construct-specific parsers failed to parse either a media query, selector or value within that source.
11+
The chosen [PostCSS syntax](usage/options.md#customsyntax) successfully parsed, but one of the construct-specific parsers failed to parse either a media query, selector or value within that source.
1212

1313
The construct-specific parsers are:
1414

docs/user-guide/usage/cli.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ The CLI accepts:
1414

1515
### `--allow-empty-input, --aei`
1616

17-
The process exits without throwing an error when glob pattern matches no files. [More info](options.md#allowEmptyInput).
17+
The process exits without throwing an error when glob pattern matches no files. [More info](options.md#allowemptyinput).
1818

1919
### `--cache-location`
2020

21-
Path to a file or directory for the cache location. [More info](options.md#cacheLocation).
21+
Path to a file or directory for the cache location. [More info](options.md#cachelocation).
2222

2323
### `--cache`
2424

@@ -30,19 +30,19 @@ Force enabling/disabling of color.
3030

3131
### `--config-basedir`
3232

33-
Absolute path to the directory that relative paths defining "extends" and "plugins" are _relative to_. Only necessary if these values are relative paths. [More info](options.md#configBasedir).
33+
Absolute path to the directory that relative paths defining "extends" and "plugins" are _relative to_. Only necessary if these values are relative paths. [More info](options.md#configbasedir).
3434

3535
### `--config`
3636

37-
Path to a JSON, YAML, or JS file that contains your [configuration object](../configure.md). [More info](options.md#configFile).
37+
Path to a JSON, YAML, or JS file that contains your [configuration object](../configure.md). [More info](options.md#configfile).
3838

3939
### `--custom-syntax`
4040

41-
Specify a custom syntax to use on your code. [More info](options.md#customSyntax).
41+
Specify a custom syntax to use on your code. [More info](options.md#customsyntax).
4242

4343
### `--disable-default-ignores, --di`
4444

45-
Disable the default ignores. Stylelint will not automatically ignore the contents of `node_modules`. [More info](options.md#disableDefaultIgnores).
45+
Disable the default ignores. Stylelint will not automatically ignore the contents of `node_modules`. [More info](options.md#disabledefaultignores).
4646

4747
### `--fix`
4848

@@ -54,19 +54,19 @@ Specify the formatter to format your results. [More info](options.md#formatter).
5454

5555
### `--ignore-disables, --id`
5656

57-
Ignore `stylelint-disable` (e.g. `/* stylelint-disable block-no-empty */`) comments. [More info](options.md#ignoreDisables).
57+
Ignore `stylelint-disable` (e.g. `/* stylelint-disable block-no-empty */`) comments. [More info](options.md#ignoredisables).
5858

5959
### `--ignore-path, -i`
6060

61-
Path to a file containing patterns that describe files to ignore. The path can be absolute or relative to `process.cwd()`. You can repeat the option to provide multiple paths. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`. [More info](options.md#ignorePath).
61+
Path to a file containing patterns that describe files to ignore. The path can be absolute or relative to `process.cwd()`. You can repeat the option to provide multiple paths. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`. [More info](options.md#ignorepath).
6262

6363
### `--ignore-pattern, --ip`
6464

6565
Pattern of files to ignore (in addition to those in `.stylelintignore`).
6666

6767
### `--max-warnings, --mw`
6868

69-
Set a limit to the number of warnings accepted. [More info](options.md#maxWarnings).
69+
Set a limit to the number of warnings accepted. [More info](options.md#maxwarnings).
7070

7171
### `--output-file, -o`
7272

@@ -82,19 +82,19 @@ Only register problems for rules with an "error"-level severity (ignore "warning
8282

8383
### `--report-descriptionless-disables, --rdd`
8484

85-
Produce a report of the `stylelint-disable` comments without a description. [More info](options.md#reportDescriptionlessDisables).
85+
Produce a report of the `stylelint-disable` comments without a description. [More info](options.md#reportdescriptionlessdisables).
8686

8787
### `--report-invalid-scope-disables, --risd`
8888

89-
Produce a report of the `stylelint-disable` comments that used for rules that don't exist within the configuration object. [More info](options.md#reportInvalidScopeDisables).
89+
Produce a report of the `stylelint-disable` comments that used for rules that don't exist within the configuration object. [More info](options.md#reportinvalidscopedisables).
9090

9191
### `--report-needless-disables, --rd`
9292

93-
Produce a report to clean up your codebase, keeping only the `stylelint-disable` comments that serve a purpose. [More info](options.md#reportNeedlessDisables).
93+
Produce a report to clean up your codebase, keeping only the `stylelint-disable` comments that serve a purpose. [More info](options.md#reportneedlessdisables).
9494

9595
### `--stdin-filename`
9696

97-
A filename to assign the input. [More info](options.md#codeFilename).
97+
A filename to assign the input. [More info](options.md#codefilename).
9898

9999
### `--stdin`
100100

0 commit comments

Comments
 (0)