aboutsummaryrefslogtreecommitdiff
path: root/site/_includes
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Update docs-navbar.htmlXhmikosR1-1/+1
2018-12-21Prep for v4.2.0 releaseMark Otto1-1/+2
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-16Revert "Remove now unnecessary shrink-to-fit viewport directive (#27818)" ↵XhmikosR1-1/+1
(#27855) This reverts commit af484dc12c2302c0e594a0e73a2ba06738a84410.
2018-12-15Link to v3.4 docs (#27842)XhmikosR1-0/+1
2018-12-15Remove now unnecessary shrink-to-fit viewport directive (#27818)Patrick H. Lauke1-1/+1
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-13SVG accessibility fixes (#27826)Patrick H. Lauke11-18/+12
* SVG accessibility fixes - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle - completely hide decorative SVGs using `aria-hidden="true"` - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label` - simplify placeholder default title * Simplify usage of placeholder.svg in the docs - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly) - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class) * Simplify example.html rewriting of <svg> to <img> code sample - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the placeholder.svg itself * Change svgo configuration to retain role attribute and add/force focusable=false - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-11-28Remove `no_toc_section`.XhmikosR1-1/+1
2018-11-28Revert "Use `h5` for callouts so that they are not included in ToC."XhmikosR1-1/+1
This reverts commit 11da1601140174e4fa4e0e25e7f66fc21c08e927. This is no longer needed with jekyll-toc 0.9.1.
2018-11-27Use `h5` for callouts so that they are not included in ToC.XhmikosR1-1/+1
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included. We should revisit this if the bug is fixed later.
2018-11-27Inline bootstrap-stack.svg.XhmikosR1-0/+1
It's pretty small compressed; a little less than 1 KB with gzip.
2018-11-23Revert "Replace anchor.js with jekyll-anchor-headings."XhmikosR2-86/+1
This reverts commit b04f97f60be64549a37e0c71d676ab67e70891fa.
2018-11-21Placeholders: use our gray colors (#27701)m5o1-4/+4
Previously we were using the old holder.js colors.
2018-11-21docs: fix path to assets. (#27696)XhmikosR1-1/+1
2018-11-20docs-sidebar.html: remove commented out code.XhmikosR1-14/+0
Leftover from old times.
2018-11-20Reindent.XhmikosR3-15/+17
2018-11-20Remove holder.js.XhmikosR1-1/+0
2018-11-20Fix placeholder image replacement.m5o1-5/+22
2018-11-20Tweak placeholder.svg.XhmikosR1-29/+28
* always include the title * make it possible to skip adding the title by passing `title=' '` * remove viewBox since we don't need it
2018-11-20Replace holder.js with SVGs.Martijn Cuppens1-0/+36
2018-11-20Replace anchor.js with jekyll-anchor-headings.XhmikosR2-1/+86
This allows us to generate the anchor links on build time. https://github.com/allejo/jekyll-anchor-headings
2018-11-11Replace `data-src` with `src="..."` in docs. (#27649)XhmikosR1-1/+16
2018-11-09Add an examples layout.XhmikosR1-2/+6
Reduces duplication and makes maintenance easier.
2018-11-09Move analytics to an include file.XhmikosR2-9/+7
2018-11-09Move stylesheets to an include.XhmikosR2-12/+13
2018-11-03Add Sass variable for prefers-reduced-motion, add callout to affected ↵Patrick H. Lauke1-0/+4
components (#27581) * Tweak the accessibility/reduced motion text include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS xref https://github.com/twbs/bootstrap/issues/27525 * Add new callout for reduced motion * Add variable to control prefers-reduced-motion media query support * Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-10-22Further ToC fixes.XhmikosR1-1/+1
2018-10-20Make use of jekyll-toc's `no_toc_section` class.XhmikosR2-2/+2
Requires jekyll-toc v0.8.0.
2018-10-20Remove service workerMark Otto1-1/+0
2018-10-20swipe left/right without hammerjsJohann-S1-1/+0
2018-10-20Add touch support in our carousel with HammerJS.Johann-S1-0/+1
2018-10-19docs search: take into account the current URL.XhmikosR1-1/+1
2018-10-18Rename docs production script to production and use `JEKYLL_ENV`. (#27410)XhmikosR2-3/+3
2018-10-17Delete callout-info-content-iamge-overlay-overflow.mdHelmut Granda1-4/+0
Deleting external file since it is not needed, the copy of this file will be added directly to card.md.
2018-10-17Adds a note about the limitations on content being larger than the image.Helmut Granda1-0/+4
In the event that the content is larger than the image, the content will continue to be displayed outside the image itself. There are some workarounds but they apply only to browsers that support this option and IE11 is not one of them.
2018-10-15Rename everything to skippy and center skippy (#27420)Martijn Cuppens1-4/+2
2018-10-14Move periods outside of links.XhmikosR1-1/+1
2018-10-14Fix a few links.XhmikosR1-5/+5
* fix `/versions/` link * add missing trailing slashes * fix a couple of redirects
2018-10-14docs: fix bundle SRI hash.XhmikosR1-1/+1
Also, remove popper.js from this script since it's not present in the repo.
2018-09-18use bsCustomFileInput in our documentation (#27264)Johann-S1-0/+1
2018-09-18docs: use the bundle dist file.XhmikosR1-4/+2
2018-09-02Add new docs Versions page.Mark Otto1-0/+2
2018-08-12Add missing trailing slash in Edge tracker links.XhmikosR1-1/+1
2018-07-11Optimised Google Analytics LoadingChristian Oliff1-4/+2
2018-07-11new urlMark Otto1-1/+1
2018-07-11Make navbar download the same as homepage downloadTheodore Dubois1-1/+1
2018-07-11remove jobs linkMark Otto1-3/+0
2018-07-11Reorganize docs for easier deploysMark Otto23-0/+332
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.