2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00
Commit Graph

2074 Commits

Author SHA1 Message Date
Iván Pereira f0252f5b2c Add PostCSS-RTLCSS approach to the documentation (#39863)
* Add PostCSS-RTLCSS approach to the documentation

* Format 'PostCSS RTLCSS' without '-' and backticks

* Some formatting for consistency in the entire doc

* Minor rewording

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-04-05 20:50:01 +03:00
XhmikosR fb4629f82e docs: move examples inline shortcode to a partial (#39829)
* docs: move examples inline shortcode to a partial

* Further tweaks
2024-04-01 22:00:09 +03:00
XhmikosR ba73ed6906 docs: resize docs bundler images and fix dimensions (#39824)
The dimensions must be of the non-2x image.
2024-04-01 21:54:56 +03:00
XhmikosR 4093ed32ee docs: add a new partial for responsive images and use imageConfig (#39779)
This way the dimensions are not hardcoded
2024-04-01 21:52:45 +03:00
XhmikosR 2ba7dae3c0 Add a render image hook (#39768)
Images are now lazyloaded, they have width and height attributes and the classes are centralized.

Only applies to Markdown images
2024-04-01 21:48:31 +03:00
Julien Déramond 24cc552343 Fix typo in site/assets/js/snippets.js comments (#39840) 2024-03-26 17:25:27 +02:00
XhmikosR 9480a3d01d docs: update sitemap template (#39819) 2024-03-25 21:28:37 +02:00
XhmikosR 11037f8407 docs: use urls.JoinPath in more places (#39778) 2024-03-22 11:50:03 +02:00
XhmikosR d1636a7540 Move theme toggler to a partial (#39807)
---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-03-20 19:05:43 +02:00
XhmikosR a0912dc543 masthead.html: add rel="noopener" target="_blank" (#39805) 2024-03-20 17:29:12 +02:00
XhmikosR 1401722f7e docs: move examples icons to a partial (#39808) 2024-03-19 21:31:49 +02:00
XhmikosR 6a00d18fae Further improve PNG compression (#39773) 2024-03-19 21:04:00 +02:00
XhmikosR f7f0026e4a docs: move algolia config to hugo config 2024-03-19 11:25:15 +02:00
XhmikosR 45fe28c5a6 docs: use defer when possible for JS 2024-03-19 11:25:15 +02:00
Julien Déramond 6922f5d9cb docs: move search style to its own CSS file 2024-03-19 11:25:15 +02:00
XhmikosR d867ee08b9 docs: improve stackblitz.js
* tweak indentation
* stop extending the sdk object
* conditionally add `index.js`
2024-03-19 11:25:15 +02:00
XhmikosR 24f749cb76 docs: bundle assets with Hugo
Also:

* load any docs' third-party dependencies from node_modules (except for examples)
* exclude docsearch from layouts that don't use it
* preconnect to algolia only when not examples layout
* switch to `RelPermalink`
* refactor JS assets into partials
2024-03-19 11:25:15 +02:00
XhmikosR 202a20f561 docs: mention text transform classes (#39782) 2024-03-15 21:23:19 +02:00
Edward Ezekiel 086a0e2a1c Update masthead to HeroDevs EOL (#39749)
* feat(masthead):  Update masthead to HeroDevs EOL

Add box-arrow-up-right icon.

* Update masthead.html

* Update icons.html

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2024-03-15 10:23:43 -07:00
XhmikosR 545a650035 docs: move fathom site to hugo config (#39781) 2024-03-13 11:43:02 +02:00
XhmikosR ab1a765f75 examples: assorted tweaks (#39772)
* remove trailing slash
* use urls.JoinPath
* reindent
* use `imageConfig` so that we add dimensions automatically
2024-03-12 11:42:03 +02:00
Julien Déramond 6ce0c62e21 Docs: drop data-bs-scroll="true" from navbar (#39766) 2024-03-11 09:26:03 +02:00
XhmikosR 930740afbc Switch to using hugo.IsProduction (#39763) 2024-03-08 12:41:17 +02:00
Louis-Maxime Piton f545964f8f Docs: fix position of search modal to avoid interface blocking at small breakpoints (#39739)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-03-08 09:04:12 +01:00
XhmikosR f54befa74b footer: remove unneeded trailing slash (#39757) 2024-03-07 16:11:00 +02:00
XhmikosR b003fc7880 docsref.html: move to variable 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 953b4b6c1b Fix various redirects 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 04a720bf7f dashboard: remove the unused bootstrap-icons.css
We should revisit this later because it's a lot simpler for people
to just include the CSS than copy around tens of icons, even if it
leads to unused CSS
2024-03-05 20:34:45 +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)
It no longer works
2024-03-04 20:34:48 +02:00
Julien Déramond 6e1f75f420 Release v5.3.3 (#39524)
* Release v5.3.3

* Dist

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-20 17:14:29 +02:00
Julien Déramond 1bc85bfe2b Fix product example mobile navbar toggler (#39657) 2024-02-14 21:33:47 +01:00
Robert Martin cb7467b428 Docs: fix typos in Vite, Parcel and Webpack guides (#39592)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-13 19:28:35 +01:00
DrejT d30385b9df Docs: update colors table to be responsive in Customize > Color page (#39663)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-13 09:06:40 +01:00
Julien Déramond 52cc9342cb Bump copyright year to 2024 2024-02-05 20:13:23 -08:00
XhmikosR b75f637f4d docs: clean up example.html (#39528) 2024-02-02 09:56:42 +02:00
Julien Déramond 11272eca59 Docs: add missing comma in native font stack code source in Content > Reboot (#39617) 2024-01-30 19:08:35 +01:00
Christian Oliff 047607816d Docs: add missing type="button" to Cheatsheet example nav buttons (#39585)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-01-30 07:46:01 +01:00
Sarah Gilberg 8cc86cc5c5 Docs: fix 'media-breakpoint-between' typo in migration guide (#39604) 2024-01-29 17:51:05 +01:00
Julien Déramond 85b1d1c660 Docs: update desc of deprecated Sass mixins in alerts and list groups (#39537) 2023-12-30 08:48:21 +01:00
Christian Oliff ce1bf1c660 Docs: update homepage links to prevent HTTP redirect (#39539) 2023-12-30 08:44:14 +01:00