Skip to content
Snippets Groups Projects
  1. 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!
      e2f1546c
  2. Aug 01, 2022
  3. Jul 26, 2022
  4. Jul 13, 2022
  5. Jul 12, 2022
  6. Jul 06, 2022
  7. Jul 04, 2022
  8. Mar 09, 2022
  9. Mar 06, 2022
  10. Mar 03, 2022
  11. Oct 13, 2020
  12. Oct 12, 2020
  13. Sep 29, 2020
    • PLanCompS's avatar
      Fix list alignment · 59f757a7
      PLanCompS authored
      Resolve #420
      
      - Remove `margin-top` for the first child in various list items, to improve alignment.
      - Add examples of lists to `docs/tests/styling`.
      59f757a7
  14. Sep 28, 2020
    • PLanCompS's avatar
      Create excluded.md · 641fa6ac
      PLanCompS authored
      Add a test for explicit exclusion of an untitled page.
      641fa6ac
    • PLanCompS's avatar
      List children also when excluded from main navigation · 09ab1c31
      PLanCompS authored
      - Limit the effect of `nav_exclude: true` to the main navigation.
      - Include links to excluded pages in auto-generating lists of child pages
      and in breadcrumbs.
      - Refactor implementation by moving assignment of `first_level_url` and `second_level_url` from `_includes/nav.html` to `_layouts/default.html`.
      - Clarify the effect of `nav_exclude` in the documentation.
      09ab1c31
    • PLanCompS's avatar
      Folders renamed · 682dcf4e
      PLanCompS authored
      Improve folder names.
      Correct classification of excluded test pages.
      682dcf4e
    • PLanCompS's avatar
      Reorganise tests · 405180c8
      PLanCompS authored
      Make the titles of test pages more suggestive.
      Refactor the documentation of the tests.
      405180c8
    • PLanCompS's avatar
      Tests updated · aa247408
      PLanCompS authored
      aa247408
  15. Sep 14, 2020
  16. Sep 11, 2020
    • PLanCompS's avatar
      Update linenos.md · d59887cc
      PLanCompS authored
      doc for turning on kramdown linenos globally corrected/
      d59887cc
    • PLanCompS's avatar
      Update navigation-structure.md · ddccec7b
      PLanCompS authored
      Reinstated the collapsible TOC at the top, to support the reference to it right at the end of the file. (The `TOC` feature can only be used once per page, so this is the only way of illustrating the rendering of the collapsible TOC in the docs.)
      ddccec7b
Loading