just-the-docs 0.3.3 → 0.4.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +484 -0
  3. data/README.md +18 -5
  4. data/_includes/css/callouts.scss.liquid +93 -0
  5. data/_includes/css/just-the-docs.scss.liquid +2 -1
  6. data/_includes/favicon.html +1 -0
  7. data/_includes/head.html +6 -1
  8. data/_includes/icons/external_link.html +5 -0
  9. data/_includes/mermaid_config.js +1 -0
  10. data/_includes/nav.html +48 -5
  11. data/_includes/nav_footer_custom.html +0 -0
  12. data/_includes/search_placeholder_custom.html +1 -0
  13. data/_layouts/default.html +52 -29
  14. data/_sass/base.scss +5 -4
  15. data/_sass/buttons.scss +0 -2
  16. data/_sass/code.scss +20 -211
  17. data/_sass/color_schemes/dark.scss +15 -4
  18. data/_sass/color_schemes/light.scss +208 -0
  19. data/_sass/content.scss +27 -19
  20. data/_sass/custom/custom.scss +4 -0
  21. data/_sass/labels.scss +1 -2
  22. data/_sass/layout.scss +3 -2
  23. data/_sass/modules.scss +1 -5
  24. data/_sass/navigation.scss +29 -3
  25. data/_sass/print.scss +1 -1
  26. data/_sass/search.scss +1 -2
  27. data/_sass/support/_functions.scss +4 -4
  28. data/_sass/support/_variables.scss +8 -32
  29. data/_sass/support/mixins/_layout.scss +1 -1
  30. data/_sass/tables.scss +1 -2
  31. data/_sass/typography.scss +6 -6
  32. data/_sass/utilities/_colors.scss +0 -2
  33. data/_sass/utilities/_layout.scss +9 -3
  34. data/_sass/utilities/_lists.scss +1 -3
  35. data/_sass/utilities/_spacing.scss +1 -4
  36. data/_sass/utilities/_typography.scss +0 -6
  37. data/_sass/vendor/OneDarkJekyll/LICENSE +21 -0
  38. data/_sass/vendor/OneDarkJekyll/README.md +25 -0
  39. data/_sass/vendor/OneDarkJekyll/colors.less +30 -0
  40. data/_sass/vendor/OneDarkJekyll/syntax-firewatch-green.scss +200 -0
  41. data/_sass/vendor/OneDarkJekyll/syntax-firewatch.scss +200 -0
  42. data/_sass/vendor/OneDarkJekyll/syntax-one-dark-vivid.scss +200 -0
  43. data/_sass/vendor/OneDarkJekyll/syntax-one-dark.scss +200 -0
  44. data/_sass/vendor/OneDarkJekyll/syntax-variables.less +56 -0
  45. data/_sass/vendor/OneDarkJekyll/syntax.less +93 -0
  46. data/_sass/vendor/normalize.scss/normalize.scss +4 -2
  47. data/assets/images/large-image.jpg +0 -0
  48. data/assets/images/small-image.jpg +0 -0
  49. data/assets/js/just-the-docs.js +15 -2
  50. data/assets/js/zzzz-search-data.json +3 -3
  51. data/favicon.ico +0 -0
  52. data/lib/tasks/search.rake +1 -1
  53. metadata +36 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0e639b03de7ff73dc4226935d3fc021ead88b3edc55c6efc68824c06fd8847c
4
- data.tar.gz: 3e47409e50632b2cf5af0b8234a54fdb81998113771ef8bfcc6efb6ebc5d1469
3
+ metadata.gz: 3aa28801ecd375b6f33c05fe2a01d6c1d2c9349e8f492fe4333ed1ec31e88e29
4
+ data.tar.gz: 364fbb35634041dc11794946c9ece4dbfadce4d856611c9cd91098753015c4eb
5
5
  SHA512:
