Commit Graph

185 Commits

Author SHA1 Message Date
XhmikosR e6d9316ba0
Use the SRI hashes for the live site's assets. (#25282) 2018-01-16 00:56:30 +02:00
XhmikosR e0e9bc8b58
Move inline JS outside of HTML. (#25140) 2017-12-31 02:11:59 +02:00
Mark Otto 853e5cb801 change heading 2017-12-23 16:19:33 -08:00
XhmikosR 02e4f6e513
Use Jekyll's `smartify` filter when possible. (#24866) 2017-11-25 02:13:39 +02:00
Patrick H. Lauke dcb761350c
Add support for fractional viewport widths (zoom/high-dpi displays) (#24299)
* Change breakpoint  max- calculation to fractional values
* Update docs to reflect fractional max-width breakpoint values
* Add fractional max-width to offcanvas example
* Add documentation and SCSS comment for fractional viewport support
2017-11-20 05:13:37 -05:00
XhmikosR e29398ee20 Remove unused file and bundle ie-emulation-modes-warning.js with docs.min.js (#24825)
* Remove the unused assets/js/ie10-viewport-bug-workaround.js.

* Combine ie-emulation-modes-warning.js with docs.min.js.
2017-11-19 13:30:10 +01:00
m5o 09ae92a0a0 descriptive docs variable naming (#24521)
* use descriptive docs btn naming

* rename `btn-bd-yellow` to `btn-bd-download`

* sort state vars

* sort state vars
  * info, warning, danger

* rename btn-bd-purple

* rename `.btn-bd-purple` to `.btn-bd-primary`

* align docs color variables

* generate $bd-purple-light color

* with http://razorltd.github.io/sasscolourfunctioncalculator/

* allow overide of docs variables
2017-11-06 14:21:03 -08:00
XhmikosR 1fc0f256c8 Remove whitespace in SVG includes. 2017-11-03 14:12:47 +02:00
XhmikosR 3f575d9784
Fix broken footer link after the about page revamp. (#24612) 2017-11-01 00:03:22 +02:00
Martin Kolárik 887835cdac Update docsearch.js links (#24613) 2017-10-31 00:54:36 +02:00
XhmikosR 3b75ebff2b Simplify social.html. (#24483)
This also fixes the wrong usage of `site.description` instead of `page.description` in meta description.
2017-10-22 19:20:15 +03:00
XhmikosR 2ef5b90136 Tighten htmllint's rules. (#24471) 2017-10-22 15:02:24 +03:00
XhmikosR fbd42af6ca Reduce whitespace liquid outputs. (#24470) 2017-10-22 14:53:06 +03:00
Mark Otto cdad23d5d2 fixes #24445
also pushed a hotfix to gh-pages branch
2017-10-19 13:04:39 -07:00
XhmikosR 0e90240b16 Remove empty class from search menu button. 2017-10-16 07:47:47 +03:00
XhmikosR d7aa5e6d93 Use direct links to documentation, getting started and about pages.
The old ones are still being redirected.
2017-10-16 07:47:47 +03:00
XhmikosR 03522fee48 Fix import.svg after 10bb79a. (#24359)
It was mistakenly the same as lightning.svg.
2017-10-13 13:53:01 +03:00
XhmikosR 2693e49e06 Remove unneeded `docsearch` variable. 2017-09-27 09:22:31 +02:00
XhmikosR 31c8721913 Normalize all links. (#24109)
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/`
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
2017-09-26 15:24:14 +03:00
XhmikosR 3e546cacb4 Fix missing `.btn` class from `bd-search-docs-toggler`. (#23942) 2017-09-13 20:56:19 +03:00
XhmikosR 41bcab6900 Fix favicons inclusion after e932345. (#23473) 2017-08-18 17:35:45 +03:00
XhmikosR 1f4486c31b Reduce liquid's whitespace for a few pages.
Also fix a couple of typos while at it and change header tags' order.
2017-08-15 15:03:15 +03:00
XhmikosR 20abbc3c16 Register a service worker. 2017-08-15 14:35:36 +03:00
XhmikosR e9323459ab New favicons.
Include everything for most browsers to work including Android.

Kept favicon.ico to the root dir.

Also added a manifest.json for PWA.
2017-08-15 14:35:36 +03:00
Mark Otto 96e4efb49a fix docs version, closes #23421 2017-08-14 22:34:42 -07:00
Ahmad Awais 0909b46868 FIX: Broken 'About' Link in the Footer (#23367) 2017-08-14 18:11:11 -07:00
XhmikosR acba161c4e Add `meta generator` tag. 2017-08-13 11:58:04 +03:00
Steven Black 7b8afff038 Fix broken Examples link in the docs footer include – `footer.html`. (#23348)
Re:  #23343 – **Broken Links on getbootstrap.com**

Clicking the `Examples` link in the Docs footer yields 404.

  http://getbootstrap.com/examples/

If merged, this makes the footer `Examples` link like the one in docs-navbar.html which is the same folder.

Therefore `_includes/footer.html` and `_includes/docs-navbar.html` now use the same link to `Examples`.
2017-08-12 19:35:19 +03:00
XhmikosR 9e6c11e329 Remove IE 10 viewport bug workaround JS. 2017-08-11 10:18:49 -07:00
XhmikosR 77bd8fe91a Remove `text/javascript` since it's the default one. (#23321) 2017-08-11 17:29:25 +03:00
XhmikosR f8e89c52b5 Fix JavaScript case and a typo. (#23320) 2017-08-11 16:50:08 +03:00
Jan Karlo Dela Cruz 537b5f0127 Fix broken links in documentation. (#23315) 2017-08-11 16:26:51 +03:00
XhmikosR 10bb79a250 Move inline SVGs to includes. (#23297)
Also:

* compress them with SVGOMG
* add titles
* add `focusable="false"`
2017-08-11 14:55:54 +03:00
Garth Bjerk bfd05c3423 Fix the broken about link in the footer (#23298) 2017-08-11 13:43:06 +03:00
Mark Otto da3185ee0a new homepage, new assets, clean out old stuff 2017-08-07 21:35:43 -07:00
XhmikosR 3fb818a957 Specify `rel="noopener` for external links. 2017-07-30 16:27:33 -07:00
XhmikosR 5f0861f4b8 docs: add a few more Open Graph tags. 2017-07-30 16:27:33 -07:00
Mark Otto 6436233a9c update docsearch config to handle h1s properly (load top of page, not at the h1) 2017-07-08 13:02:13 -07:00
gijsbotje 6eee028759 Added the .navbar-expand class to the docs-nav navbar to fix issue #22976 2017-07-08 00:49:44 -07:00
Mark Otto 67245a474f fix some busted links 2017-07-02 12:00:24 -07:00
Mark Otto 36e482ed27 update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables 2017-06-25 18:29:43 -07:00
Mark Otto 1c3acb63b1 fixes #22846 2017-06-17 20:36:49 -07:00
Patrick H. Lauke 816d5bd2e3 Docs: accessibility and IE fixes for SVG-based top navigation (#22848)
* Add explicit aria-label attributes to <svg> based links

As some browser/AT combinations don't seem to fully support grabbing the
`<title>` from inside the `<svg>` as the link text/name to announce
(e.g. Firefox+NVDA)

* Add <title> to Bootstrap logo <svg>

* Add <title> to menu <svg>

* Add explicit focusable="false" to <svg> icons

Due to a bug/"feature" in IE, `<svg>` elements are usually separately
focusable, which then results in links with `<svg>` icons being
essentially focused twice (once for the link, and once for the `<svg>`
inside, which is then also non-interactive)
2017-06-17 15:07:49 +02:00
Maxime Locqueville c890d9a46b Fix search redirect 2017-06-01 09:09:46 -07:00
Mark Otto 7673f4cc74 tweak bootstrap svg 2017-05-31 09:20:37 -07:00
Mark Otto 41018c8459 add link to prior versions 2017-05-30 13:59:08 -07:00
Mark Otto 309310c4ea not in use anymore 2017-05-30 13:26:11 -07:00
Mark Otto 92cfca79b1 rename files 2017-05-30 13:25:26 -07:00
Mark Otto e8e0cc7b21 blank targets for things that link off the main docs pages 2017-05-30 13:22:39 -07:00
Mark Otto 39a258ddfe redo button styles
- rename .btn-bs to .btn-bd-purple
- abstract yellow masthead button into .btn-bd-yellow and use it the new
docs navbar
2017-05-30 12:03:34 -07:00