Julien Déramond
bef4f3b6c6
Fix StackBlitz edit feature by selecting the closest example
2022-03-31 14:04:57 +03:00
Puru Vijay
645f955845
docs: add a StackBlitz "Try It" button in code examples ( #35644 )
...
Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-03-09 17:32:58 +02:00
Julien Déramond
abe9d310ba
Site assets: .bd-bg-purple-bright
→ .bd-bg-violet
and drop unused .bd-text-purple-bright
2022-02-28 15:17:37 -08:00
Mark Otto
3e6265ac55
Rewrite custom docs buttons
...
- Use CSS variables wherever possible
- Rename purple-bright to violet for brevity, add CSS vars versions
- Rename download to accent
2022-02-14 19:00:59 -08:00
Mark Otto
a780d74b28
Docs offcanvas navbar ( #34487 )
...
* Redesign docs navbar to use offcanvas, tweak overall padding while I'm here
* Match code snippets to new gutter width
* Replace value with docs-specific variable
Opted not to do a CSS variable here since on .bd-content it would be inherited into our examples
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-03 10:08:01 +02:00
Julien Déramond
16aab88a67
docs: make use of the .Site.Params.docs_version
variable ( #34913 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 21:59:04 +03:00
XhmikosR
283cbd9026
Use path.Join
when joining paths
2021-08-31 17:24:38 +03:00
XhmikosR
9050b2698a
Remove .html
suffix from shortcodes calls.
...
It's the default.
2021-08-31 17:24:38 +03:00
acyoush
66ce774e2a
Fix site params variable on themes section
2021-07-06 11:25:12 -10: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
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
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
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
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
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
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
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
28f18f84a7
docs: switch to suggesting jsDelivr as a CDN ( #31894 )
2020-10-19 11:25:31 +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