Skip to content
Snippets Groups Projects
  1. Apr 25, 2020
    • PLanCompS's avatar
      Made case-insenstive sorting the default · c46ccd34
      PLanCompS authored
      Added a configuration option to determine whether the sort order is case-sensitive.
      The default is case-insensitive.
      
      To test:
      - open `/just-the-docs/docs/utilities/` in the browser,
        and check that the navigation links in `Utilities` are sorted alphabetically;
      - in `docs/utilities/layout.md', change the preamble to `title: layout`,
        and check that the  links in `Utilities` are still sorted alphabetically;
      - add `nav_sort: case_sensitive` in the configuration file,
        and check that the link to `layout` is now listed last under `Utilities`.
      c46ccd34
  2. Oct 11, 2019
    • Peter Mosses's avatar
      Alphabetic navigation order · 6660f442
      Peter Mosses authored
      When `nav_order` is omitted, the order of nodes at each menu level (and in the auto-generated TOC) is alphabetical by `title`, instead of random.
      Any nodes with a specified `nav_order` precede all nodes at that level where it is omitted.
      Note that `nav_order` fields must have a uniform site-ide type: integers and strings cannot be mixed, otherwise Jekyll reports errors.
      The implementation filters the ordered and unordered pages from `site.html_pages`, sorts them separately, and concatenates the resulting arrays.
      6660f442
  3. Sep 09, 2019
  4. Aug 31, 2019
    • Peter Mosses's avatar
      Mathjax support added · 7220197a
      Peter Mosses authored
      Mathjax config options added.
      `compress_html` config option changed,
      Mathjax script loaded by head when `page.mathjax` is truthy.
      Documentation and test page added.
      See also issue #198.
      7220197a
  5. Aug 29, 2019
  6. Aug 22, 2019
  7. Aug 21, 2019
    • Peter Mosses's avatar
      Update nav.html · c282e4b0
      Peter Mosses authored
      Separating new PR from #188, since indpendent.
      c282e4b0
    • Peter Mosses's avatar
      Optional delay of grandchildren link display · 8ac545a5
      Peter Mosses authored
      The current default is that when a grandparent is selected, the links to its
      children *and all its grandchildren* are displayed in the navigation menu.
      Setting `grandchildren_branch: true` in `_config.yml` delays the display of links
      to grandchildren until their parent is selected.
      8ac545a5
  8. Aug 17, 2019
  9. Aug 16, 2019
    • Peter Mosses's avatar
      Update nav.html · 0cfc0f03
      Peter Mosses authored
      A `navigation-list-child-list` is not displayed unless the enclosing `navigation-list-item` is `active`, so it needs to be generated only when `page.url == node.url or page.parent == node.title or page.grand_parent == node.title`.
      0cfc0f03
  10. Aug 14, 2019
  11. Aug 06, 2019
  12. Jul 24, 2019
  13. Jul 18, 2019
    • Julien Duchesne's avatar
      Optimized nav generation · 07982f68
      Julien Duchesne authored
      - Trimmed whitespace between html elements
        This reduced one of my files from 850KB to 115KB
      - Do not sort the whole list of pages on every iteration
        This made build 3x faster
      07982f68
  14. Jul 04, 2019
  15. May 19, 2019
  16. May 13, 2019
  17. Feb 28, 2019
  18. Feb 02, 2019
  19. Jan 06, 2019
  20. Nov 19, 2018
  21. Nov 16, 2018
  22. Oct 22, 2018
  23. Apr 08, 2017
  24. Mar 27, 2017
  25. Mar 24, 2017
Loading