- Feb 07, 2023
-
-
Cassandra Gould van Praag authored
-
Cassandra Gould van Praag authored
-
- Feb 05, 2023
-
-
Christian Bäuerlein authored
Hi there! Thank you for the great theme! I am a happy user and was delighted to see that mermaid support has landed. In some cases the usage of jsDelivr might not be possible for technical or compliance reasons. This commit adds a second way to include the mermaid lib by specifying a path in the mermaid config. This way a local version of the lib can be used. It should be fully backwards compatible, not requiring any action by users that already include the lib from the CDN. I already added some documentation, but I am also happy to extend this, if this change is generally well-received. Cheers, Christian
-
- Jan 10, 2023
-
-
Eric Knibbe authored
This PR simply fixes a few spacing and comment nits I found.
-
- Jan 08, 2023
-
-
Matt Wang authored
This is a follow-up from a private maintainer discussion (https://github.com/orgs/just-the-docs/teams/maintainers/discussions/11?from_comment=12). The cliff's notes for the public are: we believe we are not currently GDPR-compliant in how the docs site itself serves analytics. For now, we'll disable analytics; we don't use them anyways. We will then: - add analytics and the relevant banner to the regression test repository - in the future, workshop a built-in solution for JtD users to be GDPR compliant - optionally, clarify the role of users of this theme (their responsibility is to make their sites GDPR compliant)(
-
- Jan 03, 2023
-
- Dec 27, 2022
-
-
Simone authored
Hello everyone, this is my implementation for the copy button on the snippet (requested in #924) The implementation is made 100% javascript as with or without a jekyll template modification you still have to execute some javascript code, and I consider it the best choice. the button only appears if the mouse is over it, to allow the entire line to be read the important CSS changes were made to make the copy button work even in the long code situation:  to avoid this:  Co-authored-by:
Matt Wang <matt@matthewwang.me>
-
- Dec 18, 2022
-
-
Michelle Blanchette authored
* Issue #1023 - note that GA4 properties are supported * Issue #1023 - parameterize Google Analytics property script * Issue #1023 - support a list of multiple Google Analytics tracking IDs in config * Issue #1023 - update Google Analytics configuration doc * Fix configuration of multiple Google Analytics properties and simplify type checking * simplify unnecessary code repetition * tweak Google Analytics config documentation wording
-
- Sep 26, 2022
-
-
Peter Mosses authored
Fix #973 Update the array of excluded directories and files to be: - those that Jekyll excludes by default (since our `exclude` replaces Jekyll's defaults in Jekyll 3) and - the others that the theme previously excluded, but omitting `vendor` – also ones that are no longer in the repo. Excluding `vendor` was preventing HTML compression of the theme docs, since the layout used for compression is in `_layouts/vendor/compress.html`. The change from one-line to multi-line YAML layout for the array of excluded files enhances readability. The addition of explanatory comments supports maintenance. To test the effect of this PR on the theme docs: - Build and serve the theme docs. - Check that the HTML files are now compressed. - Check that the last example of code with line numbers has incorrect formatting. (This PR cannot affect sites that use the theme as a gem or as a remote theme, since we don't include our `_config.yml`.)
-
- Sep 11, 2022
-
-
Peter Mosses authored
This PR updates the home page and the CHANGELOG to refer to v0.4.0.rc1 as a pre-release or release candidate, rather than a release. See [this comment](https://github.com/just-the-docs/just-the-docs/pull/613#issuecomment-1240442518) for motivation. It also adds the versioned docs issue (#728) to the roadmap in the CHANGELOG. As the config for the theme docs now needs to declare callouts, the [callouts docs](https://just-the-docs.github.io/just-the-docs/docs/ui-components/callouts/) can now illustrate the rendered appearance. (These callouts are merely examples: the names and colors should eventually be replaced by a principled collection, taking account of WCAG.)
-
- Sep 06, 2022
-
-
Manuel Henke authored
Building the jekyll site on your own in GitHub workflows fails due missing exclude of `vendor` in `_config.yml`. If someone reuses your `_config.yml` he/she will come across some issues. Reference: https://github.com/jekyll/jekyll/issues/5267#issuecomment-241379902
-
- Aug 22, 2022
-
-
Matt Wang authored
Short and sweet PR that addresses the follow-up in #909: enabling `mermaid` on our docs site, but making it clear that users still need to opt-in to use it. I've also added an example in-action. To test: [see the Netlify deploy](https://deploy-preview-935--just-the-docs.netlify.app/docs/ui-components/code/#mermaid-diagram-code-blocks).
-
- Aug 12, 2022
-
-
Matt Wang authored
`mermaid`: refactor config to use `mermaid_config.js` include, only require `mermaid.version` in `_config.yml` (#909) This PR has a bit of scope creep! This PR now: - changes the mermaid opt-in logic to only check for the existence of a `mermaid` key instead of `mermaid != false`: this resolves the follow-up in #857 - changes the behaviour of mermaid configuration - instead of using `mermaid_init.html` with default settings, makes the include `mermaid_config.js` - the include is loaded directly into the contents of `mermaid_initialize` - by default, it is an empty object (i.e. `{}`), triggering the defaults - updates docs - adds an example to the markdown kitchen sink It does significantly change the interface provided in #857, and I apologize for the confusion. However, given the discussion in this PR, I think it's the best move forward!
-
- Jul 13, 2022
-
-
- Jul 12, 2022
-
-
nascosto authored
Closes #825 Co-authored-by:
Matt Wang <matt@matthewwang.me>
-
- Jul 04, 2022
-
-
Henry Schreiner authored
As is, this is invalid and will not cause the TOC to be rendered. The collapsing example is fine. Co-authored-by:
Matt Wang <matt@matthewwang.me> Co-authored-by:
Peter Mosses <18308236+pdmosses@users.noreply.github.com>
-
Peter Mosses authored
This PR combines (and resolves conflicts between) #448, #463, #466, #494, #495, #496, #498, and #572. The main aim is to facilitate use of several of the implemented features _together_, when using the fork as a remote theme. It should also simplify merging the included PRs into a future release. The branch [combination-rec-nav](https://github.com/pdmosses/just-the-docs/tree/combination-rec-nav) adds [multi-level navigation](https://github.com/pmarsceill/just-the-docs/pull/462) and (NEW:) [sibling links](https://github.com/pmarsceill/just-the-docs/pull/394) to the branch used for this PR. It includes updated [documentation for the navigation structure](https://pdmosses.github.io/just-the-docs/docs/navigation-structure/), and reorganised and extended [navigation tests](https://pdmosses.github.io/just-the-docs/tests/navigation/). The documentation and the tests can be browsed at the (temporary) [website published from the combination-rec-nav branch](https://pdmosses.github.io/just-the-docs/ ). _Caveat:_ The changes to v0.3.3 in this PR and #462 have not yet been reviewed or approved, and may need updating before merging into a release of the theme. If you use a branch from a PR as a remote theme, there is a risk of such updates affecting your website. Moreover, these branches are likely to be deleted after they have been merged. To avoid such problems, you could copy the branch that you want to use to your own fork of the theme. Co-authored-by:
Matt Wang <matt@matthewwang.me>
-
- Jun 16, 2022
-
-
Matt Wang authored
This PR adds a small link back to Netlify in the footer (specifically, in the user-editable config); this is a necessary prerequisite for the [Netlify OSS Plan](https://www.netlify.com/legal/open-source-policy). See: https://github.com/orgs/just-the-docs/teams/maintainers/discussions/1/comments/18.
-
- Mar 30, 2022
-
-
Bernd Taschler authored
-
- Mar 03, 2022
-
-
Patrick Marsceill authored
-
Patrick Marsceill authored
-
Patrick Marsceill authored
-
- Mar 02, 2022
-
-
Cassandra Gould van Praag authored
-
- Feb 08, 2022
-
-
Cassandra Gould van Praag authored
-
- Feb 04, 2022
-
-
Cassandra Gould van Praag authored
-
- Sep 20, 2021
-
-
Cassandra Gould van Praag authored
-
- Aug 20, 2021
-
-
Cassandra Gould van Praag authored
-
Cassandra Gould van Praag authored
-
- Aug 18, 2021
-
-
Cassandra Gould van Praag authored
-
- Jul 08, 2021
-
-
Cassandra Gould van Praag authored
-
- Jun 23, 2021
-
-
Cassandra Gould van Praag authored
-
Cassandra Gould van Praag authored
-
- Jun 18, 2021
-
-
Cassandra Gould van Praag authored
-
Cassandra Gould van Praag authored
-
Cassandra Gould van Praag authored
-
- Sep 14, 2020
-
-
Patrick Marsceill authored
-
- Sep 11, 2020
-
-
PLanCompS authored
url corrected
-
- Aug 26, 2020
-
-
Phillip Cutter authored
-
- Aug 13, 2020
-
-
PLanCompS authored
See the change to `_config.yml` for how to activate the tests.
-
- Aug 11, 2020
-
-
PLanCompS authored
The values of `title` and `nav_order` can be numbers or strings. Jekyll gives build failures when sorting on mixtures of different types, so numbers and strings need to be sorted separately. Here, numbers are sorted by their values, and come before all strings. An omitted `nav_order` value is equivalent to the page's `title` value (except that a numerical `title` value is treated as a string). The case-sensitivity of string sorting is determined by `site.nav_sort`.
-