6
- metadata.gz: d0c799638046d8577432f98dfc2feb459f58ff2d4eee328c7a68aaa898376f9dfffc2dfe940d00303b2019215ceb528e98b4fa7043908ef62f25fdb001c9658d
7
- data.tar.gz: 185ac87f4811ab3b36320dda173e57d2105447955795b8272bb9c3f9adf93502b48c9592355c547412047610ec24dbc448b702ae54ca8be588a49403c8c5f879
6
+ metadata.gz: 2e553b4e9136153159ff4a91864ad1e5ec4aa99cfa45a882e5c881ae45e21f3cd957872118c6e7dc8fd37b9a66828ca2837f10dd744f9dbffcdf378a1e9e66c0
7
+ data.tar.gz: 1c924c9add4ebc1e2471b27126524918906067f25d3afecc5bbe8ae1d1307ee3a921906540f7a1c4a34fb159614b9c9ba602cee9ddbdaaa17124a71c50d1c6a7
data/CHANGELOG.md ADDED
@@ -0,0 +1,484 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ *Note:* the project underwent a maintenance shift in the creation of v0.4.0.
6
+
7
+ ## v0.4.0.rc1
8
+
9
+ ### We're back!
10
+
11
+ Hi all! The Just the Docs team is excited to have our first release in over two years! This release is jam-packed with features and bugfixes that have been requested by the community since 2020. They include:
12
+
13
+ - The new callouts component
14
+ - Allowing pages and collections to coexist on the navigation pane
15
+ - New styling: dark syntax highlighting, support for jekyll-asciidoc, word-wrapping instead of overflow for various elements
16
+ - More customization: external nav links, custom nav footers, favicon includes, search color and placeholder configuration, mermaid.js support, and nav sorting
17
+ - Over 20 bugfixes! Big ones include fixing the `rake` command, using `relative_url`, and search input color
18
+ - More documentation, especially on using custom includes.
19
+ - Updating core dependencies to stable Ruby versions
20
+ - A WIP [template repository](https://github.com/just-the-docs/just-the-docs-template) that allows you to setup your own repository using Just the Docs and GitHub Pages with one click - give it a shot! More documentation, etc. is on the way!
21
+
22
+ We want your feedback! Are these changes helpful? Are our docs easy to understand? Should new features like `mermaid` be opt-in or opt-out? Please [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) and let us know!
23
+
24
+ ### Trying out `v0.4.0.rc1`
25
+
26
+ Due to the massive scope of these changes, we're releasing `v0.4.0.rc1` as a **release candidate** for the theme, with `v0.4.0` coming soon. We want your help in testing the theme! As of now, the gem on RubyGems and the repository are updated to `v0.4.0.rc1` - if your version of Just the Docs is not pinned, you'll see the changes the next time you build / run `bundle install` (if you don't use a `Gemfile.lock`) or `bundle update just-the-docs` (if you do).
27
+
28
+ To use this RC explicitly as a remote theme:
29
+
30
+ ```yml
31
+ remote_theme: just-the-docs/just-the-docs@v0.4.0.rc1
32
+ ```
33
+
34
+ To use this RC explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install`:
35
+
36
+ ```Ruby
37
+ gem "just-the-docs", "0.4.0.rc1"
38
+ ```
39
+
40
+ ### Staying on `v0.3.3`
41
+
42
+ If you're not ready to make the switch, that's alright! If your version of just-the-docs is pinned to `v0.3.3` (i.e. by a `Gemfile.lock` or in `remote_theme`, then there's nothing you need to do.
43
+
44
+ If you have not pinned your theme version, you should either:
45
+
46
+ 1. pin your gem version in your `Gemfile`, like so
47
+ ```Ruby
48
+ gem "just-the-docs", "0.3.3"
49
+ ```
50
+ 2. freeze the `remote_theme`, like so
51
+ ```yml
52
+ remote_theme: just-the-docs/just-the-docs@v0.3.3
53
+ ```
54
+
55
+ **Warning**: Use of branches for closed PRs (e.g., https://github.com/just-the-docs/just-the-docs/pull/466, https://github.com/just-the-docs/just-the-docs/pull/578) is now deprecated, as those branches have been (directly or indirectly) merged, and they will be deleted after the release of `v0.4.0.rc1`.
56
+
57
+ ### Maintenance
58
+
59
+ Internally, our maintainer team has expanded: [Patrick Marsceill](https://github.com/pmarsceill), the original maintainer, has stepped down from an active role after almost 4 years! We're very thankful for the work that he's done to create and maintain one of the most popular Jekyll themes. Please join us in giving him thanks!
60
+
61
+ The new core team currently consists of @mattxwang, @pdmosses, @skullface, @dougaitken, and @max06. Over the past six months, we've been triaging and merging in PRs, as well as contributing our own fixes. We'll continue to address open issues, merge in PRs from the community, and plan out the future of Just the Docs. If you'd like to contribute, now is a great time!
62
+
63
+ ### Roadmap
64
+
65
+ In the short-term, we're committed to tidying up everything for a `v0.4.0` release. This involves fixing bugs reported from the community in this release, as well as continually merging in minor PRs.
66
+
67
+ We're also scoping out medium and long-term projects, and want to keep you in the loop. These include:
68
+
69
+ - upgrading to Jekyll 4, and stopping support for Jekyll 3
70
+ - improved accessibility - issues [#566](https://github.com/just-the-docs/just-the-docs/issues/566), [#870](https://github.com/just-the-docs/just-the-docs/issues/870)
71
+ - internationalization (i18n) - issue [#59](https://github.com/just-the-docs/just-the-docs/issues/59)
72
+ - recursive/multi-level navigation - PR [#462](https://github.com/just-the-docs/just-the-docs/pull/462)
73
+ - toggleable dark mode - issue [#234](https://github.com/just-the-docs/just-the-docs/issues/234)
74
+
75
+ as well as DX improvements like better regression tests, CI, and tooling. If you're interested in any of these, please join us [on GitHub](https://github.com/just-the-docs/just-the-docs) - any contribution (raising an issue, writing docs, or submitting a PR) is welcome!
76
+
77
+ ### Features
78
+
79
+ * Added: Combination by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/578
80
+ - Added: dark highlighting in https://github.com/just-the-docs/just-the-docs/pull/463
81
+ - Added: pages and collections in https://github.com/just-the-docs/just-the-docs/pull/448
82
+ - Added: callouts in https://github.com/just-the-docs/just-the-docs/pull/466
83
+ - Fixed: breadcrumb behaviour … by @AdityaTiwari2102 in https://github.com/just-the-docs/just-the-docs/pull/477
84
+ - Fixed: prevent rake command corrupting search data in https://github.com/just-the-docs/just-the-docs/pull/495 (also listed below)
85
+ - Fixed: nested lists in https://github.com/just-the-docs/just-the-docs/pull/496
86
+ - Fixed: set color for search input in https://github.com/just-the-docs/just-the-docs/pull/498 (also listed below)
87
+ - Fixed: sites with no child pages (no PR)
88
+ - Fixed: TOC/breadcrumbs for multiple collections in https://github.com/just-the-docs/just-the-docs/pull/494
89
+ - Added: collection configuration option `nav_fold` (no PR)
90
+ - Fixed: indentation and color for folded collection navigation (no PR)
91
+ - Fixed: scroll navigation to show the link to the current page in https://github.com/just-the-docs/just-the-docs/pull/639
92
+ - Fixed: Replace all uses of `absolute_url` by `relative_url`, by @svrooij in https://github.com/just-the-docs/just-the-docs/pull/544
93
+ * Added: custom favicon `_includes` by @burner1024 in https://github.com/just-the-docs/just-the-docs/pull/364
94
+ * Added: set color for search input by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/498
95
+ * Added: search placeholder configuration by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/613
96
+ * Added: 'child_nav_order' front matter to be able to sort navigation pages in reverse by @jmertic in https://github.com/just-the-docs/just-the-docs/pull/726
97
+ * Added: `nav_footer_custom` include by @nathanjessen in https://github.com/just-the-docs/just-the-docs/pull/474
98
+ * Added: style fixes for jekyll-asciidoc by @alyssais in https://github.com/just-the-docs/just-the-docs/pull/829
99
+ * Added: mermaid.js support by @nascosto in https://github.com/just-the-docs/just-the-docs/pull/857
100
+ * Added: support for external navigation links by @SPGoding in https://github.com/just-the-docs/just-the-docs/pull/876
101
+ * Added: refactor `mermaid` config to use `mermaid_config.js` include, only require `mermaid.version` in `_config.yml` by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/909
102
+ * Fixed: prepend `site.collections_dir` if exists by @alexsegura in https://github.com/just-the-docs/just-the-docs/pull/519
103
+ * Fixed: nested task lists (#517) by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/855
104
+ * Fixed: suppress Liquid processing in CSS comments by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/686
105
+ * Fixed: prevent rake command from corrupting search data by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/495
106
+ * Fixed: anchor heading links should be visible on focus by @jacobhq in https://github.com/just-the-docs/just-the-docs/pull/846
107
+ * Fixed: add `overflow-x: auto` to `figure.highlight` by @iridazzle in https://github.com/just-the-docs/just-the-docs/pull/727
108
+ * Fixed: add `overflow-wrap: word-break` to `body` by @iridazzle in https://github.com/just-the-docs/just-the-docs/pull/889
109
+ * Fixed: vertical alignment for consecutive labels by @Eisverygoodletter in https://github.com/just-the-docs/just-the-docs/pull/893
110
+ * Fixed: allow links to wrap by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/905
111
+ * Fixed: nav scroll feature and absolute/relative URLs by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/898
112
+
113
+ ### Documentation
114
+
115
+ * Added: docs on how to break an `ol` by @pdmosses in https://github.com/just-the-docs/just-the-docs/pull/856
116
+ * Added: docs for custom includes by @nathanjessen in https://github.com/just-the-docs/just-the-docs/pull/806
117
+ * Added: document caveat about variable dependencies by @waldyrious in https://github.com/just-the-docs/just-the-docs/pull/555
118
+ * Added: docs on how to use `custom_head` to add a custom favicon by @UnclassedPenguin in https://github.com/just-the-docs/just-the-docs/pull/814
119
+ * Fixed: `ol` on `index.md` by @pmarsceill in https://github.com/just-the-docs/just-the-docs/pull/778
120
+ * Fixed: image link in Markdown kitchen sink by @JeffGuKang in https://github.com/just-the-docs/just-the-docs/pull/221
121
+ * Fixed: images in Markdown kitchen sink by @dougaitken in https://github.com/just-the-docs/just-the-docs/pull/782
122
+ * Fixed: clearer label of link to Jekyll quickstart by @waldyrious in https://github.com/just-the-docs/just-the-docs/pull/549
123
+ * Fixed: remove extra spaces in component docs by @MichelleBlanchette in https://github.com/just-the-docs/just-the-docs/pull/554
124
+ * Fixed: double "your" typo in `index.md` by @sehilyi in https://github.com/just-the-docs/just-the-docs/pull/499
125
+ * Fixed: "you" -> "your" typo in `index.md` by @nathanjessen in https://github.com/just-the-docs/just-the-docs/pull/473
126
+ * Fixed: spacing in toc example by @henryiii in https://github.com/just-the-docs/just-the-docs/pull/835
127
+ * Fixed: typo in `README` on `_config.yml` by @ivanskodje in https://github.com/just-the-docs/just-the-docs/pull/891
128
+ * Fixed: missing code fence in navigation structure docs by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/906
129
+
130
+ ### Maintenance
131
+
132
+ * Added: VScode devcontainer by @max06 in https://github.com/just-the-docs/just-the-docs/pull/783
133
+ * Added: `webrick` to `Gemfile` by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/799
134
+ * Added: 'This site is powered by Netlify.' to the footer by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/797
135
+ * Updated: new repo path by @pmarsceill in https://github.com/just-the-docs/just-the-docs/pull/775
136
+ * Updated: rename `master` -> `main` by @pmarsceill in https://github.com/just-the-docs/just-the-docs/pull/776
137
+ * Updated: README by @pmarsceill in https://github.com/just-the-docs/just-the-docs/pull/777
138
+ * Updated: Code of Conduct to Contributor Covenant v2.1 by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/790
139
+ * Updated: CI files, Ruby & Node Versions by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/820
140
+ * Updated: Stylelint to v14, extend SCSS plugins, remove primer-* configs, resolve issues by @mattxwang in https://github.com/just-the-docs/just-the-docs/pull/821
141
+
142
+ ### Dependencies
143
+ * Upgrade to GitHub-native Dependabot by @dependabot-preview in https://github.com/just-the-docs/just-the-docs/pull/627
144
+ * [Security] Bump y18n from 3.2.1 to 3.2.2 by @dependabot-preview in https://github.com/just-the-docs/just-the-docs/pull/606
145
+ * [Security] Bump hosted-git-info from 2.7.1 to 2.8.9 by @dependabot-preview in https://github.com/just-the-docs/just-the-docs/pull/641
146
+ * [Security] Bump lodash from 4.17.19 to 4.17.21 by @dependabot-preview in https://github.com/just-the-docs/just-the-docs/pull/640
147
+ * [Security] Bump ini from 1.3.5 to 1.3.8 by @dependabot-preview in https://github.com/just-the-docs/just-the-docs/pull/511
148
+ * Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in https://github.com/just-the-docs/just-the-docs/pull/699
149
+ * Bump ajv from 6.10.0 to 6.12.6 by @dependabot in https://github.com/just-the-docs/just-the-docs/pull/766
150
+ * Bump prettier from 2.1.2 to 2.5.1 by @dependabot in https://github.com/just-the-docs/just-the-docs/pull/787
151
+ * Bump prettier from 2.5.1 to 2.6.2 by @dependabot in https://github.com/just-the-docs/just-the-docs/pull/809
152
+ * Bump prettier from 2.6.2 to 2.7.1 by @dependabot in https://github.com/just-the-docs/just-the-docs/pull/864
153
+
154
+ ### New Contributors
155
+ * @alexsegura made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/519
156
+ * @burner1024 made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/364
157
+ * @JeffGuKang made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/221
158
+ * @dougaitken made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/782
159
+ * @max06 made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/783
160
+ * @sehilyi made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/499
161
+ * @nathanjessen made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/473
162
+ * @waldyrious made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/549
163
+ * @MichelleBlanchette made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/554
164
+ * @henryiii made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/835
165
+ * @jmertic made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/726
166
+ * @jacobhq made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/846
167
+ * @UnclassedPenguin made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/814
168
+ * @alyssais made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/829
169
+ * @nascosto made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/857
170
+ * @SPGoding made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/876
171
+ * @iridazzle made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/727
172
+ * @ivanskodje made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/891
173
+ * @Eisverygoodletter made their first contribution in https://github.com/just-the-docs/just-the-docs/pull/893
174
+
175
+ **Full Changelog**: https://github.com/just-the-docs/just-the-docs/compare/v0.3.3...v0.4.0.rc1
176
+
177
+ ## v0.3.3
178
+
179
+ ### 🚀 Features
180
+
181
+ - Add custom header and footer include files @CodeSandwich (#334)
182
+
183
+ ### 🐛 Bug Fixes
184
+
185
+ - Limit the effect of `nav_exclude` to the main navigation @pdmosses (#443)
186
+ - Update normalize.scss @pdmosses (#444)
187
+ - Update code.scss @pdmosses (#445)
188
+ - Fix list alignment @pdmosses (#446)
189
+
190
+ ### 🧰 Maintenance
191
+
192
+ - Bump stylelint-config-primer from 9.0.0 to 9.2.1 @dependabot-preview (#451)
193
+ - Bump stylelint from 13.6.1 to 13.7.2 @dependabot-preview (#440)
194
+ - Bump @primer/css from 15.1.0 to 15.2.0 @dependabot-preview (#436)
195
+ - Bump prettier from 2.1.1 to 2.1.2 @dependabot-preview (#429)
196
+
197
+ ## v0.3.2
198
+
199
+ ### Changes
200
+
201
+ - Safe page sorting @pdmosses (#411)
202
+ - v0.3.2 @pmarsceill (#388)
203
+
204
+ ### 🚀 Features
205
+
206
+ - make font-sizes sass variables so they can be changed @pdebruic (#361)
207
+ - run the site locally inside docker container @fogfish (#398)
208
+ - Feature/doc collections @SgtSilvio (#379)
209
+ - Adjust dl layout @pdmosses (#401)
210
+
211
+ ### 🐛 Bug Fixes
212
+
213
+ - Add site.gh_edit_source to "Edit this page on GitHub" link @mrfleap (#418)
214
+ - Inhibit text-transform for code in h4 @pdmosses (#404)
215
+ - Fix native font stack precedence issue on Windows systems. @hvianna (#331)
216
+ - Support for the linenos option on highlighted code @pdmosses (#375)
217
+ - Update anchor_headings.html @pdmosses (#399)
218
+ - Fix https @marksie1988 (#359)
219
+
220
+ ### 🧰 Maintenance
221
+
222
+ - Bump prettier from 2.0.5 to 2.1.1 @dependabot-preview (#427)
223
+ - Bump prettier from 2.0.5 to 2.1.1 @dependabot-preview (#419)
224
+ - [Security] Bump lodash from 4.17.15 to 4.17.19 @dependabot-preview (#389)
225
+ - Bump @primer/css from 14.4.0 to 15.1.0 @dependabot-preview (#402)
226
+ - Bump lodash from 4.17.15 to 4.17.19 @dependabot (#384)
227
+ - Bump @primer/css from 14.4.0 to 15.0.0 @dependabot-preview (#371)
228
+
229
+
230
+ ## v0.3.1
231
+
232
+ ### Changes
233
+
234
+ ### 🐛 Bug Fixes
235
+
236
+ - Improve accessibility by adding label to Anchor links. @mscoutermarsh (#376)
237
+
238
+ ### 🧰 Maintenance
239
+
240
+ - Remove collapsible TOC on nav doc @pmarsceill (#368)
241
+ - Pdmosses collapsible toc @pmarsceill (#367)
242
+
243
+
244
+ ## v0.3.0
245
+
246
+ ### Changes
247
+
248
+ - v0.2.9 @pmarsceill (#306)
249
+
250
+ ### 🚀 Features
251
+
252
+ - Add print styles @pmarsceill (#362)
253
+ - Navigation improvements and search sections @SgtSilvio (#352)
254
+
255
+ ### 🐛 Bug Fixes
256
+
257
+ - Remove constraint with jekyll 4.1.0 @PierrickMartos (#348)
258
+
259
+ ### 🧰 Maintenance
260
+
261
+ - Bump version numbers @pmarsceill (#360)
262
+ - Bump stylelint from 13.3.3 to 13.6.1 @dependabot-preview (#343)
263
+ - Bump stylelint-config-prettier from 8.0.1 to 8.0.2 @dependabot-preview (#349)
264
+
265
+
266
+ ## v0.2.9
267
+
268
+ ### Bug fixes
269
+ - Horizontal Alignment #103 @pmarsceill
270
+ - Code snippet in headers do not inherit font size #140 @pmarsceill
271
+ - Fix duplicated title and description tags #294 @iefserge
272
+ - Update nav.html for handling nav_exclude #282 @blawqchain
273
+ - Fix duplicate entries in nav.html and default.html #239 @KasparEtter
274
+ - Don't show pages with no title (e.g. redirects in nav) https://github.com/pmarsceill/just-the-docs/pull/295/commits/672de29f2e332a9350af7237e4fb6693c848989e @SgtSilvio
275
+ - [SEARCH RAKE] Fix search generator #319 @RoiArthurB
276
+
277
+ ### Enhancements
278
+ - Improvement/custom themes #186 @SgtSilvio
279
+ - feat: adds "edit this page" and "page last modified" to footer #217 @malsf21
280
+ - feat: adds option to open aux links in new tab #229 @malsf21
281
+ - Default nav order #236 @pdmosses
282
+ - Enable IP anonymization in Google Analytics (GDPR) #250 @r-brown
283
+
284
+ closes #240 #308 #266 #140 #103
285
+
286
+ ## v0.2.8
287
+
288
+ ### Bugfixes
289
+ - bugfix in search.rake #218 @tiaitsch85
290
+
291
+ ### Dependency and security updates:
292
+
293
+ - Update jekyll requirement from ~> 3.8.5 to >= 3.8.5, < 4.1.0 #197 @dependabot-preview
294
+ - Update rake requirement from ~> 12.3.1 to >= 12.3.1, < 13.1.0 #227 @dependabot-preview
295
+ - Bump stylelint-config-primer from 8.0.0 to 9.0.0 #247 @dependabot-preview
296
+ - Update bundler requirement from ~> 2.0.1 to ~> 2.1.4 #268 @dependabot-preview
297
+ - Bump @primer/css from 12.7.0 to 14.3.0 #296 @dependabot-preview
298
+
299
+ ### Operations
300
+
301
+ - Update CI to test multiple versions of Jekyll
302
+ - Update CI to check the rake command that builds the search file
303
+
304
+ fixes #291 #256 #293 #177
305
+
306
+ ## v0.2.7
307
+
308
+ ### Bugs fixed
309
+ - Anchor headings are now displayed on hover, not only on heading hover
310
+ - Deduplicated anchor heading svg
311
+ - If last page of `site.html_pages` was excluded from search, search json breaks
312
+ - Config variable should be `blanklines` not `blank_lines` for html compression
313
+ - `list-style-none` does not hide bullets on `ul`
314
+
315
+ ### Enhancements
316
+ - Summary for child pages appears in generated TOC
317
+ - Site logo configuration supported replacing title text with image
318
+ - Allow custom CSS overrides (new scss partial at the end of the cascade) separate from variable overrides.
319
+ - Configuration around search strings added to allow search for hyphenated words
320
+
321
+ ### Maintenance
322
+ - Update docs to suggest using index.md as section page filename
323
+ - Bump @primer/css from 12.6.0 to 12.7.0
324
+ - Bump mixin-deep from 1.3.1 to 1.3.2
325
+ - Bump stylelint-config-primer from 7.0.1 to 8.0.0
326
+
327
+ ### PR included
328
+ - #98 by @stefanoborini Introduces the possibility for a summary in the table of contents
329
+ - #141 by @ghabs Fix trailing comma bug in search-data.json
330
+ - #153 by @jacobherrington Change button copy on theme preview
331
+ - #181 by @m3nu Recommend using index.md as parent page for sections
332
+ - #183 by @SgtSilvio Improve heading anchors
333
+ - #187 by @SgtSilvio Improvement/site logo
334
+ - #200 Bump mixin-deep from 1.3.1 to 1.3.2
335
+ - #203 by @pdmosses Search config
336
+ - #205 by @pdmosses Fix blank_lines var to blanklines in config.yml
337
+ - #206 by @iamcarrico Allow for custom overrides by the user
338
+ - #208 Bump @primer/css from 12.6.0 to 12.7.0
339
+ - #213 Bump mixin-deep from 1.3.1 to 1.3.2
340
+ - #214 Bump stylelint-config-primer from 7.0.1 to 8.0.0
341
+ - #215 Bump @primer/css from 12.6.0 to 12.7.0
342
+
343
+ ## v0.2.6
344
+
345
+ ### Bugs fixed
346
+ - Google Analytics tag has been updated #162
347
+ - ~BaseURL has been modified #109~ Reverted -- seems the existing implementation worked
348
+ - Titles can now wrap fixes #106
349
+
350
+ ### Enhancements
351
+ - Search now displays content preview #135
352
+ - Custom footer content added #179
353
+ - Now using GitHub Actions for CI #170
354
+
355
+ ### Maintenance
356
+ - lunrjs upgraded #135
357
+ - Nav generation is optimized #159
358
+ - Stylelint upgrade #143
359
+ - Stylelint config primer upgrade #149
360
+ - Lodash upgrade #160
361
+
362
+ ### PR included
363
+ ~#109 by @daviddarnes - Fix baseurl link~ Reverted
364
+ #135 by @SgtSilvio - Upgrades lunr.js, improves search UI, adds heading anchors
365
+ #152 by @yavorg - Improves syntax highlighting for js readablity
366
+ #159 by @julienduchesne - Optimizes nav generation
367
+ #162 by @nergmada - Modifies the google analytics code to match the new tags used by GA
368
+
369
+
370
+ ## v0.2.5
371
+
372
+ ### Bugs fixed
373
+
374
+ - Duplicate title tag when Jekyll SEO Plugin gem is used #125 #126
375
+
376
+ ### Enhancements
377
+
378
+ - Favicon support added #118
379
+
380
+ ### Maintenance
381
+ - Bump stylelint-config-primer from 6.0.0 to 7.0.0 #123
382
+ - Bump @primer/css from 12.2.3 to 12.3.1 #129
383
+ - Add workflow to publish to GPR
384
+ - Fix workflow to publish to Ruby Gems
385
+
386
+ ## v0.2.4
387
+
388
+ ### Bugs
389
+
390
+ - #102 Remove unnecessary console.log() @JoeNyland
391
+ - #97 Import custom Sass variable overrides before default variables are defined @montchr and @ptvandi
392
+
393
+ ### Additions
394
+ - #117 Add links to docs for setting up GH pages locally @gnarea
395
+ - #95 Add SEO and 'lang' param for `_config` @gebeto
396
+
397
+ ## v0.2.3
398
+
399
+ ### Enhancements
400
+ - Adds ability to use Google Analytics tracking by @pmarsceill
401
+
402
+ ### Bug fixes
403
+ - Fixes 404 error for "/assets/js//search-data.json" by @stephenedmondson
404
+ - Fixes #80 Single quotes in the string were unescaped and ruby attempted variable substitution of amp within it (which failed) by @novelistparty
405
+ - Fixes bug that would only show 2 or more search results (not one) by @ilivewithian
406
+ - Fixes a typo on the layout example by @woernfl
407
+ - Fixes #78 Page scroll position too far down on load by @pmarsceill
408
+ - Fixds ability to nest ul in ol without breaking style or counters
409
+
410
+ ### Dependency updates
411
+ - Bumps stylelint dependency from 9.9.0 to 9.10.1
412
+
413
+ ## v0.2.2
414
+
415
+ - Bumps stylelint-config-primer to 3.0.1 #44
416
+ - Bumps bundler req to 2.0.1 #61
417
+ - Adds custom 404 page
418
+ - Excludes package-lock.json from jekyll build #47
419
+ - Fixes keyboard scrolling / focus #48
420
+ - Adds ARIA roles to navigation elements
421
+ - Adds support for optional page description metadata (if present in yaml front matter)
422
+ - Addresses some issues with search in #46
423
+ - Option to hide TOC on parent pages if turned off in page's YAML front matter #30
424
+ - Option to suppress an item from being indexed by search if present in page's YAML front matter #32
425
+
426
+ ## v0.2.1
427
+
428
+ This update fixes security vulnerablities in the lodash sub-dependency and bumps other dev dependencies to their latest version.
429
+
430
+ ## v0.2.0
431
+
432
+ Adds:
433
+ - Dark mode via `color_scheme` parameter
434
+ - Ability to exclude a page from the main nav with `nav_exclude` parameter closes #21
435
+ - Ability for create children of children pages (3 nav levels) closes #25
436
+
437
+ Changes:
438
+ - Permalink structure for tiered navigation has been updated
439
+ - Some colors have been updated for consistency / accessibility
440
+
441
+ ## v0.1.6
442
+
443
+ ### Added
444
+
445
+ - Support for task list styles #19
446
+ - Configuration docs
447
+ - Configuration option to enable / disable search
448
+ - Normalize.scss dependency pulled into project #16 #
449
+
450
+ ### Fixed
451
+
452
+ - Layout bug in navigation #17
453
+
454
+ ## v0.1.5
455
+
456
+ Major changes:
457
+
458
+ - Fixed bug where the rake task would fail when the assets/js directory didn't exist
459
+
460
+ ## v0.1.4
461
+
462
+ Major changes:
463
+ - Adds Rake as a runtime dependency
464
+ - Definition list styled
465
+ - Sidebar and support cleaned up for smaller screen support
466
+ - Updated some stale docs
467
+
468
+ ## v0.1.3
469
+
470
+ Major changes:
471
+ - Fix path problems, typos, and general clean-up for OSS.
472
+
473
+ ## v0.1.2
474
+
475
+ Fix paths when deployed to gh-pages
476
+
477
+ ## v0.1.1
478
+
479
+ Major updates:
480
+ - Adds search to mobile nav
481
+ - Pulls footer to bottom of the page on mobile (not hidden in nav)
482
+
483
+ Minor updates:
484
+ - Cleans up h1 typography spacing
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  <p align="right">
2
- <a href="https://badge.fury.io/rb/just-the-docs"><img src="https://badge.fury.io/rb/just-the-docs.svg" alt="Gem version"></a> <a href="https://github.com/pmarsceill/just-the-docs/actions?query=workflow%3A%22Master+branch+CI%22"><img src="https://github.com/pmarsceill/just-the-docs/workflows/Master%20branch%20CI/badge.svg" alt="Build status"></a>
2
+ <a href="https://badge.fury.io/rb/just-the-docs"><img src="https://badge.fury.io/rb/just-the-docs.svg" alt="Gem version"></a> <a href="https://github.com/just-the-docs/just-the-docs/actions/workflows/ci.yml"><img src="https://github.com/just-the-docs/just-the-docs/actions/workflows/ci.yml/badge.svg" alt="CI Build status"></a> <a href="https://app.netlify.com/sites/just-the-docs/deploys"><img src="https://api.netlify.com/api/v1/badges/9dc0386d-c2a4-4077-ad83-f02c33a6c0ca/deploy-status" alt="Netlify Status"></a>
3
3
  </p>
4
4
  <br><br>
5
5
  <p align="center">
6
6
  <h1 align="center">Just the Docs</h1>
7
7
  <p align="center">A modern, highly customizable, and responsive Jekyll theme for documentation with built-in search.<br>Easily hosted on GitHub Pages with few dependencies.</p>
8
- <p align="center"><strong><a href="https://pmarsceill.github.io/just-the-docs/">See it in action!</a></strong></p>
8
+ <p align="center"><strong><a href="https://just-the-docs.github.io/just-the-docs/">See it in action!</a></strong></p>
9
9
  <br><br><br>
10
10
  </p>
11
11
 
@@ -13,6 +13,17 @@
13
13
 
14
14
  ## Installation
15
15
 
16
+ ### via GitHub Pages remote theme
17
+
18
+ The quickiest way to use Just The Docs is to use GitHub pages [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/) feature in your `_config.yml` file:
19
+
20
+ ```yaml
21
+ remote_theme: just-the-docs/just-the-docs
22
+ ```
23
+ ### via RubyGems:
24
+
25
+ Alternatively you can install it as a Ruby Gem.
26
+
16
27
  Add this line to your Jekyll site's Gemfile:
17
28
 
18
29
  ```ruby
@@ -39,15 +50,15 @@ Alternatively, you can run it inside Docker while developing your site
39
50
 
40
51
  ## Usage
41
52
 
42
- [View the documentation](https://pmarsceill.github.io/just-the-docs/) for usage information.
53
+ [View the documentation](https://just-the-docs.github.io/just-the-docs/) for usage information.
43
54
 
44
55
  ## Contributing
45
56
 
46
- Bug reports and pull requests are welcome on GitHub at https://github.com/pmarsceill/just-the-docs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
57
+ Bug reports and pull requests are welcome on GitHub at https://github.com/just-the-docs/just-the-docs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
47
58
 
48
59
  ### Submitting code changes:
49
60
 
50
- - Open a [Pull Request](https://github.com/pmarsceill/just-the-docs/pulls)
61
+ - Open a [Pull Request](https://github.com/just-the-docs/just-the-docs/pulls)
51
62
  - Ensure all CI tests pass
52
63
  - Await code review
53
64
  - Bump the version number in `just-the-docs.gemspec` and `package.json` according to [semantic versioning](https://semver.org/).
@@ -63,6 +74,8 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/pmarsc
63
74
 
64
75
  To set up your environment to develop this theme, run `bundle install`.
65
76
 
77
+ A modern [devcontainer configuration](https://code.visualstudio.com/docs/remote/containers) for VSCode is included.
78
+
66
79
  Your theme is set up just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
67
80
 
68
81
  When the theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
@@ -0,0 +1,93 @@
1
+ {%- comment -%}
2
+ {% include css/callouts.scss.liquid color_scheme = string %}
3
+ produces SCSS for all the callouts in site.callouts. For the "dark"
4
+ color scheme, the levels of the text and background colors are reversed.
5
+ {%- endcomment -%}
6
+
7
+ {%- assign callout_background_hue = "000" -%}
8
+ {%- assign callout_color_hue = "300" -%}
9
+ {%- if site.callouts_level == "loud" or include.color_scheme == "dark" and site.callouts_level != "quiet" -%}
10
+ {%- assign callout_background_hue = "300" -%}
11
+ {%- assign callout_color_hue = "000" -%}
12
+ {%- endif -%}
13
+
14
+ div.opaque {
15
+ background-color: $body-background-color;
16
+ }
17
+
18
+ {%- for callout in site.callouts %}
19
+
20
+ {%- assign callout_opacity = callout[1].opacity | default: site.callouts_opacity | default: 0.2 -%}
21
+
22
+ p.{{ callout[0] }}, blockquote.{{ callout[0] }} {
23
+ background: rgba(${{ callout[1].color }}-{{ callout_background_hue }}, {{ callout_opacity }});
24
+ border-left: $border-radius solid ${{ callout[1].color }}-{{ callout_color_hue }};
25
+ border-radius: $border-radius;
26
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
27
+ padding: .8rem;
28
+ {% if callout[1].title %}
29
+ &::before {
30
+ color: ${{ callout[1].color }}-{{ callout_color_hue }};
31
+ content: "{{ callout[1].title }}";
32
+ display: block;
33
+ font-weight: bold;
34
+ text-transform: uppercase;
35
+ font-size: .75em;
36
+ padding-bottom: .125rem;
37
+ }
38
+ {% endif %}
39
+ > .{{ callout[0] }}-title {
40
+ color: ${{ callout[1].color }}-{{ callout_color_hue }};
41
+ display: block;
42
+ font-weight: bold;
43
+ text-transform: uppercase;
44
+ font-size: .75em;
45
+ padding-bottom: .125rem;
46
+ }
47
+ }
48
+
49
+ p.{{ callout[0] }}-title, blockquote.{{ callout[0] }}-title {
50
+ background: rgba(${{ callout[1].color }}-{{ callout_background_hue }}, {{ callout_opacity }});
51
+ border-left: $border-radius solid ${{ callout[1].color }}-{{ callout_color_hue }};
52
+ border-radius: $border-radius;
53
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
54
+ padding: .8rem;
55
+ > p:first-child {
56
+ margin-top: 0;
57
+ margin-bottom: 0;
58
+ color: ${{ callout[1].color }}-{{ callout_color_hue }};
59
+ display: block;
60
+ font-weight: bold;
61
+ text-transform: uppercase;
62
+ font-size: .75em;
63
+ padding-bottom: .125rem;
64
+ }
65
+ }
66
+
67
+ blockquote.{{ callout[0] }} {
68
+ margin-left: 0;
69
+ margin-right: 0;
70
+
71
+ > p:first-child {
72
+ margin-top: 0;
73
+ }
74
+
75
+ > p:last-child {
76
+ margin-bottom: 0;
77
+ }
78
+ }
79
+
80
+ blockquote.{{ callout[0] }}-title {
81
+ margin-left: 0;
82
+ margin-right: 0;
83
+
84
+ > p:nth-child(2) {
85
+ margin-top: 0;
86
+ }
87
+
88
+ > p:last-child {
89
+ margin-bottom: 0;
90
+ }
91
+ }
92
+
93
+ {% endfor -%}
@@ -1,7 +1,8 @@
1
1
  {% if site.logo %}
2
- $logo: "{{ site.logo | absolute_url }}";
2
+ $logo: "{{ site.logo | relative_url }}";
3
3
  {% endif %}
4
4
  @import "./support/support";
5
5
  @import "./color_schemes/{{ include.color_scheme }}";
6
6
  @import "./modules";
7
7
  {% include css/custom.scss.liquid %}
8
+ {% include css/callouts.scss.liquid color_scheme = include.color_scheme %}
@@ -0,0 +1 @@
1
+ <link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon">