just-the-docs 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -2
- data/assets/js/just-the-docs.js +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83da987642bb3ab4e6effd437df8ba6f9bfeffc3a165d3b616acacd02557d6a9
|
|
4
|
+
data.tar.gz: 5e8c992d3e888e62762b1cfc0a6c09687f4846273241b30afb9f504f3ee93011
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0102310b666323d527447ed3c0794a119801730b41c058aa6467921dbccb1d145d57f6776046a539395181b9d154448098178f2aa19b13ab493dcc646191d60
|
|
7
|
+
data.tar.gz: c44bcffa016a9769b09105d567c3280aaa9e2e60914622d20438ddfb7aeac938adafdf98bc382edb61176c994ed9b518320be248189107033a7e072945dfce50
|
data/CHANGELOG.md
CHANGED
|
@@ -20,11 +20,60 @@ This website includes docs for some new features that are not available in `v0.5
|
|
|
20
20
|
|
|
21
21
|
Code changes to `main` that are *not* in the latest release:
|
|
22
22
|
|
|
23
|
-
-
|
|
23
|
+
- N/A
|
|
24
24
|
|
|
25
25
|
Docs changes in `main` that are *not* in the latest release:
|
|
26
26
|
|
|
27
|
-
-
|
|
27
|
+
- N/A
|
|
28
|
+
|
|
29
|
+
## Release v0.5.1
|
|
30
|
+
|
|
31
|
+
Hi all, this is a very small minor patch release that has two small behavioral bugfixes: fixing a regression introduced in `v0.5.0` on Safari versions `<16.4` (broken media query), and the copy code button providing incorrect feedback in insecure browser contexts. This should be a smooth upgrade with no breaking changes.
|
|
32
|
+
|
|
33
|
+
As always, we'd love your feedback. [Open an issue](https://github.com/just-the-docs/just-the-docs/issues) or [start a discussion](https://github.com/just-the-docs/just-the-docs/discussions) for bug reports, feature requests, and any other feedback. Thanks for continuing to use Just the Docs!
|
|
34
|
+
|
|
35
|
+
### Using Release `v0.5.1`
|
|
36
|
+
|
|
37
|
+
Users who have not pinned the theme version will be **automatically upgraded to `v0.5.1` the next time they build their site**.
|
|
38
|
+
|
|
39
|
+
To use this release explicitly as a remote theme:
|
|
40
|
+
|
|
41
|
+
```yml
|
|
42
|
+
remote_theme: just-the-docs/just-the-docs@v0.5.1
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
To use this version explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install` or `bundle update just-the-docs`:
|
|
46
|
+
|
|
47
|
+
```ruby
|
|
48
|
+
gem "just-the-docs", "0.5.1"
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
To use and pin a previous version of the theme, replace the `0.5.1` with the desired release tag.
|
|
52
|
+
|
|
53
|
+
### Bugfixes
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- Fixed: disable copy code button in insecure contexts [@rmoff] in [#1226]
|
|
57
|
+
- Fixed: context-based media feature not supported by Safari `<16.4` by [@mattxwang] in [#1240]
|
|
58
|
+
|
|
59
|
+
### Documentation
|
|
60
|
+
|
|
61
|
+
- Added: document copy code button requiring secure context by [@rmoff] in [#1225]
|
|
62
|
+
- Fixed: typo ("them" → "theme") in MIGRATION.md by [@waldyrious] in [#1219]
|
|
63
|
+
- Fixed: `font-weight` typo (Utilities > Typography) by [@mattxwang] in [#1229]
|
|
64
|
+
- Fixed: `just the docs` typo in migration guide by [@mattxwang] in [#1230]
|
|
65
|
+
|
|
66
|
+
### New Contributors
|
|
67
|
+
- [@rmoff] made their first contribution in [#1225]
|
|
68
|
+
|
|
69
|
+
[#1219]: https://github.com/just-the-docs/just-the-docs/pull/1219
|
|
70
|
+
[#1225]: https://github.com/just-the-docs/just-the-docs/pull/1225
|
|
71
|
+
[#1226]: https://github.com/just-the-docs/just-the-docs/pull/1226
|
|
72
|
+
[#1229]: https://github.com/just-the-docs/just-the-docs/pull/1229
|
|
73
|
+
[#1230]: https://github.com/just-the-docs/just-the-docs/pull/1230
|
|
74
|
+
[#1240]: https://github.com/just-the-docs/just-the-docs/pull/1240
|
|
75
|
+
|
|
76
|
+
[@rmoff]: https://github.com/rmoff
|
|
28
77
|
|
|
29
78
|
## Release v0.5.0
|
|
30
79
|
|
data/assets/js/just-the-docs.js
CHANGED
|
@@ -488,6 +488,11 @@ jtd.onReady(function(){
|
|
|
488
488
|
|
|
489
489
|
jtd.onReady(function(){
|
|
490
490
|
|
|
491
|
+
if (!window.isSecureContext) {
|
|
492
|
+
console.log('Window does not have a secure context, therefore code clipboard copy functionality will not be available. For more details see https://web.dev/async-clipboard/#security-and-permissions');
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
|
|
491
496
|
var codeBlocks = document.querySelectorAll('div.highlighter-rouge, div.listingblock > div.content, figure.highlight');
|
|
492
497
|
|
|
493
498
|
// note: the SVG svg-copied and svg-copy is only loaded as a Jekyll include if site.enable_copy_code_button is true; see _includes/icons/icons.html
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: just-the-docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick Marsceill
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2023-04-
|
|
12
|
+
date: 2023-04-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|