Skip to content
Snippets Groups Projects
  1. Feb 07, 2023
  2. 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
  3. Jan 10, 2023
  4. Jan 08, 2023
  5. Jan 03, 2023
  6. Dec 27, 2022
  7. 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
  8. 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
  9. Sep 11, 2022
  10. Sep 06, 2022
  11. Aug 22, 2022
  12. 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
  13. Jul 13, 2022
  14. Jul 12, 2022
  15. Jul 04, 2022
  16. Jun 16, 2022
  17. Mar 30, 2022
  18. Mar 03, 2022
  19. Mar 02, 2022
  20. Feb 08, 2022
  21. Feb 04, 2022
  22. Sep 20, 2021
  23. Aug 20, 2021
  24. Aug 18, 2021
  25. Jul 08, 2021
  26. Jun 23, 2021
  27. Jun 18, 2021
  28. Sep 14, 2020
  29. Sep 11, 2020
  30. Aug 26, 2020
  31. Aug 13, 2020
  32. Aug 11, 2020
    • PLanCompS's avatar
      Separate sorting of numbers and strings for navigation order · 4fc59a57
      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`.
      4fc59a57
Loading