Chris Rebert
ead5ed6d73
Fix docs asset file paths in /grunt/configBridge.json ( #20178 )
...
Previously, when running the docs locally, the site, rooted at:
http://localhost:9001/
would reference docs assets using relative URLs such as:
/../assets/js/vendor/anchor.min.js
which is equivalent to:
http://localhost:9001/../assets/js/vendor/anchor.min.js
which is nonsense, since the root directory has no parent directory.
Apparently browsers silently ignore this extra '..', hence why this wasn't noticed until now.
But if you adjust Jekyll's `baseurl` setting, this mistake causes incorrect URLs to get generated.
This commit corrects the problem by removing the extra '../' from the paths.
These paths are also referenced in the Gruntfile, where the fix actually allows us to simplify the code.
Previously, in the Gruntfile, we were doing, e.g.:
path.join('./docs/assets', '../assets/js/vendor/anchor.min.js')
which calculates to:
./docs/assets/../assets/js/vendor/anchor.min.js
which can be simplified to:
./docs/assets/js/vendor/anchor.min.js
So we can remove the '/assets' suffix from the left argument
and the '../' prefix from the right argument
and still obtain the same result.
2016-06-26 16:42:13 -07:00
Chris Rebert
9a5222ca31
Docs: Separate Tether out from docs.min.js
...
We can't include it in docs.min.js because docs.min.js includes application.js,
application.js depends on bootstrap.js,
and the tooltip portion of bootstrap.js depends on Tether.
So instead, we need to load Tether separately before bootstrap.js
[skip sauce]
2015-11-19 01:04:34 -08:00
XhmikosR
9eded912a0
Make jQuery 2.0 the minimum supported version.
2015-10-24 19:09:33 +03:00
XhmikosR
c343b9f59d
Replace ZeroClipboard with clipboard.js.
...
Things left:
1. clear the selection after copy
2. add messages for success and error
2015-10-24 19:01:02 +03:00
XhmikosR
fc35ea815e
grunt/configBridge.json: Remove unused autoprefixer config.
...
[ci skip]
2015-08-30 00:05:02 +03:00
XhmikosR
3fef66eaf5
Fix the JS errors due to jekyll-search.
...
1) Update it to v1.0.8
2) Include jekyll-search where it's used only
[ci skip]
2015-08-28 14:28:47 +03:00
XhmikosR
1029240b2d
Update Anchor.js to v1.2.1.
...
[ci skip]
2015-08-27 08:14:39 +03:00
XhmikosR
606393502d
Specify Internet Explorer 9 as the minimum supported version.
2015-08-25 18:52:27 +03:00
Jacob Thornton
23d05f1585
get the js working for docs
2015-08-12 19:59:55 -07:00
Mark Otto
1ddc3f5e21
Merge branch 'master' into v4m
2015-08-04 22:29:45 -07:00
Chris Rebert
9b1a213cf7
Bootstrap v3 does not currently claim to be compatible with jQuery v3; closes #16834
...
[skip sauce]
[skip validator]
2015-07-27 16:35:04 -07:00
Mark Otto
169d2a4a78
Merge branch 'master' into v4
2015-06-18 23:56:43 -07:00
XhmikosR
69308dc883
Update Holder.js to v2.6.0.
...
[ci skip]
2015-04-23 09:18:45 +03:00
Mark Otto
c16fee5efd
Merge branch 'master' into v4
...
Conflicts:
.travis.yml
Gruntfile.js
bower.json
dist/css/bootstrap.css
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
dist/js/bootstrap.js
dist/js/bootstrap.min.js
docs/_data/glyphicons.yml
docs/_includes/components/breadcrumbs.html
docs/_includes/components/button-dropdowns.html
docs/_includes/components/button-groups.html
docs/_includes/components/dropdowns.html
docs/_includes/components/glyphicons.html
docs/_includes/components/labels.html
docs/_includes/components/list-group.html
docs/_includes/components/media.html
docs/_includes/components/navs.html
docs/_includes/components/panels.html
docs/_includes/components/progress-bars.html
docs/_includes/components/thumbnails.html
docs/_includes/components/wells.html
docs/_includes/css/buttons.html
docs/_includes/css/forms.html
docs/_includes/css/helpers.html
docs/_includes/css/images.html
docs/_includes/css/less.html
docs/_includes/customizer-variables.html
docs/_includes/getting-started/accessibility.html
docs/_includes/getting-started/browser-device-support.html
docs/_includes/getting-started/community.html
docs/_includes/getting-started/examples.html
docs/_includes/getting-started/grunt.html
docs/_includes/getting-started/license.html
docs/_includes/getting-started/template.html
docs/_includes/header.html
docs/_includes/js/affix.html
docs/_includes/js/alerts.html
docs/_includes/js/carousel.html
docs/_includes/js/collapse.html
docs/_includes/js/dropdowns.html
docs/_includes/js/modal.html
docs/_includes/js/overview.html
docs/_includes/js/popovers.html
docs/_includes/js/scrollspy.html
docs/_includes/js/tabs.html
docs/_includes/js/tooltips.html
docs/_includes/js/transitions.html
docs/_includes/nav/javascript.html
docs/_layouts/default.html
docs/assets/css/docs.min.css
docs/assets/css/src/docs.css
docs/assets/js/customize.min.js
docs/assets/js/docs.min.js
docs/assets/js/raw-files.min.js
docs/assets/js/vendor/FileSaver.js
docs/assets/js/vendor/autoprefixer.js
docs/assets/js/vendor/uglify.min.js
docs/dist/css/bootstrap.css
docs/dist/css/bootstrap.css.map
docs/dist/css/bootstrap.min.css
docs/dist/js/bootstrap.min.js
docs/examples/blog/index.html
docs/examples/carousel/index.html
docs/examples/cover/index.html
docs/examples/dashboard/index.html
docs/examples/narrow-jumbotron/narrow-jumbotron.css
docs/examples/navbar-fixed-top/index.html
docs/examples/navbar-static-top/index.html
docs/examples/non-responsive/index.html
docs/examples/non-responsive/non-responsive.css
docs/examples/theme/index.html
grunt/configBridge.json
js/affix.js
js/carousel.js
js/collapse.js
js/dropdown.js
js/modal.js
js/popover.js
js/scrollspy.js
js/tab.js
js/tests/unit/affix.js
js/tests/unit/button.js
js/tests/unit/carousel.js
js/tests/unit/modal.js
js/tests/unit/tooltip.js
js/tooltip.js
less/badges.less
less/glyphicons.less
less/type.less
less/variables.less
package.json
scss/_dropdown.scss
scss/_forms.scss
test-infra/npm-shrinkwrap.json
2015-03-01 13:44:10 -08:00
XhmikosR
3f512c927b
Add AnchorJS for docs anchors.
2015-01-21 09:50:51 +02:00
Chris Rebert
0dc8395590
use strict mode for jqueryVersionCheck; fixes #15535
2015-01-13 12:21:32 -08:00
Mark Otto
73e59c26e6
basic docs search
2014-12-24 02:44:38 -08:00
Mark Otto
36a99c68bf
restore configbridge to footer files, update paths
2014-12-19 00:35:54 -08:00
Chris Rebert
1afc0eec30
Move stuff out of configBridge.json now that the Customizer is kaput
2014-12-16 20:17:54 -08:00
Chris Rebert
57705e7d85
bump min Firefox in Autoprefixer config to v31 (latest ESR)
2014-12-15 18:26:41 -08:00
Chris Rebert
840b9a4c2e
bump min IE in Autoprefixer config to v9
2014-12-15 18:02:15 -08:00
Mark Otto
95da2a9428
nuke the customizer
2014-12-10 13:51:43 -08:00
Heinrich Fenkart
d107004278
Remove duplicate code from Customizer/Gruntfile by sharing it
2014-11-04 12:35:38 +01:00