Commit Graph

49 Commits

Author SHA1 Message Date
Patrick H. Lauke 7d57d9a68b
Dynamic tabs: use buttons rather than links (backport to v4) (#33163)
* Manually backport 32630

Dynamic tabs: use buttons rather than links

* Tweak unit test

* Tweak unit tests

* More tweakage

* show() should also bail if `disabled` attribute is set

* Tweak tests

* Simplify test for relatedTarget

* Temporarily remove problematic test

(as i can't get local tests to run just noww)

* Revert previous

* test: fix broken test cases for tab.js

* test: fix role=tablist invalid on nav element

* test: prefer <div/> over <div></div>

* Manually backport 32630

Dynamic tabs: use buttons rather than links

* test: fix broken test cases for tab.js

* Fixes

* Remove and ignore lock file

Co-authored-by: alpadev <alpa.muc@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-05-24 11:16:58 -07:00
XhmikosR cf70a58149 Rename _gh_pages to _site. (#33129) 2021-03-02 17:53:37 +02:00
XhmikosR b46f05a948 Switch to Hugo
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like:

* removing empty lines in raw HTML that break output
* read .browserslistrc, CSS variables from disk instead of duplicating it
* using Hugo mounts
* using Hugo for the docs CSS/JS
* move ToC Sass code to a separate file while adapting it for Hugo

Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
2020-11-19 11:22:22 +02:00
XhmikosR d9b4426b07 Update .gitignore (#31783)
Add vscode and netlify folders
2020-09-30 08:44:42 +03:00
XhmikosR cc3ca2586f Update Jekyll to v4.0.0. 2020-03-09 16:26:10 +02:00
XhmikosR 23a78f0ab1 Update .gitignore.
Remove the old Hugo static dist folder.
2019-10-14 12:12:05 +03:00
XhmikosR 72a1437dae .gitignore: add the Hugo folders. 2019-03-27 20:57:28 +02:00
XhmikosR e2a6f297c0
Clean up .gitignore. (#28050) 2019-01-14 21:08:24 +02:00
XhmikosR a074cb66d7 Make use of the package.json `version_short` property more. 2018-12-14 00:34:38 +02:00
XhmikosR 43bf268248
Rename docs production script to production and use `JEKYLL_ENV`. (#27410) 2018-10-18 10:45:49 +03:00
Mark Otto 0e920ce3f4 Reorganize docs for easier deploys
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.
2018-07-11 23:30:46 -07:00
Johann-S e43f97304e add code coverage 2018-03-05 10:04:54 +01:00
XhmikosR 7b766e1ad5 Switch to stylelint. (#23572) 2017-10-02 20:34:56 -07:00
XhmikosR 2244d03b34 Remove grunt-saucelabs and Grunt. 2017-09-29 19:39:25 +03:00
Tanguy Krotoff c770e68836 Drop Bower support (#23568) 2017-09-04 15:29:05 -07:00
XhmikosR 8876334b7f Fix `npm run docs-github` script. (#23688)
`$npm_config_tmp` is a non-existent variable.
Also, use double quotes since single ones don't work.
Finally, git ignore the temp file.
2017-08-26 12:59:04 +03:00
Bardi Harborow a83a0181f9 Errata from #23094. 2017-07-16 15:07:28 +10:00
Mark Otto ba3c61b32e ignore it 2017-07-09 19:47:45 -07:00
XhmikosR c2bb71e4ae .gitignore: Remove no longer used entries.
[ci skip]
2016-07-12 22:55:50 +03:00
XhmikosR 608dead1fe Update to Jekyll v3.0.0.
[skip sauce]
2015-10-29 08:12:33 +02:00
David\ Beitey c000d1f053 Add `vendor/bundle` to gitignore
Ensure this directory is ignored so that any installed resources from
Bundler aren't handled by Git.
2015-09-10 15:20:36 +10:00
Gleb Mazovetskiy 8a51daf280 Compile with Ruby Sass or libsass.
* Separate configs for libsass and sass.
* Sass compiler selected based on `process.env.TWBS_SASS`.
* Travis:
  * Use Gemfile to manage ruby dependencies.
  * Run core tests with both Sass compilers.
  * Only install/cache ruby gems required by the test subset.
* Grunt: `update-gemfile-lock` task a la `update-shrinkwrap`.
2014-12-24 22:21:39 +02:00
Chris Rebert 5a986744f7 add test-scss Grunt task 2014-12-08 19:02:25 -08:00
Gleb Mazovetskiy d5e159c895 Specify ruby dev deps in Gemfile 2014-12-05 11:23:50 +00:00
Panayiotis Lipiridis aa8269cfb6 Sorted various lines using atom/sort-lines 2014-10-22 14:06:09 +02:00
Chris Rebert c545312bd6 need customize.js to be tracked for it to work on GitHub Pages
follow-up to #11738
2013-12-06 11:35:58 -08:00
XhmikosR 3de4f23ea2 Minify docs-assets too. 2013-12-06 11:25:29 +02:00
Rogério Yokomizo 15f15cafd6 added bower_components to .gitignore 2013-10-19 01:07:10 -03:00
Mark Otto 61aa9a4f60 update gitignore to restore the ruby-version ignore and rename section to all docs stuff 2013-10-06 18:35:07 -05:00
Chris Rebert 4f20a29c32 rm irrelevant entries from .gitignore; fixes #10609 2013-09-12 11:29:26 -07:00
Chris Rebert af75dca908 update grunt-html-validation output file ignores 2013-08-19 14:23:07 -07:00
Chris Rebert bb5be0a2f9 add HTML5 validation of docs pages to the build 2013-08-12 17:49:01 -07:00
Mark Otto 7bb8817947 finish flattening repo structure; add dist folder of compiled css/js 2013-07-18 18:14:49 -07:00
Mark Otto 53bc93282f nuke that docs _site folder 2013-05-16 13:46:12 -07:00
Mark Otto 96f332578c ignore local ruby version files 2013-04-12 20:43:41 -07:00
Mark Otto 96953c2072 update makefile to work again; gitignore the compiled docs _gh_pages folder; test makefile with darkened navbar active bg 2013-02-13 12:30:56 -08:00
Graham Conzett 178397ae5e Add 'dist' directory to .gitignore
Allows you to keep a 'dist' directory in the repository as a target build location.
This can be useful if you have bootstrap as a submodule in a project and want to build it,
but still keep it self-contained. Similar to how jQuery does their default builds:
https://github.com/jquery/jquery/#how-to-build-your-own-jquery
2012-07-30 14:10:01 -04:00
Chris Aniszczyk c99dcd2e93 Add Travis CI Support
Continous integration is nice, fixes #3155

Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-04-19 16:09:59 -07:00
Jacob Thornton e985681758 add zip to git ignore, and fix gh-pages make 2012-04-15 00:19:25 -07:00
Maxim Pshenichnikov 922b5fba53 ignore Apple Double files 2012-03-11 00:11:03 +04:00
Jacob Thornton 0bfbe5058d Merge branch '2.0-wip'
Conflicts:
	.gitignore
	LICENSE
	Makefile
	bootstrap.css
	bootstrap.min.css
	docs/assets/js/application.js
	docs/assets/js/google-code-prettify/prettify.css
	docs/index.html
	docs/javascript.html
	examples/container-app.html
	examples/fluid.html
	examples/hero.html
	js/bootstrap-alerts.js
	js/bootstrap-dropdown.js
	js/bootstrap-modal.js
	js/bootstrap-popover.js
	js/bootstrap-scrollspy.js
	js/bootstrap-tabs.js
	js/bootstrap-twipsy.js
	js/tests/index.html
	js/tests/unit/bootstrap-modal.js
	js/tests/unit/bootstrap-popover.js
	js/tests/unit/bootstrap-tabs.js
	lib/forms.less
	lib/mixins.less
	lib/patterns.less
	lib/scaffolding.less
	lib/tables.less
2012-01-31 13:18:34 -08:00
Jacob Thornton f622822459 check in dist dir for hb5 + update images to point to correct spot for builder 2012-01-29 16:19:41 -08:00
Jacob Thornton 15d3a4797f simplify build process more - remove really annoying date. 2012-01-27 21:06:09 -08:00
Nicolas Gallagher 1c014613a9 Add various always-ignore extensions, files, and folders to `.gitignore` 2012-01-19 20:32:57 +00:00
Jacob Thornton 13a59a0124 remove js min from repo 2011-11-20 21:45:09 -08:00
Jacob Thornton 36a7eb3851 add build script for minified files and allow elements to be returned to getContent and title in popovers 2011-11-20 21:36:26 -08:00
Silumesii Maboshe df773debab .gitignore update. 2011-10-07 06:02:02 +02:00
Jacob Thornton f376de1319 fix local docs link + remove whitespace in gitignore 2011-08-18 11:27:45 -07:00
Jacob Thornton 7ecfc99a14 remove ds_store add an ugly gitignore file. boo. 2011-08-16 23:07:35 -07:00