just-the-docs 0.5.2 → 0.5.4
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 +45 -0
- data/_sass/base.scss +1 -1
- data/_sass/labels.scss +10 -6
- data/_sass/print.scss +1 -1
- data/_sass/search.scss +2 -2
- data/_sass/support/_variables.scss +20 -20
- data/_sass/support/mixins/_layout.scss +1 -1
- data/_sass/support/support.scss +0 -1
- data/_sass/tables.scss +1 -1
- metadata +2 -3
- data/_sass/support/_functions.scss +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 986143230e171f827a5a5b1305f3e3f90483b528098811ea2abe8732dcf0ea55
|
4
|
+
data.tar.gz: f47ff09e5cbf500df3b411b496dd478a1e0f89d62daf01cab1ca7bb33a48940a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38aa0de5e1e0d5c32c5769fdc4fc8cba569799c179688c755c4d33b84707a66e7546983d9e915677a74a2c57307e13c2436f62f9f4d21e4463bcee807bfeea5d
|
7
|
+
data.tar.gz: 31125488864c34d27ef32875b478f642cfdb9fac73131788b1933ac47a952ea3e842990dcc55c5c282eefa5b3b4261c848c727d10be80a75e6c403f0f98a7be8
|
data/CHANGELOG.md
CHANGED
@@ -26,6 +26,51 @@ Docs changes in `main` that are *not* in the latest release:
|
|
26
26
|
|
27
27
|
- N/A
|
28
28
|
|
29
|
+
## Release v0.5.4
|
30
|
+
|
31
|
+
Hi all, this is a small patch release that only includes one change: fixing a style clash between Mermaid's labels and Just the Docs' labels.
|
32
|
+
|
33
|
+
*Note: for subsequent patch releases, we will omit migration instructions (for brevity). In all cases, immediate migration should be backwards-compatible. Refer to previous major or minor update instructions for more information.*
|
34
|
+
|
35
|
+
### Bugfixes
|
36
|
+
|
37
|
+
- Fixed: Mermaid labels inheriting theme `.label` styling by [@mattxwang] in [#1278]
|
38
|
+
|
39
|
+
[#1278]: https://github.com/just-the-docs/just-the-docs/pull/1278
|
40
|
+
|
41
|
+
## Release v0.5.3
|
42
|
+
|
43
|
+
Hi all, this is a minor patch release that only includes one change: changing all text-based CSS properties to use `rem` instead of hard-coded `px` values. This has two effects:
|
44
|
+
|
45
|
+
1. All deprecation warnings are now fixed on build; you should now get a clean build with `jekyll build`.
|
46
|
+
2. We have **deprecated the `$root-font-size` SCSS variable**. We will remove it in an upcoming release of the theme.
|
47
|
+
|
48
|
+
If you use the stock Just the Docs theme, this release should have no impact on your final built site. If you change the `$root-font-size` SCSS variable, you might experience light layout shifts.
|
49
|
+
|
50
|
+
### Using Release `v0.5.3`
|
51
|
+
|
52
|
+
Users who have not pinned the theme version will be **automatically upgraded to `v0.5.3` the next time they build their site**.
|
53
|
+
|
54
|
+
To use this release explicitly as a remote theme:
|
55
|
+
|
56
|
+
```yml
|
57
|
+
remote_theme: just-the-docs/just-the-docs@v0.5.3
|
58
|
+
```
|
59
|
+
|
60
|
+
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`:
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
gem "just-the-docs", "0.5.3"
|
64
|
+
```
|
65
|
+
|
66
|
+
To use and pin a previous version of the theme, replace the `0.5.3` with the desired release tag.
|
67
|
+
|
68
|
+
### Bugfixes
|
69
|
+
|
70
|
+
- Fixed: font-size scaling for text-related CSS properties by using `rem` instead of fixed `px` values; deprecate `$root-font-size` by [@mattxwang] in [#1169]
|
71
|
+
|
72
|
+
[#1169]: https://github.com/just-the-docs/just-the-docs/pull/1169
|
73
|
+
|
29
74
|
## Release v0.5.2
|
30
75
|
|
31
76
|
Hi all, this is a minor patch release that mostly focuses on accessibility. Since we follow semantic versioning, this should be a smooth upgrade with no breaking changes.
|
data/_sass/base.scss
CHANGED
data/_sass/labels.scss
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
// Labels (not the form kind)
|
2
2
|
|
3
|
-
.
|
4
|
-
.label
|
3
|
+
// this :not() prevents a style clash with Mermaid.js's
|
4
|
+
// diagram labels, which also use .label
|
5
|
+
// for more, see https://github.com/just-the-docs/just-the-docs/issues/1272
|
6
|
+
// and the accompanying PR
|
7
|
+
.label:not(g),
|
8
|
+
.label-blue:not(g) {
|
5
9
|
display: inline-block;
|
6
10
|
padding: 0.16em 0.56em;
|
7
11
|
margin-right: $sp-2;
|
@@ -15,19 +19,19 @@
|
|
15
19
|
border-radius: 12px;
|
16
20
|
}
|
17
21
|
|
18
|
-
.label-green {
|
22
|
+
.label-green:not(g) {
|
19
23
|
background-color: $green-200;
|
20
24
|
}
|
21
25
|
|
22
|
-
.label-purple {
|
26
|
+
.label-purple:not(g) {
|
23
27
|
background-color: $purple-100;
|
24
28
|
}
|
25
29
|
|
26
|
-
.label-red {
|
30
|
+
.label-red:not(g) {
|
27
31
|
background-color: $red-200;
|
28
32
|
}
|
29
33
|
|
30
|
-
.label-yellow {
|
34
|
+
.label-yellow:not(g) {
|
31
35
|
color: $grey-dk-200;
|
32
36
|
background-color: $yellow-200;
|
33
37
|
}
|
data/_sass/print.scss
CHANGED
data/_sass/search.scss
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
width: 100%;
|
43
43
|
height: 100%;
|
44
44
|
padding: $sp-2 $gutter-spacing-sm $sp-2 #{$gutter-spacing-sm + $sp-5};
|
45
|
-
font-size:
|
45
|
+
font-size: 1rem;
|
46
46
|
color: $body-text-color;
|
47
47
|
background-color: $search-background-color;
|
48
48
|
border-top: 0;
|
@@ -53,7 +53,7 @@
|
|
53
53
|
|
54
54
|
@include mq(md) {
|
55
55
|
padding: $sp-2 $gutter-spacing-sm $sp-2 #{$gutter-spacing + $sp-5};
|
56
|
-
font-size:
|
56
|
+
font-size: 0.875rem;
|
57
57
|
background-color: $body-background-color;
|
58
58
|
transition: padding-left linear #{$transition-duration * 0.5};
|
59
59
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
$body-font-family: system-ui, -apple-system, blinkmacsystemfont, "Segoe UI",
|
4
4
|
roboto, "Helvetica Neue", arial, sans-serif !default;
|
5
5
|
$mono-font-family: "SFMono-Regular", menlo, consolas, monospace !default;
|
6
|
-
$root-font-size: 16px !default; //
|
6
|
+
$root-font-size: 16px !default; // DEPRECATED: previously base font-size for rems
|
7
7
|
$body-line-height: 1.4 !default;
|
8
8
|
$content-line-height: 1.6 !default;
|
9
9
|
$body-heading-line-height: 1.25 !default;
|
@@ -11,18 +11,18 @@ $body-heading-line-height: 1.25 !default;
|
|
11
11
|
// Font size
|
12
12
|
// `-sm` suffix is the size at the small (and above) media query
|
13
13
|
|
14
|
-
$font-size-1:
|
15
|
-
$font-size-1-sm:
|
16
|
-
$font-size-2:
|
17
|
-
$font-size-3:
|
18
|
-
$font-size-4:
|
19
|
-
$font-size-5:
|
20
|
-
$font-size-6:
|
21
|
-
$font-size-7:
|
22
|
-
$font-size-8:
|
23
|
-
$font-size-9:
|
24
|
-
$font-size-10:
|
25
|
-
$font-size-10-sm:
|
14
|
+
$font-size-1: 0.5625rem !default;
|
15
|
+
$font-size-1-sm: 0.625rem !default;
|
16
|
+
$font-size-2: 0.6875rem !default; // h4 - uppercased!, h6 not uppercased, text-small
|
17
|
+
$font-size-3: 0.75rem !default; // h5
|
18
|
+
$font-size-4: 0.875rem !default;
|
19
|
+
$font-size-5: 1rem !default; // h3
|
20
|
+
$font-size-6: 1.125rem !default; // h2
|
21
|
+
$font-size-7: 1.5rem !default;
|
22
|
+
$font-size-8: 2rem !default; // h1
|
23
|
+
$font-size-9: 2.25rem !default;
|
24
|
+
$font-size-10: 2.625rem !default;
|
25
|
+
$font-size-10-sm: 3rem !default;
|
26
26
|
|
27
27
|
// Colors
|
28
28
|
|
@@ -95,22 +95,22 @@ $border-color: $grey-lt-100 !default;
|
|
95
95
|
|
96
96
|
$gutter-spacing: $sp-6 !default;
|
97
97
|
$gutter-spacing-sm: $sp-4 !default;
|
98
|
-
$nav-width:
|
99
|
-
$nav-width-md:
|
98
|
+
$nav-width: 16.5rem !default;
|
99
|
+
$nav-width-md: 15.5rem !default;
|
100
100
|
$nav-list-item-height: $sp-6 !default;
|
101
101
|
$nav-list-item-height-sm: $sp-8 !default;
|
102
102
|
$nav-list-expander-right: true;
|
103
|
-
$content-width:
|
104
|
-
$header-height:
|
103
|
+
$content-width: 50rem !default;
|
104
|
+
$header-height: 3.75rem !default;
|
105
105
|
$search-results-width: $content-width - $nav-width !default;
|
106
106
|
$transition-duration: 400ms;
|
107
107
|
|
108
108
|
// Media queries in pixels
|
109
109
|
|
110
110
|
$media-queries: (
|
111
|
-
xs:
|
112
|
-
sm:
|
111
|
+
xs: 20rem,
|
112
|
+
sm: 31.25rem,
|
113
113
|
md: $content-width,
|
114
114
|
lg: $content-width + $nav-width,
|
115
|
-
xl:
|
115
|
+
xl: 87.5rem,
|
116
116
|
) !default;
|
data/_sass/support/support.scss
CHANGED
data/_sass/tables.scss
CHANGED
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.4
|
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-
|
12
|
+
date: 2023-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -140,7 +140,6 @@ files:
|
|
140
140
|
- _sass/print.scss
|
141
141
|
- _sass/search.scss
|
142
142
|
- _sass/skiptomain.scss
|
143
|
-
- _sass/support/_functions.scss
|
144
143
|
- _sass/support/_variables.scss
|
145
144
|
- _sass/support/mixins/_buttons.scss
|
146
145
|
- _sass/support/mixins/_layout.scss
|