0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Commit Graph

327 Commits

Author SHA1 Message Date
Julien Déramond
6ce0c62e21
Docs: drop data-bs-scroll="true" from navbar (#39766)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-11 09:26:03 +02:00
XhmikosR
930740afbc
Switch to using hugo.IsProduction (#39763)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-08 12:41:17 +02:00
XhmikosR
f54befa74b
footer: remove unneeded trailing slash (#39757)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-07 16:11:00 +02:00
XhmikosR
b003fc7880 docsref.html: move to variable
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-06 15:50:18 +02:00
XhmikosR
b3bca581f1 templates: use urls.JoinPath when handling URLs 2024-03-06 15:50:18 +02:00
XhmikosR
192b7f785e
docs: use a responsive image for bootstrap-logo-shadow.png (#39745) 2024-03-06 10:17:35 +02:00
XhmikosR
2c4e1cd660 Improve front matter "added" params
Add missing ones and add the ability to show or hide the badge

Fixes a few more 404 errors in the version picker
2024-03-06 09:52:50 +02:00
XhmikosR
5cb92cd6c0 docs: fix missing trailing slashes causing redirects 2024-03-06 09:52:50 +02:00
XhmikosR
58880cfbac Remove useless crossorigin="anonymous" attributes 2024-03-05 20:34:45 +02:00
XhmikosR
59231069e9 header.html: remove unneeded relUrl 2024-03-05 20:34:45 +02:00
XhmikosR
e16ee0a191 Minor template cleanup 2024-03-05 20:34:45 +02:00
XhmikosR
b0ce89229b examples.html: Move color mode JS lower 2024-03-05 20:34:45 +02:00
XhmikosR
688d7e352a render-heading.html: use variables 2024-03-05 20:34:45 +02:00
XhmikosR
87be2b9d24
Fix docs-versions.html (#39738)
Cast to string when comparing the versions, otherwise we were comparing numbers with strings.

Also, move checks to variables.

Fixes 404 errors in the version picker.
2024-03-05 20:24:46 +02:00
XhmikosR
712e722165
docs: remove Google Analytics (#39725)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
It no longer works
2024-03-04 20:34:48 +02:00
XhmikosR
b75f637f4d
docs: clean up example.html (#39528)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 55s
CodeQL / Analyze (push) Failing after 32s
cspell / cspell (push) Successful in 22s
CSS / css (push) Successful in 48s
Docs / docs (push) Failing after 21s
JS Tests / JS Tests (push) Failing after 38s
Lint / lint (push) Successful in 42s
CSS (node-sass) / css (push) Successful in 31s
Release notes / update_release_draft (push) Has been skipped
2024-02-02 09:56:42 +02:00
Christian Oliff
ce1bf1c660
Docs: update homepage links to prevent HTTP redirect (#39539) 2023-12-30 08:44:14 +01:00
Julien Déramond
240b78e2d0
Docs: drop unused .theme-icon class (#39520)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2023-12-21 17:34:16 +01:00
Julien Déramond
8df9899e98
Fix: make theme selector tick icon visible when active in examples layout (#39177) 2023-09-14 17:01:50 +03:00
Julien Déramond
4271d22b90 Docs: remove v4 reference in homepage 2023-07-23 21:27:00 -07:00
Julien Déramond
674ea99c8c Docs: add blank target and noopener rel to footer external links 2023-07-16 20:41:03 -07:00
Louis-Maxime Piton
e2854b94da
Feature (#38838) 2023-07-05 22:11:04 -07:00
Mewen Le Hô
4315801856
Add docs search to homepage (#38850)
* Compliance to Success Criterion 3.2.3 Consistent Navigation

* Update docs-navbar.html

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-07-05 22:10:13 -07:00
Hannah Issermann
b7e351b445
Docs: add more details on accessibility tips (#38583)
* Docs: add more details on accessibility tips

* Docs: add more details on accessibility tips

* Docs: add more details on accessibility tips

* Fix syntax

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-05-31 19:32:20 -07:00
Julien Déramond
b5772d4ec2 Use .d-none instead of inline styling 2023-05-31 19:28:32 -07:00
Mark Otto
e468daac25
More darkmode examples (#38058)
* WIP darkmode examples

* Fix product css error, redo parts of blog

* wip dashboard

* updated rtl generated

* fix up some examples, namely dashboard

* jumbotron and sign-in fixes

* more fixes

* more

* Fixes from code review

* Remove duplicate `data-bs-target` in dashboard/index.html

* Modify `blog-rtl/index.html`

* Modify `dashboard-rtl/index.html`

* Modify `carousel-rtl/index.html`

* Keep JS on all pages for switcher

* Remove Feather from dashboard examples

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-04-27 18:13:35 -07:00
Mark Otto
6182c0d962
Add new docsref page, fix docs border-radius issues (#38491)
* Add new docsref page, fix docs border-radius issues

* Remove commented out code

* Update docsref.md

* Fix no-code example, fix mobile styles

* Updates from review

* Fix block margin, remove margin-right from pre on mobile since no clipboard icons, adjust masthead snippet

* Fix errant styles for border-radius on homepage

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-04-26 15:57:27 -07:00
Tien Do
c0107d142e docs: add variables-dark import in home page 2023-04-01 17:35:51 -04:00
Julien Déramond
34c2725fe1
Docs: js-docs unindent automatically the code inside shortcode (#38349) 2023-03-28 17:01:47 +03:00
GeoSot
94c7dc717e
Add detailed explanation of the JS components configuration merging process (#37303)
* doc: add detailed explanation of the components config process & fix popover/tooltip docs

* Update site/layouts/partials/js-data-attributes.md

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-27 12:30:27 +03:00
Hannah Issermann
06f7c3b6c7
Add js-docs shortcode to ensure consistency between doc and js code (#38316)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-27 12:10:25 +03:00
Louis-Maxime Piton
f8a56da8b0
Docs: scss-docs unindent automatically the code inside shortcode 2023-03-24 16:11:22 +02:00
Julien Déramond
f52d4a35b3
Fix placeholder shortcode color and background params when 'img' markup (#38263) 2023-03-19 17:42:30 -07:00
Hannah Issermann
fd7cfac4cb
Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples (#38182)
* Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples

* Update site/layouts/shortcodes/js-dismiss.html

Co-authored-by: Julien Déramond <juderamond@gmail.com>

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-03-10 11:23:59 -06:00
Louis-Maxime Piton
25579aad7c
Fix (#38191)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-03-10 11:19:58 -06:00
louismaxime.piton
8e27427fd9 Improve scss-docs link 2023-03-10 11:16:59 -06:00
Louis-Maxime Piton
b26233c1ab
Examples: color mode enhancement (#38144)
* Tool bar proposal inside examples

* Some examples fixes

* Change appearance and position of the color mode toggler

* Proposal

* .

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-03-04 11:49:07 -08:00
Julien Déramond
80ba848443
Docs: fix code indentation in homepage JavaScript plugins section (#38112) 2023-02-25 19:05:15 +01:00
Julien Déramond
78f879eb57
Docs: drop unused icons (#38103) 2023-02-23 07:55:56 +01:00
Mark Otto
9dd42e1a07
Attempt to fix focus ring being cut off in table of contents (#37965)
* Attempt to fix focus ring being cut off in table of contents

* Update _toc.scss

---------

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-02-14 08:58:08 -08:00
Julien Déramond
30e8d139fe
Remove unused partials and add some way to automatically detect it (#38004)
* Add docs-check-unused-templates in npm commands and workflow

* Remove unused partials icons templates
2023-02-14 08:48:44 -08:00
Patrick H. Lauke
1299b163c7
Docs: tweak icon link and callouts (#37923)
* Tweak callout for icon link

- no need to talk about `alt` for `<img>` since these don't use `<img>`
- make start of sentence more readable

* Tweak language of dropdown warning callout

* Tweak popover warning callout

* Tweak rtl warning callouts

* Tweak color warning callout

* Add/move accessibility callout for color to relevant pages

* Update site/content/docs/5.3/helpers/icon-link.md

* Update site/layouts/partials/callouts/warning-color-assistive-technologies.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-01-21 09:51:45 -08:00
louismaximepiton
e8b7d38276 Correction 2023-01-17 10:38:51 -08:00
Mark Otto
20ab8219a0
Sass docs updates (#37897)
* Add maps

* Redesign scss-docs rendering

* Update other CSS sections

* Fix linter
2023-01-16 18:57:24 -08:00
Mark Otto
779baab369
Small color mode docs CSS fixes (#37896)
* SImplify background gradient syntax

* Move inline style to CSS file
2023-01-16 16:56:50 -08:00
Louis-Maxime Piton
9042efd0f8
Deprecate the Sass var and remove any occurence of the .text-muted (#37890) 2023-01-16 15:55:28 -08:00
Mark Otto
f40e76d1f7
Update snippet examples for dark mode (#37834)
* Update snippet examples for dark mode

* Fix markup

* Review comments

* undo colored links docs from this PR
2023-01-10 16:33:33 -08:00
Louis-Maxime Piton
fd1ec97bd3
Docs: Small enhancements (#37803)
* Consistency with the doc

* Bring a class to avoid weird behavior

* Consistency + Add some explaining text

* fix(color)
2023-01-05 19:59:59 -08:00
Julien Déramond
1b83ab24fc Docs: remove some CSS from .highlight-toolbar def 2023-01-05 19:29:17 -08:00
Julien Déramond
8a35408030
Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font (#37671)
* Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font

* Revamp starter template to use new .icon-link, fix Bootstrap icon and text at top

* Remove extra CSS file

* Change links to twbs/examples

* Fix icon name

* Adjust icon link offset to more reasonable and scaling distance

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-01-04 13:38:45 -08:00