mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 06:40:40 +00:00
Update cspell config (#35647)
* specify the files to scan in the config * enable `useGitignore` option * remove a few unneeded suppressions
This commit is contained in:
parent
17260410ba
commit
d581737f78
16
.cspell.json
16
.cspell.json
@ -19,7 +19,6 @@
|
|||||||
"callouts",
|
"callouts",
|
||||||
"clearfix",
|
"clearfix",
|
||||||
"Codesniffer",
|
"Codesniffer",
|
||||||
"colorspace",
|
|
||||||
"combinator",
|
"combinator",
|
||||||
"Contentful",
|
"Contentful",
|
||||||
"Cpath",
|
"Cpath",
|
||||||
@ -43,9 +42,7 @@
|
|||||||
"fieldsets",
|
"fieldsets",
|
||||||
"flexbox",
|
"flexbox",
|
||||||
"fullscreen",
|
"fullscreen",
|
||||||
"fusv",
|
|
||||||
"getbootstrap",
|
"getbootstrap",
|
||||||
"globby",
|
|
||||||
"Grayscale",
|
"Grayscale",
|
||||||
"Hoverable",
|
"Hoverable",
|
||||||
"hreflang",
|
"hreflang",
|
||||||
@ -86,12 +83,10 @@
|
|||||||
"scrollbars",
|
"scrollbars",
|
||||||
"scrollspy",
|
"scrollspy",
|
||||||
"Segoe",
|
"Segoe",
|
||||||
"sirv",
|
|
||||||
"srcset",
|
"srcset",
|
||||||
"stickied",
|
"stickied",
|
||||||
"Stylelint",
|
"Stylelint",
|
||||||
"subnav",
|
"subnav",
|
||||||
"svgo",
|
|
||||||
"tabbable",
|
"tabbable",
|
||||||
"textareas",
|
"textareas",
|
||||||
"toggleable",
|
"toggleable",
|
||||||
@ -99,7 +94,6 @@
|
|||||||
"touchend",
|
"touchend",
|
||||||
"twbs",
|
"twbs",
|
||||||
"unitless",
|
"unitless",
|
||||||
"Unported",
|
|
||||||
"unstylable",
|
"unstylable",
|
||||||
"unstyled",
|
"unstyled",
|
||||||
"Uppercased",
|
"Uppercased",
|
||||||
@ -109,15 +103,17 @@
|
|||||||
"vstack",
|
"vstack",
|
||||||
"walkthroughs",
|
"walkthroughs",
|
||||||
"WCAG",
|
"WCAG",
|
||||||
"webfont",
|
|
||||||
"Woohoo",
|
|
||||||
"zindex",
|
"zindex",
|
||||||
"بالعالم",
|
"بالعالم",
|
||||||
"مرحبًا"
|
"مرحبًا"
|
||||||
],
|
],
|
||||||
"language": "en, en-US",
|
"language": "en, en-US",
|
||||||
|
"files": [
|
||||||
|
"site/**/*.md"
|
||||||
|
],
|
||||||
"ignorePaths": [
|
"ignorePaths": [
|
||||||
".cspell.json",
|
".cspell.json",
|
||||||
".min."
|
"*.min.*"
|
||||||
]
|
],
|
||||||
|
"useGitignore": true
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
"docs-build": "hugo --cleanDestinationDir",
|
"docs-build": "hugo --cleanDestinationDir",
|
||||||
"docs-compile": "npm run docs-build",
|
"docs-compile": "npm run docs-build",
|
||||||
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
|
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
|
||||||
"docs-spellcheck": "cspell \"site/**/*.md\" --no-progress",
|
"docs-spellcheck": "cspell --no-progress",
|
||||||
"docs-vnu": "node build/vnu-jar.js",
|
"docs-vnu": "node build/vnu-jar.js",
|
||||||
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck",
|
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck",
|
||||||
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
||||||
|
@ -90,7 +90,7 @@ Toggle a working modal demo by clicking the button below. It will slide down and
|
|||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Woohoo, you're reading this text in a modal!</p>
|
<p>Woo-hoo, you're reading this text in a modal!</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||||
|
@ -111,7 +111,7 @@ dt {
|
|||||||
|
|
||||||
In the case you're using a custom font, be aware that not all fonts support the non-Latin alphabet. To switch from Pan-European to Arabic family, you may need to use `/*rtl:insert: {value}*/` in your font stack to modify the names of font families.
|
In the case you're using a custom font, be aware that not all fonts support the non-Latin alphabet. To switch from Pan-European to Arabic family, you may need to use `/*rtl:insert: {value}*/` in your font stack to modify the names of font families.
|
||||||
|
|
||||||
For example, to switch from `Helvetica Neue Webfont` for LTR to `Helvetica Neue Arabic` for RTL, your Sass code look like this:
|
For example, to switch from `Helvetica Neue` font for LTR to `Helvetica Neue Arabic` for RTL, your Sass code could look like this:
|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
$font-family-sans-serif:
|
$font-family-sans-serif:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user