Skip to content
Snippets Groups Projects
  1. Jan 07, 2025
  2. Feb 16, 2024
  3. Feb 07, 2023
  4. Feb 05, 2023
    • Christian Bäuerlein's avatar
      Add configuration key to load a local version of mermaid (#1153) · b2bbdb70
      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
      Unverified
      b2bbdb70
  5. Jan 10, 2023
  6. Jan 08, 2023
  7. Jan 03, 2023
  8. Dec 27, 2022
  9. Dec 18, 2022
    • Michelle Blanchette's avatar
      analytics: support multiple tracking IDs, document UA -> GA4 switch (#1029) · 9bccf07f
      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
      Unverified
      9bccf07f
  10. Sep 26, 2022
    • Peter Mosses's avatar
      Fix excluded vendor cleanup (#985) · 13a1ac2a
      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`.)
      Unverified
      13a1ac2a
  11. Sep 11, 2022
  12. Sep 06, 2022
  13. Aug 22, 2022
  14. Aug 12, 2022
    • Matt Wang's avatar
      `mermaid`: refactor config to use `mermaid_config.js` include, only require... · e2f1546c
      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!
      Unverified
      e2f1546c
  15. Jul 13, 2022
  16. Jul 12, 2022
  17. Jul 04, 2022
  18. Jun 16, 2022
  19. Mar 30, 2022
  20. Mar 03, 2022
  21. Mar 02, 2022
  22. Feb 08, 2022
  23. Feb 04, 2022
  24. Sep 20, 2021
  25. Aug 20, 2021
  26. Aug 18, 2021
  27. Jul 08, 2021
  28. Jun 23, 2021
  29. Jun 18, 2021
  30. Sep 14, 2020
  31. Sep 11, 2020
  32. Aug 26, 2020
Loading