diff options
| author | XhmikosR <[email protected]> | 2020-09-17 20:01:04 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-17 20:01:04 +0300 |
| commit | b5fb84a91d43d5178c3a6732355f346fdc3a113c (patch) | |
| tree | f9255aee5bea0c62f613c1a00ffa6c3ea8cf0dd1 /site | |
| parent | fec511da025c39b40fa94da1c047688fa95dd577 (diff) | |
| download | bootstrap-b5fb84a91d43d5178c3a6732355f346fdc3a113c.tar.xz bootstrap-b5fb84a91d43d5178c3a6732355f346fdc3a113c.zip | |
docs: fix a few redirects (#31689)
* Fix GitHub's permanent redirects
* Fix a11yproject redirects
* Update postcss-loader repo URL to the current one
Diffstat (limited to 'site')
| -rw-r--r-- | site/content/docs/5.0/getting-started/accessibility.md | 2 | ||||
| -rw-r--r-- | site/content/docs/5.0/getting-started/webpack.md | 2 | ||||
| -rw-r--r-- | site/layouts/_default/docs.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/site/content/docs/5.0/getting-started/accessibility.md b/site/content/docs/5.0/getting-started/accessibility.md index 022efcc20..150c80d65 100644 --- a/site/content/docs/5.0/getting-started/accessibility.md +++ b/site/content/docs/5.0/getting-started/accessibility.md @@ -50,7 +50,7 @@ Bootstrap includes support for the [`prefers-reduced-motion` media feature](http ## Additional resources - [Web Content Accessibility Guidelines (WCAG) 2.1](https://www.w3.org/TR/WCAG21/) -- [The A11Y Project](https://a11yproject.com/) +- [The A11Y Project](https://www.a11yproject.com/) - [MDN accessibility documentation](https://developer.mozilla.org/en-US/docs/Web/Accessibility) - [Tenon.io Accessibility Checker](https://tenon.io/) - [Color Contrast Analyser (CCA)](https://developer.paciellogroup.com/resources/contrastanalyser/) diff --git a/site/content/docs/5.0/getting-started/webpack.md b/site/content/docs/5.0/getting-started/webpack.md index 10e536bbf..c67152f8d 100644 --- a/site/content/docs/5.0/getting-started/webpack.md +++ b/site/content/docs/5.0/getting-started/webpack.md @@ -42,7 +42,7 @@ First, create your own `_custom.scss` and use it to override the [built-in custo @import "~bootstrap/scss/bootstrap"; {{< /highlight >}} -For Bootstrap to compile, make sure you install and use the required loaders: [sass-loader](https://github.com/webpack-contrib/sass-loader), [postcss-loader](https://github.com/postcss/postcss-loader) with [Autoprefixer](https://github.com/postcss/autoprefixer#webpack). With minimal setup, your webpack config should include this rule or similar: +For Bootstrap to compile, make sure you install and use the required loaders: [sass-loader](https://github.com/webpack-contrib/sass-loader), [postcss-loader](https://github.com/webpack-contrib/postcss-loader) with [Autoprefixer](https://github.com/postcss/autoprefixer#webpack). With minimal setup, your webpack config should include this rule or similar: {{< highlight js >}} ... diff --git a/site/layouts/_default/docs.html b/site/layouts/_default/docs.html index 5d390a5f8..d54e2a9fd 100644 --- a/site/layouts/_default/docs.html +++ b/site/layouts/_default/docs.html @@ -17,7 +17,7 @@ <main class="bd-main order-1"> <div class="bd-intro pt-md-3 pl-lg-4"> <div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between"> - <a class="btn btn-sm btn-bd-light mb-2 mb-md-0" href="{{ .Site.Params.repo }}/tree/main/site/content/{{ .Page.File.Path }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a> + <a class="btn btn-sm btn-bd-light mb-2 mb-md-0" href="{{ .Site.Params.repo }}/blob/main/site/content/{{ .Page.File.Path }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a> <h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1> </div> <p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p> |
