Commit Graph

2846 Commits

Author SHA1 Message Date
accc82a03b Add "new in v4.26.0" in documentation 2024-05-05 19:50:50 +08:00
148349b029 Update CHANGELOG and bundle exec rake 2024-05-05 19:44:28 +08:00
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
c76813f6f5 Remove "sticky sidebar" JS in favor of CSS media queries 2024-05-05 18:23:01 +08:00
4364fb73f5 Cleanup seo.html and update CHANGELOG 2024-05-05 18:13:23 +08:00
dfaac405f0 Fix SEO title when it contains a vertical bar (#3113)
* Do not markdownify title

* Support markup in titles

* Support markup in titles

* Fix seo.html as reviewed

* seo_title is now unconditionally computed

---------

Co-authored-by: iBug <git@ibugone.com>
2024-05-05 18:07:23 +08:00
9c386c5509 Update CHANGELOG and bundle exec rake 2024-05-05 17:36:35 +08:00
2f5e771072 Split schema to a separate include file (#3085)
* Make changes to schema easier

* Only show on one page not on all pages

* Move schema.html to _includes/ and move the URL guard out

---------

Co-authored-by: iBug <git@ibugone.com>
2024-05-05 17:35:22 +08:00
16103c6d49 Remove overlay and revert X to hamburger icon when popup disappears (#3958)
the `.hidden-links` popup disappears after you move the cursor out of it.
However, the white overlay on the screen does not disappear, as well as the `x` nav button on the top-right, remains as is.
Now when you click anywhere on the screen the popup appears again, and the `x` nav button turns back to a hamburger menu button.

And when you click on the hamburger menu, the popup disappears. now it's happening the exact opposite.

To remedy this, the pop up menu as well as the `x` nav button should also return back to normal once the popup disappears.

This commit fixes this issue.
2024-05-05 17:34:12 +08:00
bf66a5c345 Update CHANGELOG and history 2024-05-05 17:28:01 +08:00
ceeda03132 Add target attribute for navigation link (#3056) 2024-05-05 17:12:37 +08:00
f1ffad4b5e Update CHANGELOG and history 2024-05-05 17:05:01 +08:00
162f659f61 Add popup parameter for figure include (#3119) 2024-05-05 17:03:40 +08:00
adae207d17 Revert f3c617f on _includes/figure to make way for #3119 2024-05-05 17:02:09 +08:00
4b08acb115 Update CHANGELOG and history 2024-05-05 16:45:18 +08:00
d240efaa7c Merge branch 'master' of GitHub:mmistakes/minimal-mistakes 2024-05-05 16:45:03 +08:00
0378a31f53 Update Social Sharing links section (#4066)
* Update 10-layouts.md

Update social sharing section for appropriate Reddit example and resource locations.

* Update as reviewed

---------

Co-authored-by: iBug <git@ibugone.com>
2024-05-05 16:44:40 +08:00
d47d62f695 Update CHANGELOG and history 2024-05-05 16:30:51 +08:00
64b1d429a4 Multiple Sidebar Nav Lists (#2843)
Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
Co-authored-by: iBug <git@ibugone.com>
2024-05-05 16:29:54 +08:00
244eff763a bundle exec rake js 2024-05-05 15:28:01 +08:00
25ce47de8c Rakefile: Add jQuery to uglify targets
Regression of 0b8b5230f
2024-05-05 15:27:23 +08:00
256e626503 Merge categories and tags layout into _includes/posts-taxonomy.html 2024-05-05 14:13:28 +08:00
1d3fd5d7d6 Update README 2024-05-05 05:54:53 +08:00
f8ea22fdb8 Update CHANGELOG and history 2024-05-05 05:53:41 +08:00
7e7b901974 Add Rake task :version
For updating all hard-coded version numbers from `package.json`
2024-05-05 05:52:08 +08:00
f33349c2ee Update CHANGELOG and history 2024-05-05 04:37:14 +08:00
ed883ea2d4 Remove deprecated "page.header.cta_url" setting (#4821) 2024-05-05 04:35:57 +08:00
ab42c3ba1d Gemfile: No newline at end of file 2024-05-05 04:28:03 +08:00
b278dac7fb Merge banner.js into Rake task
Also let uglify-js produce source map for easier debugging
2024-05-05 04:13:39 +08:00
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
6165d896a0 Replace "hidden" check in Liquid with where_exp 2024-05-05 03:18:27 +08:00
bde92b6d4a page__hero.html: Fix an unclosed <p> tag 2024-05-05 02:36:17 +08:00
271b5da8e5 04-upgrading.md: Minor formatting and grammar fixes 2024-05-05 02:35:06 +08:00
bce2b50556 Fix logic error in toc-scroll 2024-05-05 01:26:25 +08:00
7daa7aceb3 Try sticky ToC on all docs pages 2024-05-05 01:08:35 +08:00
3ed92f5ea8 Update CHANGELOG and history 2024-05-05 01:06:18 +08:00
dc41016c62 Auto scroll sticky ToC with content (#3115) 2024-05-05 01:05:21 +08:00
7ef6af66e4 Remove unused classes from _layouts/single.html 2024-05-05 00:32:30 +08:00
4b0c8bd1b9 Add .notice--danger for unsupported settings in j-p-v2 2024-05-05 00:07:59 +08:00
9ac9602e22 Add proper support for sverrirs' Jekyll Paginate V2 plugin (excl. AutoPages) (#2636) 2024-05-05 00:05:12 +08:00
f3c617f7de Add documentation for the incoming Jekyll Paginate V2 support 2024-05-05 00:00:45 +08:00
753ccbbd03 Rewrite skin previews on 05-configuration.md in Liquid template 2024-05-04 23:32:06 +08:00
1b06aff3bc Release 4.25.1 💎 2024-04-28 01:13:45 +08:00
7ea8510d4f Fix where_exp for Jekyll < 4.0
'and' and 'or' are new in Jekyll 4.0.
Ref: https://stackoverflow.com/posts/comments/111965719
2024-04-28 00:56:17 +08:00
7d61488f5e Update quick-start guide to use 4.25.0, fix #4809 2024-04-28 00:39:25 +08:00
a7af9b0ad2 Replace dead link in _includes/head.html, close #4421 2024-04-26 00:45:41 +08:00
4310b5459c Try an FAQ page 2024-04-26 00:43:42 +08:00
f8f6e589ac Replace fontawesome.com/v5/search with v6 2024-04-24 00:51:38 +08:00
172a5169f1 Bump jekyll-toc to v1.2.1 2024-04-23 21:52:22 +08:00
48ed1444b9 Update CHANGELOG and history 2024-04-23 13:54:48 +08:00