Skip to content
Snippets Groups Projects
  1. May 17, 2021
  2. May 14, 2021
  3. May 13, 2021
  4. May 10, 2021
  5. May 06, 2021
  6. May 04, 2021
  7. May 03, 2021
  8. Apr 29, 2021
    • Arnaud Ferraris's avatar
      Enable table of contents for relevant pages · baf9ff9a
      Arnaud Ferraris authored
      
      This commit enables the generation and display of the ToC on all pages
      where it's relevant due to the content size.
      
      More pages could have been included but left aside due to inconsistent
      use of heading levels leading to rendering/visual glitches.
      
      The pages' content has not been modified, except for the "Terms of use"
      page which included a manually-generated ToC.
      
      Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
      baf9ff9a
    • Arnaud Ferraris's avatar
      Add optional table of contents to posts · ec1a67bf
      Arnaud Ferraris authored
      
      As some of our pages include a lot of content, structured through the
      use of headings, it makes sense to include an auto-generated ToC in our
      template.
      
      This ToC is only generated for pages including the `toc` boolean
      parameter with value `true` in their source header, so it can be enabled
      only when really useful.
      
      It only includes elements from heading levels 2 and 3 by default, while
      most of our documents are structured by using levels 1 and 2, so this
      commit also includes changes to the config file to reflect that.
      
      Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
      ec1a67bf
Loading