- 22 Nov, 2018 3 commits
-
-
Pixelastic authored
The latest (2.6.2) docsearch.js version now displays results as standard `<a href>` links, allowing users to `ctrl`-click on them to trigger default browser behavior of opening in a new tab. To maintain backward compatibility, this behavior has only been enabled to users that didn't define their own `handleSelected` method. This PR updates your `docsearch()` code to take advantage of the new `<a href>` template, by removing your custom `handleSelected` and moving its behavior to the `transformData` call. Namely, what you wanted to avoid was jumping to the first `<h1>` of the pages, which would prevent users from seeing the header. This PR checks if the suggestion targets the `#content` anchor (meaning it goes to this first `<h1>`) and remove it. Behavior should be the same, but at least now you can enjoy the `ctrl`-click :)
-
XhmikosR authored
-
ysds authored
-
- 21 Nov, 2018 5 commits
-
-
Roy Klutman authored
-
m5o authored
Previously we were using the old holder.js colors.
-
Martijn Cuppens authored
-
XhmikosR authored
-
XhmikosR authored
-
- 20 Nov, 2018 12 commits
-
-
Martijn Cuppens authored
-
XhmikosR authored
Leftover from old times.
-
XhmikosR authored
-
XhmikosR authored
-
XhmikosR authored
-
m5o authored
-
XhmikosR authored
* always include the title * make it possible to skip adding the title by passing `title=' '` * remove viewBox since we don't need it
-
Martijn Cuppens authored
-
XhmikosR authored
This allows us to generate the anchor links on build time. https://github.com/allejo/jekyll-anchor-headings
-
Tieson Trowbridge authored
-
ysds authored
-
- 19 Nov, 2018 1 commit
-
-
ysds authored
-
- 18 Nov, 2018 3 commits
-
-
ysds authored
-
Martijn Cuppens authored
-
Martijn Cuppens authored
-
- 17 Nov, 2018 3 commits
-
-
ysds authored
-
Christian Oliff authored
-
Martijn Cuppens authored
-
- 16 Nov, 2018 2 commits
-
-
XhmikosR authored
-
Iurii Kucherov authored
-
- 15 Nov, 2018 1 commit
-
-
XhmikosR authored
For Markdown files, this isn't needed because the Markdown converter takes care of this.
-
- 14 Nov, 2018 1 commit
-
-
Johann-S authored
-
- 13 Nov, 2018 9 commits
-
-
Martijn Cuppens authored
-
XhmikosR authored
-
Mark Otto authored
- Add headings to examples section - Clarify styles and customization options in examples - Add dismiss buttons to all toasts - Missing period added for consistency - Update roles, tweak text
-
Mark Otto authored
-
Laussel LOïc authored
Also remove close button everywhere just let it when autohide is set to false
-
Johann-S authored
-
Laussel Loïc authored
-
Johann-S authored
-
Johann-S authored
-