75 Commits

Author SHA1 Message Date
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
7e7b901974 Add Rake task :version
For updating all hard-coded version numbers from `package.json`
2024-05-05 05:52:08 +08:00
iBug
7daa7aceb3 Try sticky ToC on all docs pages 2024-05-05 01:08:35 +08:00
iBug
1b06aff3bc Release 4.25.1 💎 2024-04-28 01:13:45 +08:00
iBug
7d61488f5e Update quick-start guide to use 4.25.0, fix #4809 2024-04-28 00:39:25 +08:00
iBug
8d3592ff70 Consolidate hard-coded version numbers where possible
Now only 4 files left untouchable.
Search README.md for "Dev note" for details.
2024-04-23 01:28:03 +08:00
Nathan Cho
a6b51ed91e
Fix broken link & Add Baidu site verification (#3139)
* Fix broken link
Link to Bing Webmaster Tools was broken.

* Fix broken link
Link to Open Graph debug tool was broken.

* Add Baidu site verification (mmistakes#2830)
Added `baidu_site_verification` to `_config.yml`
2021-10-19 11:19:29 -04:00
Michael Rose
3c075fe76b Update version 2021-07-05 16:34:03 -04:00
Sean Killeen
297989c1be
Add giscus support (#3022)
* Add script in same style as utterances

But adjusted for the various filed differences

* Add initial script

* Add default settings

* Update changelog

* Add feature to readme

* Add comments html

* add comment provider include

* update config in docs

* Add URL for additional reference

* docs for giscus comments

* Unrelated bugfix: add missing version separator

So that things match the "history" doc.

* add space

* update history doc

* update about doc

* add to test config yaml

* remove unnecessary / incorrect async attribute

* probably should pass the right config paths

* lowercase the repo name

* Update docs to address '1' and '0' for reactions_enabled

Figured I'd match the giscus format rather than convert a boolean to an int there.

* update two additional docs

* docs wording fix
2021-07-05 16:08:28 -04:00
Michael Rose
e134d13e45 Bump theme version 2021-05-14 19:36:48 -04:00
Michael Rose
4556423b66 Release 4.22.0 💎 2021-02-05 20:53:57 -05:00
Michael Rose
b24f69a71f Update remote_theme version 2020-11-02 11:36:35 -05:00
Michael Rose
ab19c77ac9 Bump theme version 2020-09-07 10:08:23 -04:00
Michael Rose
5741539e17 Update remote_theme version 2020-08-04 12:34:53 -04:00
Michael Rose
95ba9242bf Update remote_theme 2020-08-04 11:22:09 -04:00
Scott M
a0309bba05
Fix config comment to list all analytics providers. (#2607)
The main config was properly updated with the google-gtag
feature commit (79d0b75683a4c13787b117e9e612073586fa21be), but was
removed, possibly by bad merge, with an unrelated commit
(bac26e96b21f846df6ede382e8c7ee4019564eab) two days later.

The docs and test configs appear to have never received the initial
google-gtag update.
2020-07-22 15:46:44 -04:00
Michael Rose
776ab26ce1 Update theme version 2020-06-06 11:49:40 -04:00
Michael Rose
7a4b65711d Bump version to 4.19.2 2020-05-01 11:51:54 -04:00
Michael Rose
2d0b445634 Bump theme version 2020-03-16 21:32:15 -04:00
Michael Rose
78f049abee Release 4.19.0 💎 2020-03-10 19:02:57 -04:00
Michael Rose
60f0f1c33a Remove deprecated Staticman v1 config
Close #2386
2020-03-09 12:31:42 -04:00
Michael Rose
e1724aec9d Lock demo site at version 4.18.1
ref: https://github.com/mmistakes/minimal-mistakes/issues/2429
2020-03-09 10:15:17 -04:00
Michael Rose
5eaa0e5ec8 Fix typo in comments in _config.yml 2019-11-12 15:00:44 -05:00
Michael Rose
bd2d947a55 Add emphasis 2019-07-24 10:17:14 -04:00
Michael Rose
75c120f56d Add site subtitle 2019-07-17 11:54:13 -04:00
Michael Rose
3bbfeac62d Document site.subtitle 2019-07-17 11:50:21 -04:00
Christian Oliff
64a34ee5ae add www to facebook.com link (#2160) 2019-05-20 09:11:59 -04:00
Michael Rose
59111d1e01 Remove Google+
Google+ is being shutdown on April 2, 2019. Social sharing buttong, comment provider, and author link configs have been removed from the theme.

ref: https://support.google.com/plus/answer/9195133
2019-03-05 18:53:30 -05:00
Michael Rose
8eb880aaa0 Revert "Add Staticman app endpoint to docs site"
This reverts commit 67c08a05fd738b9acea8010db621438a593bb0c6.
2019-02-11 15:55:47 -05:00
Michael Rose
67c08a05fd Add Staticman app endpoint to docs site 2019-02-11 15:53:51 -05:00
Evan Debenham
282806ae07 Add logo and title customization to the masthead (#2026)
* Add logo and title customization to the masthead

* Adjust config description

* Add test site logo to `/test`

* Document `site.logo` and `site.masthead_title`

* Update CHANGELOG and history
2019-01-15 09:07:56 -05:00
Michael Rose
a974e45712 Update 2019-01-08 08:45:57 -05:00
Michael Rose
edaf61b3ef Disable comments 2018-11-25 22:11:05 -05:00
Michael Rose
a2620d34f6
Add support for utterances (#1966)
* Add support for utterances
* Add utterances config documentation
* Update CHANGELOG and history

Close #1909
2018-11-21 14:59:14 -05:00
Michael Rose
e704cd40d4
Cache "static" includes to improve build performance (#1874)
* Add jekyll-include-cache plugin
* Cache "static" includes to improve build performance
* Update CHANGELOG and history

"Static" refers to those includes that don't rely on data passed from the page content.
2018-10-04 15:48:26 -04:00
Maxime Michel
4bd6efc323 Allow custom Staticman endpoints (#1845) 2018-09-21 09:49:58 -04:00
Michael Rose
1504379168 Improve footer link flexibility
Deprecate hardcoded footer links in favor or new `footer.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
footer:
  links:
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```
2018-09-10 15:06:50 -04:00
Michael Rose
42de7a56fc Improve author link flexibility
Deprecate social networking links in `_config.yml` in favor or new `author.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
author:
  links:
    - label: "Your Website"
      icon: "fas fa-fw fa-link"
      url: "https://your-site.com"
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```

Fixes #1581
2018-09-10 15:05:07 -04:00
Michael Rose
f9c418c740 Update Staticman commit message to include name 2018-08-10 08:04:00 -04:00
Michael Rose
ddd5b7a9c5 Revert "Test jekyll-algolia 1.4.0"
This reverts commit 74d7e838ee5f96b4a02e7da56480044cdb46168f.
2018-05-04 15:12:56 -04:00
Michael Rose
89a6f9bf4b Revert "Fix gem name"
This reverts commit 1c57e7cd43b993e6cf03a5e84b6a6c0b4aee8cea.
2018-05-04 15:12:45 -04:00
Michael Rose
1c57e7cd43 Fix gem name 2018-05-04 15:04:37 -04:00
Michael Rose
74d7e838ee Test jekyll-algolia 1.4.0 2018-05-04 15:02:18 -04:00
Michael Rose
0bd3cf599c Anonymize IP addresses for GA 2018-05-03 14:31:40 -04:00
Michael Rose
4a03354667 Activate Algolia search on documenation site 2018-03-09 14:52:47 -05:00
Michael Rose
acdd3443de
Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Michael Rose
7d48f1cae1 Remove remote-theme from plugins and whitelist array
remote-theme gem is a dependency of GitHub Pages and doesn't need to be assigned in the `_config.yml` anymore.
2018-01-09 14:19:09 -05:00
Michael Rose
3c3634fe2c Use master branch version of remote theme 2018-01-09 14:02:04 -05:00
Michael Rose
1976b564e8 Test SEO and author fixes 2018-01-08 11:15:27 -05:00
Nick Garlis
3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00