Commit Graph

342 Commits

Author SHA1 Message Date
XhmikosR
72d3b6efc4
docs: migrate to the built-in sitemap template (#39951) 2024-05-02 10:19:47 +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
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
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
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
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
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
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
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
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)
It no longer works
2024-03-04 20:34:48 +02:00
XhmikosR
b75f637f4d
docs: clean up example.html (#39528) 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) 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