XhmikosR
9050b2698a
Remove .html
suffix from shortcodes calls.
...
It's the default.
2021-08-31 17:24:38 +03:00
XhmikosR
365d6d9fb1
Tweak scss-docs shortcode
2021-08-31 17:24:38 +03:00
GeoSot
4bfd8a2cbc
Use a streamlined way to trigger component dismiss ( #34170 )
...
* use a streamlined way to trigger component dismiss
* add documentation
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-28 17:39:32 +03:00
acyoush
66ce774e2a
Fix site params variable on themes section
2021-07-06 11:25:12 -10:00
XhmikosR
2b6f6cd092
Update Hugo config and sitemap.xml ( #34074 )
2021-05-25 08:32:27 +03:00
Mark Otto
de0b797ab2
Remove FA for time being
2021-05-19 13:16:23 -07:00
Mark Otto
3464d3caa2
Add Fathom Analytics to v5 docs ( #33904 )
...
* Add Fathom Analytics to v5 docs
* newline
2021-05-12 21:34:11 -07:00
XhmikosR
bf09367486
Release v5.0.0 ( #33647 )
...
* Bump version to 5.0.0
* Fix npm tag
* Dist
2021-05-05 22:32:12 +03:00
XhmikosR
5acce5a519
footer: fix rel=noopener
attribute ( #33571 )
...
There's no need to use `rel=noopener` without `target=_blank`, but otherwise, it should be used since it's a potential security issue.
2021-04-09 07:43:04 +03:00
Mark Otto
0d1fec9aa8
Remove noopener from target _blank links
2021-04-06 19:37:58 -07:00
Mark Otto
6e7f1a9a34
Add new docs footer ( #33453 )
...
* Replace site footer with mega footer to link to various projects and community resources
* Fix broken HTML
2021-03-30 23:08:04 -07:00
Mark Otto
a3ad7327f2
Update examples ( #33214 )
...
* Add updated Jumbotron example made from utilities
* Update starter template example with new design and links
* Update some existing examples and their screenshots
* Add four new snippet-based examples
* Update layout to improve things a bit
* WIP
* Add d-block to images
* Fix horizontal scroll
* move d-block to the anchor
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-22 13:59:14 -07:00
XhmikosR
a1bb65ef49
Tweak scss-docs shortcode
...
Should work now with indented start/end capture statements
2021-02-03 07:15:49 +02:00
Mark Otto
f8183f6173
Add a link to v4.x from the v5 homepage ( #32745 )
...
* Add a link to v4.x from the v5 homepage
* Update masthead.html
* Update masthead.html
* Change label
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-25 14:38:27 -08:00
XhmikosR
56fdcf9e35
Docs: add v4.6.0 ( #32842 )
2021-01-19 18:39:49 +02:00
Mark Otto
803e49d928
Clarifies Sass variable defaults, adds bootstrap-npm-starter callout ( #32795 )
...
* Clarify Sass import and customize docs for how to modify variable defaulst
* Add an npm starter project callout to a few pages
* Update callout-info-npm-starter.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 16:21:21 -08:00
Gaël Poupard
70175db429
docs(sidebar): active link
2021-01-08 09:49:18 +02:00
XhmikosR
d9adaae5b0
Move migration sidebar entry to sidebar.yml
2021-01-08 09:49:18 +02:00
Gaël Poupard
c2f67d72e8
docs(skip links): new powers for .visually-hidden-focusable
2020-12-15 09:22:14 +02:00
XhmikosR
4341c34261
docs: SVG consistency changes ( #32259 )
...
* Move inlined SVG to a partial.
Also, add `fill="currentColor"` in the SVGs.
* docs: reorder attributes
2020-12-10 11:48:14 +02:00
Patrick H. Lauke
ab49e362a7
Add a callout for the sanitizer in popovers and tooltips ( #32272 )
...
* Add a callout for the sanitizer in popovers and tooltips
* Add second reference to sanitizer in the options
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-07 18:57:33 +02:00
XhmikosR
bc4272531b
Revert v5.getbootstrap.com changes
2020-12-07 18:18:16 +02:00
Gaël Poupard
aaff11a0b3
docs(examples): new cheatsheet and RTL examples
2020-12-04 07:52:03 +02:00
XhmikosR
c63aebc86b
homepage: fix wrong alt
attribute ( #32258 )
2020-11-25 18:31:34 +02:00
XhmikosR
f4457bca02
Be consistent with Popper's name. ( #32224 )
...
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-21 16:22:08 +02:00
XhmikosR
6637154beb
Revert "Use Hugo mounts for our docs vendor files." ( #32210 )
...
* Revert "Adapt to the recent main changes"
This reverts commit 50d8921670
.
* Revert "Add Hugo Pipes logic for local and vendored scripts."
This reverts commit 3fcfd606f2
.
* Revert "Use Hugo mounts for our docs vendor JS files."
This reverts commit 6b071116f3
.
2020-11-19 21:09:34 +02:00
XhmikosR
50d8921670
Adapt to the recent main changes
...
* remove `bs-custom-file-input.min.js`
* switch to errorf
* change error message
2020-11-19 20:54:42 +02:00
Regis Philibert
3fcfd606f2
Add Hugo Pipes logic for local and vendored scripts.
2020-11-19 20:54:42 +02:00
XhmikosR
6b071116f3
Use Hugo mounts for our docs vendor JS files.
2020-11-19 20:54:42 +02:00
XhmikosR
64a864075c
examples: add the version number in title
( #32198 )
2020-11-19 13:38:48 +02:00
Jiang Yan
5501df0c29
Docs: fix homepage npm install version ( #32194 )
2020-11-19 07:42:44 +02:00
Patrick H. Lauke
5ec6400bd0
Docs: change sidebar collapse controls to actual button elements ( #31098 )
...
apart from the visual styling, there's probably no good reason why these shouldn't be `<button>` elements, semantically
the buttons still look a shade too button-like, despite using `.btn-light`. the last remnant of button styling can probably be suppressed further, *or* this makes the case for expanding the core button styles to have one that looks completely non-button and non-link like (for cases where an additional style/hint was given already, or it's clear from context that something's an actionable button or link)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-18 20:20:05 +02:00
XhmikosR
9f211231b0
docs: use expanded
Sass output style for development ( #32176 )
2020-11-17 16:43:36 +02:00
XhmikosR
bec6eef971
skippy.html: reduce whitespace output
2020-11-17 16:35:32 +02:00
Tiger Oakes
4c9597ef7e
Add baseof layout
2020-11-17 15:54:47 +02:00
Tiger Oakes
933b6510ca
Move redirect layout into partial
2020-11-17 15:54:47 +02:00
XhmikosR
ccee9d5de7
Rename docs version data attribute
2020-11-14 07:09:15 +02:00
Rohit Sharma
418f17ee2b
Add bs
in data attributes
...
- Add `bs` in data APIs everywhere
- Update unit tests
2020-11-14 07:09:15 +02:00
XhmikosR
d5b405ea9a
example.html: remove extra whitespace ( #32143 )
...
If we don't pass `class` to the `placeholder` shortcode, this resulted in two spaces before the `alt` attribute:
```html
{{< example >}}
{{< placeholder width="64" height="64" >}}
{{< /example >}}
```
```html
<img src="..." alt="...">
```
2020-11-13 12:45:11 +02:00
Christian Oliff
7d64031c87
Fix caniuse.com URLS to prevent redirects ( #32135 )
...
Shorter URLS which are faster as they avoid HTTP redirects
2020-11-12 15:01:00 +02:00
XhmikosR
bdf534df59
masthead: add newlines in the snippets and reindent ( #32129 )
...
* Update masthead-followup.html
* Update single.html
2020-11-11 18:18:47 +02:00
XhmikosR
d4c3dc5351
docs.html: replace backslashes with forward slashes ( #32102 )
...
This resulted in wrong links when building the docs on Windows.
2020-11-09 20:47:55 +02:00
XhmikosR
4ed742e4db
Partially revert "Move this to a partial to work around the stray p
issue." ( #32076 )
...
This partially reverts commit 23ddfa99a3
.
2020-11-08 20:36:46 +02:00
XhmikosR
e8f1709adf
Drop Legacy Edge support.
...
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-05 15:37:34 +02:00
Mark Otto
d1dcc1e5e6
Update instances of .font-weight to .fw
2020-10-31 19:19:52 +01:00
XhmikosR
5a3f273b60
Move href
attribute first ( #31835 )
2020-10-22 09:38:15 +03:00
XhmikosR
afc0e83ecc
Update bs-table shortcode ( #31803 )
2020-10-22 09:32:46 +03:00
XhmikosR
28f18f84a7
docs: switch to suggesting jsDelivr as a CDN ( #31894 )
2020-10-19 11:25:31 +03:00
XhmikosR
f3cfc8e7ec
Revert "Improve callout shortcode. ( #31802 )" ( #31871 )
...
This reverts commit 5c6925385e
.
2020-10-13 16:37:21 +03:00
XhmikosR
5c6925385e
Improve callout shortcode. ( #31802 )
...
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown.
This allows for stuff like:
{{% callout info %}}
##### I'm an info callout!
```css
.foo {
color: #fff;
}
```
{{< example >}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Holy guacamole!</strong> You should check in on some of those fields below.
<button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button>
</div>
{{< /example >}}
{{% /callout %}}
2020-10-12 09:06:06 +03:00
XhmikosR
42ae96f26d
Update social.html: use article
when it's a page ( #31775 )
2020-09-29 19:28:03 +03:00
XhmikosR
476bd883ad
docs: remove pixels from SVGs ( #31791 )
...
It's the default unit.
2020-09-29 19:23:55 +03:00
XhmikosR
b083c9639f
Prepare v5.0.0-alpha2. ( #31748 )
2020-09-29 18:33:00 +03:00
XhmikosR
d862a9f276
Revert #31761 ( #31792 )
...
Revert "Re-optimize SVG"
This reverts commit 331566bc85
.
Revert "Move homepage-hero.svg to an img tag"
This reverts commit c24acf8d2c
.
2020-09-29 18:24:30 +03:00
Mark Otto
661577173d
Add new Bootstrap Icons homepage images
2020-09-28 19:22:53 +03:00
XhmikosR
c24acf8d2c
Move homepage-hero.svg to an img tag
2020-09-28 11:03:21 +03:00
Mark Otto
b060c9e3d2
Convert SVGs in navbar and subnav to pixels ( #31767 )
2020-09-28 10:39:29 +03:00
Mark Otto
74279460c2
v5: Adjust docs sidebar and navbar ( #31119 )
...
* Hide the docs nav on mobile, redesign it for two columns on narrow devices
* Tweak spacing on ToC
* Redesign sidebar and subnav
* Revamp subnav mobile layout so everything's on one line
* Tighten up masthead a little
* Switch the icon for the subnav and do a little icon toggling
* Fix mobile overflow since we changed guters stuff
* Add the widths
* make the subnav icon purple
2020-09-25 09:35:24 -07:00
XhmikosR
979c66b674
docs: link to the Asynchronous functions section ( #31738 )
2020-09-24 22:20:01 +03:00
XhmikosR
b5fb84a91d
docs: fix a few redirects ( #31689 )
...
* Fix GitHub's permanent redirects
* Fix a11yproject redirects
* Update postcss-loader repo URL to the current one
2020-09-17 20:01:04 +03:00
Mark Otto
512242943c
Rremove separate JS includes from homepage for simplicity's sake, but include a link to doing it separately
2020-09-15 08:57:19 +03:00
XhmikosR
7571fe73b6
docs: mention our bundle file clearly.
...
Note that we are using the bundle file already in our docs since 787441d
.
2020-09-15 08:57:19 +03:00
Gaël Poupard
28a92234e5
docs(layout): ensure content sits in main ( #31610 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:33:11 +03:00
Gaël Poupard
cbe4daff6f
docs(home): wrap all content in <main> & use <section> ( #31580 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:26:26 +03:00
XhmikosR
1b4bb95033
docs-navbar.html: add missing width
2020-09-10 11:56:02 +03:00
Gaël Poupard
5b37d03ff9
docs(placeholder): drop role=img and use aria-hidden for decorative SVG placeholders ( #31575 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-04 20:21:54 +03:00
Mark Otto
2d2b6759b6
Add view on GitHub links for easier content editing from the docs ( #31339 )
...
* Add view on GitHub links for easier content editing from the docs
* Update docs.html
* Move to .btn-bd-light
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 08:09:45 +03:00
Rohit Sharma
2ec2e138c9
Add toasts to the components requiring JavaScript ( #31344 )
2020-07-21 16:08:21 +03:00
Gaël Poupard
cb1eee16f0
docs(skippy): prevent skip links from overlapping header
2020-07-13 12:36:29 -07:00
Martijn Cuppens
7cedb8eeae
Fix sidebar jump ( #31232 )
2020-07-03 15:16:05 +02:00
Patrick H. Lauke
10690dd317
Rename sr-only
/sr-only-focusable
( #31139 )
...
* Rename `sr-only`/`sr-only-focusable`
To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-03 14:38:11 +03:00
XhmikosR
da9c7d12ab
Remove extra space
2020-07-01 15:21:43 +03:00
XhmikosR
daa45824d5
homepage-hero.svg: move defs
before g
2020-07-01 15:21:43 +03:00
XhmikosR
6c00c51d97
homepage: Fix wrong indentation ( #31211 )
2020-06-30 14:49:47 +01:00
XhmikosR
723cd8d12b
Prepare docs for v5.getbootstrap.com
...
* use v5.getbootstrap.com as the site URL/CNAME
* block robots from crawling
* specify next npm tag
2020-06-16 22:02:03 +03:00
XhmikosR
c28934cb18
Rename "master" to "main". ( #31050 )
2020-06-16 21:41:47 +03:00
XhmikosR
d126c1fe4e
Move homepage-hero.svg and improve compression
2020-06-16 21:19:32 +03:00
XhmikosR
a9519d6336
Remove the unused bootstrap-stack.svg
2020-06-16 21:19:32 +03:00
Mark Otto
69921580fd
Downsize SVG, add role=img
2020-06-16 21:19:32 +03:00
Mark Otto
e8a590f253
Center up the B in our logo a bit better
2020-06-16 21:19:32 +03:00
Mark Otto
442df2119b
Update navbar logo and hero image
2020-06-16 21:19:32 +03:00
Mark Otto
0cc66b4145
Update navbar and subnav to xxl container
2020-06-16 21:19:32 +03:00
Mark Otto
6ca54573a9
Update v5 homepage to match v4.5's changes
2020-06-16 21:19:32 +03:00
XhmikosR
e084588517
Fix social_image_path dimensions
2020-06-16 20:04:56 +03:00
XhmikosR
1776197c26
Remove IE-specific images/files.
2020-06-16 20:04:56 +03:00
Mark Otto
17768d2459
v5: New favicons
2020-06-16 20:04:56 +03:00
XhmikosR
358d637d1c
Read validate-forms.js from assets.
2020-06-03 15:57:20 +03:00
XhmikosR
08742abda3
shortcodes/example.html: allow specifying the highlighting language
2020-06-03 15:57:20 +03:00
Gaël Poupard
ad518e2097
Apply utilities in docs styles ( #30866 )
...
* docs(theming): apply utilities where possible
* Update docs-sidebar.html
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 19:02:19 +03:00
XhmikosR
3b06411402
homepage: fix headings hierarchy ( #30871 )
2020-05-20 13:04:36 +03:00
XhmikosR
38ec7c4df7
Bump version to 5.0.0-alpha1 ( #29925 )
...
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00
Regis Philibert
f979307833
Add a param shortcode to work around the escaped characters in hashes
2020-05-07 20:53:21 +03:00
XhmikosR
2bd3bd842d
Use safeHTMLAttr
in the integrity
attributes.
2020-05-07 20:53:21 +03:00
XhmikosR
df88748eb7
Add a script to zip the built examples ( #30130 )
2020-04-29 21:03:26 +03:00
XhmikosR
9922ef5c16
masthead-followup: Add missing traling slash ( #30681 )
2020-04-29 17:23:34 +03:00
Mark Otto
85ac2fc35e
Create a new table shortcode so we can easily add Bootstrap table classes to Markdown tables
2020-04-26 17:26:04 -07:00
Martijn Cuppens
d089a683c8
Prevent nested tables style leaks
2020-04-24 10:05:10 +02:00
Martijn Cuppens
b79e55fed4
Remove negative margins leftovers ( #30596 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-18 09:11:17 +03:00
XhmikosR
d2325b65c8
Improve docs-sidebar.html ( #30567 )
...
Reduce the output HTML
2020-04-17 18:47:19 +02:00
Mark Otto
7dedccfb9a
Update docs for new XXL grid tier
...
- Updates mentions of number and exact tiers
- Updates grid example to include xxl container
- Adds some scss-docs references
- Cleans up other grid mentions and docs
- Updates navbar example to include an expand at XXL variant
2020-04-13 14:40:47 -07:00