Julien Déramond
333d89e498
Docs: replace CSS by utilities in examples ( #35699 )
...
* Drop .opacity-50 and .opacity-75 redefinition in examples
* Drop unused .card-img-right from blog example CSS files
* Use line-height utilities when possible
* Use rounded-* utilities in examples
* Replace .nav-underline by .nav-scroller and use it in examples.html default
* Use .mb-1 for .blog-post-title
* Remove unused CSS rule and use .fw-* utilities for carousels examples
* Use utilities for cheatsheet examples
* Extract some CSS to utilities for .nav-masthead .nav-link in cover example
* Dashboard group of minor modifications
* Dropdowns example: refactoring
* Dropdowns example refactoring: fix linting by removing selector by id
* Features example refactoring
* Headers example refactoring
* List groups example refactoring
* Sidebars example refactoring
* Sign-in example refactoring
* Starter template refactoring
* Fix RTL examples
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-02-23 10:31:18 -08:00
XhmikosR
ae12d645ef
Replace AnchorJS with a Hugo render hook ( #32953 )
...
* Replace AnchorJS with a Hugo render hook
* docs(anchors): improve aria-label on anchor links
* docs(anchors): show anchor link when ed
* docs(anchors): add hash in pseudo-element
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-02-19 15:16:23 +02: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
Julien Déramond
520cc8de92
Docs: group together reusable CSS for examples in a single stylesheet ( #35649 )
...
* Docs: group together examples reusable CSS in a stylesheet
* Use pointer-events utility in sidebars example
* Remove @import and move the content into _default/examples.html. Handle 2 sorts of dividers
* Remove footers.css extra css declaration
* Fix modals example
* Review: remove .b-example-hr
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-01-19 13:27:57 +02: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
f22966c920
example: remove unneeded escape characters
2021-08-31 17:24:38 +03:00
XhmikosR
5cc633dfab
Minor shortcode tweaks and consistency changes
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
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
Mark Otto
e3583115c6
Clarify media query using .02px and bump from callout to warning
2020-04-13 13:55:34 -07:00
Mark Otto
33a4e8ff9b
Rewrite grid docs to account for new grid tier
...
- Breaks grid content across multiple pages
- Updates mentions of grid tiers from five to six
- Rewrites how it works sections to reference new options and tiers
2020-04-13 13:55:34 -07:00
Mark Otto
bb3e5f712a
Move table of contents to new sidebar, restyle it to be simpler
2020-04-13 13:55:34 -07:00
Martijn Cuppens
8fe162d67a
Remove redundant class and line height ( #30542 )
2020-04-09 21:25:09 +03:00
Martijn Cuppens
83b49aa688
Create scss-docs
shortcode to get some snippets from the Scs… ( #30502 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 20:13:35 +02:00
Martijn Cuppens
43d866313d
Fix active state dropdown
2020-03-31 22:52:57 +02:00
Martijn Cuppens
c48d89cb70
Use unordered lists in dropdown-menus
2020-03-31 22:52:57 +02:00
Martijn Cuppens
4448856038
Simplify sidebar styles
2020-03-28 17:57:22 +02:00
Gaël Poupard
9efaeba35e
docs(sidenav): use class selector for active item
2020-03-28 17:57:22 +02:00
Gaël Poupard
72230091b6
docs(sidenav): get rid of custom JS for active state
2020-03-28 17:57:22 +02:00
Gaël Poupard
79dc21b22b
docs(sidenav): fix struggling CSS when collapsing sidenav
2020-03-28 17:57:22 +02:00
Gaël Poupard
5f58b3df2c
docs(sidenav): use collapse components
2020-03-28 17:57:22 +02:00
XhmikosR
8411c37974
Fix links after #30041
2020-03-24 22:05:26 +02:00
Gaël Poupard
9eccb3a230
Documentation skip links ( #30073 )
...
* docs(skip-links): add a skip to main navigation skip link
* docs(skip-links): revamp skip-links pattern
* docs(navs): use aria-label on navs
* docs(navs): use 'docs navigation' label in sidebar nav
2020-03-23 16:23:37 +02:00
Martijn Cuppens
25d2eac45b
Use a link helper instead of the text color utility
2020-03-23 14:11:29 +01:00
XhmikosR
018a94c9c1
Remove Internet Explorer leftovers
2020-03-18 20:59:27 +02:00
XhmikosR
13b27f8a09
Update docs-navbar.html ( #30418 )
...
Open icons in a new tab like the rest of the external links
2020-03-18 20:52:58 +02:00
Christian Oliff
f59ed75ba3
Remove unneeded og:image:secure_url from social.html ( #30362 )
...
The image is always available over HTTPS anyway
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-08 10:06:49 +02:00
XhmikosR
7eaf7528fc
Add loading="lazy"
in images ( #30199 )
2020-03-05 10:12:59 +02:00
XhmikosR
414314f3cb
Switch versions & docs search ( #30336 )
2020-03-05 10:01:15 +02:00
XhmikosR
b8ffcdf9a4
Use hugo.Environment
instead of getenv
( #29240 )
...
This is set automatically to "development" when the local server is running, and to "production" when Hugo builds the site.
2020-02-22 08:54:43 +02:00
XhmikosR
f1e47e24c3
scripts.html: don't load docsearch JS when it's not needed ( #30205 )
2020-02-17 20:52:28 +02:00
XhmikosR
b9f6c29459
homepage: reduce margin and padding for small devices ( #30195 )
2020-02-17 20:35:11 +02:00
XhmikosR
737308ae47
Update docs-versions.html ( #29971 )
...
Remove old versions
2020-02-16 21:55:21 +02:00
Mark Otto
22062ed9d7
Docs table of contents list style fix ( #30176 )
...
* Fix missing bullets from table of contents top level
* Add .text-muted to toc for lighter bullets
2020-02-15 09:40:27 +02:00
Mike Rogers
6933bd4a1d
Adding version number to documentation <title>
( #30090 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-14 20:35:08 +01:00
Martijn Cuppens
9aee71776d
Fix logo alignment for IE ( #29955 )
2020-02-14 14:09:46 +01:00
Martijn Cuppens
6f4784c8bb
Docs navbar tweaks ( #29948 )
2020-02-13 13:45:33 +01:00
Gaël Poupard
96ac6068b3
Use aria-current
where appropriate ( #30079 )
2020-02-07 13:18:30 +02:00
Gaël Poupard
8f94ed8e30
docs(SVG placeholder): add focusable=false to placeholder SVGs ( #30075 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-06 09:01:02 +02:00
Martijn Cuppens
b39f704954
Cleanup algolia theming ( #29888 )
2019-12-25 21:08:15 +01:00
XhmikosR
4dfcb035cf
Add v4.4.1 in versions ( #29747 )
2019-12-14 17:07:28 +02:00
XhmikosR
9894000b42
Remove the now unused docs-search.html partial ( #29799 )
2019-12-04 13:24:55 +02:00
XhmikosR
972369c997
Tighten regex a bit.
...
If we need to make this more robust in the future, we can revert this as needed.
2019-11-04 15:32:29 +02:00
XhmikosR
e40b3355f0
example.html: use double quotes
2019-11-04 15:32:29 +02:00
Christopher Morrissey
04acb679ab
Example shortcode: use a regex and simplify logic.
2019-11-04 15:32:29 +02:00
XhmikosR
a28adc7666
Move docs JS one folder up. ( #29632 )
2019-11-04 14:44:07 +02:00
Mark Otto
1fa337cc20
Add link to Icons site in our docs ( #29544 )
2019-10-18 10:28:16 +03:00
XhmikosR
129bb08fc4
Use Hugo for our docs Sass and JS. ( #29280 )
...
Now there's only one command needed to run the docs: `npm run docs-serve`.
Also, simplify the npm scripts.
2019-09-17 00:22:49 +03:00
XhmikosR
fbeed6f1d9
Darken footer color.
2019-09-16 23:41:57 +03:00
Martijn Cuppens
b6b96c174b
Docs tweaks
...
- Simplify display headings example markup
- Simplify footer styles
- Remove z-indices hacks in the docs
- Remove redundant modal styling in docs
- Use `escape-svg()` to escape docs sidebar chevron
- Simplify sidebar chevron code
- Cleanup masthead css & fix column width between `md` & `lg`
- Easier to download logo's with the `download` attribute.
- Changed some color codes into variables
- Cleanup brands css
2019-09-06 18:06:13 +03:00