133 Commits

Author SHA1 Message Date
iBug
1e6bcecb5a
Release 4.26.2 💎 2024-06-15 17:53:30 +08:00
iBug
1a85a28685 Release 4.26.1 💎 2024-05-10 17:59:50 +08:00
iBug
573f286971 Limit "auto scroll ToC" to Chromium-based 2024-05-07 14:20:45 +08:00
iBug
438710da82 Disable copy button for bad pre blocks 2024-05-06 21:16:04 +08:00
iBug
14e3fa2b28 Add success indicator for code block copy button 2024-05-06 01:20:41 +08:00
iBug
dc965c5bbe Release 4.26.0 💎 2024-05-05 19:54:28 +08:00
iBug
148349b029 Update CHANGELOG and bundle exec rake 2024-05-05 19:44:28 +08:00
iBug
0527e17354
Add "copy to clipboard" button for code blocks (#2812)
* Add copy-to-clipboard button and JS

* Ignore line numbers if present

* Rewrite heading permalink code to use vanilla JS

* README: Add credits to zenorocha/clipboard.js (MIT License)

@iBug really wants a place here in the Credits section :P

* Add .no-copy for hiding the button, update docs

* Add td.rouge-code to selectors

* Fix navigator.clipboard branch

* Add screenreader text for copy button

* Restore focus to the button after copying

* Add site-wide enable switch
2024-05-05 19:43:24 +08:00
iBug
c76813f6f5 Remove "sticky sidebar" JS in favor of CSS media queries 2024-05-05 18:23:01 +08:00
iBug
9c386c5509 Update CHANGELOG and bundle exec rake 2024-05-05 17:36:35 +08:00
iBug
244eff763a bundle exec rake js 2024-05-05 15:28:01 +08:00
iBug
0b8b5230f9 Migrate npm run scripts to Rakefile tasks
Rakefile is like Makefile - it has dependency management,
while npm run scripts do not.

Aside from that, this also allows us to drop literally all Node.js packages,
as uglify-js is self-contained and has no dependencies.
Reduced node_modules from 17M to 374K.
2024-05-05 04:03:07 +08:00
iBug
bce2b50556 Fix logic error in toc-scroll 2024-05-05 01:26:25 +08:00
iBug
dc41016c62
Auto scroll sticky ToC with content (#3115) 2024-05-05 01:05:21 +08:00
iBug
6e94773083 Release 4.25.0 💎 2024-04-23 01:50:35 +08:00
Lars Olesen
df97788050
Update to Jquery 3.6.0 (#3254) 2022-05-27 10:12:25 -04:00
iBug
ff5b354a9a
Enable magnific popup on <a> tags only when it has <img> (#3114) 2021-08-08 14:01:59 -04:00
Michael Rose
00fa7be38b Release 4.24.0 💎 2021-07-05 16:32:52 -04:00
Michael Rose
65eb672dcc Release 4.23.0 💎 2021-05-14 19:34:33 -04:00
Michael Rose
ee67ad9743 FIx menu toggle
ref: #2957
2021-05-14 19:24:11 -04:00
Michael Rose
4556423b66 Release 4.22.0 💎 2021-02-05 20:53:57 -05:00
Michael Rose
144cfee5b7 Release 4.21.0 💎 2020-11-02 11:35:14 -05:00
Mitchell Skaggs
133dffe2f9
Update jQuery to 3.5.1 (#2713)
* Update jQuery to 3.5.1

Closes #2712

* Build NodeJS

Run using `npm run build:js`
2020-11-02 11:25:10 -05:00
Miguel Belardinelli Prytoluk
bdc8ac01e8 merging into master 2020-09-10 10:48:37 -03:00
Michael Rose
526445bffe Release 4.20.2 💎 2020-09-07 10:07:29 -04:00
Miguel Belardinelli Prytoluk
e0b0448f05 added css changes, modified jquery.greedy-navigation and built the main.min.js again 2020-08-28 17:41:29 -03:00
iBug ♦
b7144931c7
Change "fa" to "fas" for Font Awesome 5 (#2649)
* main.js: fa -> fas for FA 5

* Update CHANGELOG and history
2020-08-14 15:21:38 -04:00
Michael Rose
b4abce3b78 Release 4.20.1 💎 2020-08-04 12:33:22 -04:00
Michael Rose
cb18aaa7a0 Release 4.20.0 💎 2020-08-04 11:18:04 -04:00
Michael Rose
5021021fc8 Release 4.19.3 💎 2020-06-06 11:47:44 -04:00
Michael Rose
7ec8e90c76 Update GreedyNav.js 2020-06-06 10:30:54 -04:00
Michael Rose
7bdc8dc193 Release 4.19.2 💎 2020-05-01 11:47:01 -04:00
Michael Rose
6bc673d331 Release 4.19.1 💎 2020-03-16 21:31:23 -04:00
Michael Rose
864892c507 Bump dependencies 2020-03-16 10:45:33 -04:00
Michael Rose
7051c2b595 Update smooth-scroll.js to v16.1.2
Close #2430
2020-03-11 13:13:46 -04:00
Michael Rose
78f049abee Release 4.19.0 💎 2020-03-10 19:02:57 -04:00
Michael Rose
9c90563d1a Remove delay on menu close 2020-03-09 13:04:51 -04:00
Michael Rose
636ea3eb87 Release 4.18.1 💎 2020-01-25 11:18:44 -05:00
Michael Rose
ec0b288f9e Release 4.18.0 💎 2020-01-25 10:26:16 -05:00
Michael Rose
d4edd0c1e3
Release 4.17.2 💎 (#2296) 2019-10-27 20:22:16 -04:00
Michael Rose
6d28d12d1d
Flexbox sticky footer (#2289)
* Remove sticky footer JavaScript

* Use flexbox to force footer to the bottom of every page

* Fix flexbox in Internet Explorer
2019-10-21 10:41:36 -04:00
Michael Rose
29263ac102
Release 4.17.1 💎 (#2288) 2019-10-17 20:28:02 -04:00
Michael Rose
a101d668e8
Release 4.17.0 (#2275)
* Release 4.17.0 💎

* Update CHANGELOG and history
2019-10-04 20:00:23 -04:00
iBug ♦
3b3da46fea Show a permalink anchor when hovering over headings in main content (#2251)
* Implement heading permalinks, close #2246

Thanks to jekyll/jekyll for CSS.
Link anchor is visible when the mouse hovers over the title line.

* Build the updated _main.js
2019-10-04 10:59:44 -04:00
Michael Rose
5ab086cb4c Release 4.16.6 💎 2019-08-20 21:40:37 -04:00
Michael Rose
6311da0b16 Release 4.16.5 💎 2019-07-18 18:53:36 -04:00
Michael Rose
e664d1d4d6 Release 4.16.4 💎 2019-05-26 20:47:32 -04:00
Michael Rose
9b68374559 Release 4.16.3 💎 2019-05-03 23:07:46 -04:00
Michael Rose
93d29be369 Update jQuery to v3.4.1
ref #2137
2019-05-02 08:57:57 -04:00
Michael Rose
abf71c6b2a Update Gumshoe to v5.1.1
Fixes #2140
2019-04-30 08:26:53 -04:00