From dc7ce857ec9697712d4d74575d2fab5d85d0a7de Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Mon, 14 Mar 2022 19:53:39 +0000
Subject: [PATCH] Use more standard TOC marker

---
 CONTRIBUTING.md                                      | 2 +-
 docs/simplesamlphp-advancedfeatures.md               | 2 +-
 docs/simplesamlphp-authproc.md                       | 2 +-
 docs/simplesamlphp-changelog.md                      | 2 +-
 docs/simplesamlphp-customauth.md                     | 2 +-
 docs/simplesamlphp-database.md                       | 2 +-
 docs/simplesamlphp-errorhandling.md                  | 2 +-
 docs/simplesamlphp-googleapps.md                     | 2 +-
 docs/simplesamlphp-idp.md                            | 2 +-
 docs/simplesamlphp-install.md                        | 2 +-
 docs/simplesamlphp-maintenance.md                    | 2 +-
 docs/simplesamlphp-metadata-extensions-attributes.md | 2 +-
 docs/simplesamlphp-metadata-extensions-rpi.md        | 2 +-
 docs/simplesamlphp-metadata-extensions-ui.md         | 2 +-
 docs/simplesamlphp-metadata-pdostoragehandler.md     | 2 +-
 docs/simplesamlphp-modules.md                        | 2 +-
 docs/simplesamlphp-nostate.md                        | 2 +-
 docs/simplesamlphp-reference-idp-hosted.md           | 2 +-
 docs/simplesamlphp-reference-idp-remote.md           | 2 +-
 docs/simplesamlphp-reference-sp-remote.md            | 2 +-
 docs/simplesamlphp-scoping.md                        | 2 +-
 docs/simplesamlphp-sp-api.md                         | 2 +-
 docs/simplesamlphp-sp.md                             | 2 +-
 docs/simplesamlphp-theming.md                        | 2 +-
 docs/simplesamlphp-translation.md                    | 2 +-
 modules/cron/docs/cron.md                            | 2 +-
 26 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 11441b987..25dc2a985 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,7 +3,7 @@
 
 These guidelines briefly explain how to contribute to SimpleSAMLphp effectively and consistently, making sure to keep high quality standards and making it easier for you to contribute.
 
-<!-- {{TOC}} -->
+[TOC]
 
 ## Team members
 Currently, the core team members are:
diff --git a/docs/simplesamlphp-advancedfeatures.md b/docs/simplesamlphp-advancedfeatures.md
index 138021f00..90df9f49e 100644
--- a/docs/simplesamlphp-advancedfeatures.md
+++ b/docs/simplesamlphp-advancedfeatures.md
@@ -9,7 +9,7 @@ SimpleSAMLphp Advanced Features
 
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 SimpleSAMLphp documentation
 ---------------------------
diff --git a/docs/simplesamlphp-authproc.md b/docs/simplesamlphp-authproc.md
index 188530b05..e094076f7 100644
--- a/docs/simplesamlphp-authproc.md
+++ b/docs/simplesamlphp-authproc.md
@@ -1,7 +1,7 @@
 Authentication Processing Filters in SimpleSAMLphp
 ==================================================
 
-<!-- {{TOC}} -->
+[TOC]
 
 
 In SimpleSAMLphp, there is an API where you can *do stuff* at the IdP after authentication is complete, and just before you are sent back to the SP. The same API is available on the SP, after you have received a successful Authentication Response from the IdP and before you are sent back to the SP application.
diff --git a/docs/simplesamlphp-changelog.md b/docs/simplesamlphp-changelog.md
index 19042f528..6360f81dd 100644
--- a/docs/simplesamlphp-changelog.md
+++ b/docs/simplesamlphp-changelog.md
@@ -1,7 +1,7 @@
 SimpleSAMLphp changelog
 =======================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This document lists the changes between versions of SimpleSAMLphp.
 See the upgrade notes for specific information about upgrading.
diff --git a/docs/simplesamlphp-customauth.md b/docs/simplesamlphp-customauth.md
index f52f448e7..0b9d986b2 100644
--- a/docs/simplesamlphp-customauth.md
+++ b/docs/simplesamlphp-customauth.md
@@ -4,7 +4,7 @@ Implementing custom username/password authentication
 This is a step-by-step guide for creating a custom username/password [authentication source](./simplesamlphp-authsource) for SimpleSAMLphp.
 An authentication source is responsible for authenticating the user, typically by getting a username and password, and looking it up in some sort of database.
 
-<!-- {{TOC}} -->
+[TOC]
 
 Create a custom module
 ----------------------
diff --git a/docs/simplesamlphp-database.md b/docs/simplesamlphp-database.md
index 553f3d5e4..7563a4baa 100644
--- a/docs/simplesamlphp-database.md
+++ b/docs/simplesamlphp-database.md
@@ -8,7 +8,7 @@ SimpleSAML\Database
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 Purpose
 -------
diff --git a/docs/simplesamlphp-errorhandling.md b/docs/simplesamlphp-errorhandling.md
index 90c72df32..2631b69ed 100644
--- a/docs/simplesamlphp-errorhandling.md
+++ b/docs/simplesamlphp-errorhandling.md
@@ -1,7 +1,7 @@
 Exception and error handling in SimpleSAMLphp
 =============================================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This document describes the way errors and exceptions are handled in authentication sources and authentication processing filters.
 The basic goal is to be able to throw an exception during authentication, and then have that exception transported back to the SP in a way that the SP understands.
diff --git a/docs/simplesamlphp-googleapps.md b/docs/simplesamlphp-googleapps.md
index 88a6a5fc4..e0ac5fc4f 100644
--- a/docs/simplesamlphp-googleapps.md
+++ b/docs/simplesamlphp-googleapps.md
@@ -9,7 +9,7 @@ Setting up a SimpleSAMLphp SAML 2.0 IdP to use with Google Workspace (G Suite /
 
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 SimpleSAMLphp news and documentation
 ------------------------------------
diff --git a/docs/simplesamlphp-idp.md b/docs/simplesamlphp-idp.md
index 23fc2b212..101d57076 100644
--- a/docs/simplesamlphp-idp.md
+++ b/docs/simplesamlphp-idp.md
@@ -8,7 +8,7 @@ SimpleSAMLphp Identity Provider QuickStart
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 This guide will describe how to configure SimpleSAMLphp as an identity provider (IdP). You should previously have installed SimpleSAMLphp as described in [the SimpleSAMLphp installation instructions](simplesamlphp-install)
 
diff --git a/docs/simplesamlphp-install.md b/docs/simplesamlphp-install.md
index fc16ae8ac..6790267f4 100644
--- a/docs/simplesamlphp-install.md
+++ b/docs/simplesamlphp-install.md
@@ -1,7 +1,7 @@
 SimpleSAMLphp Installation and Configuration
 ============================================
 
-<!-- {{TOC}} -->
+[TOC]
 
 
 This document is part of the SimpleSAMLphp documentation suite.
diff --git a/docs/simplesamlphp-maintenance.md b/docs/simplesamlphp-maintenance.md
index 1d99f19f7..5e4be54d6 100644
--- a/docs/simplesamlphp-maintenance.md
+++ b/docs/simplesamlphp-maintenance.md
@@ -8,7 +8,7 @@ SimpleSAMLphp Maintenance
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 SimpleSAMLphp news and documentation
 ------------------------------------
diff --git a/docs/simplesamlphp-metadata-extensions-attributes.md b/docs/simplesamlphp-metadata-extensions-attributes.md
index a04aef770..e93740116 100644
--- a/docs/simplesamlphp-metadata-extensions-attributes.md
+++ b/docs/simplesamlphp-metadata-extensions-attributes.md
@@ -7,7 +7,7 @@ SAML V2.0 Metadata Attribute Extensions
 	http://daringfireball.net/projects/markdown/syntax
 -->
 
-<!-- {{TOC}} -->
+[TOC]
 
 This is a reference for the SimpleSAMLphp implementation of the [SAML
 V2.0 Attribute Extensions](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-attribute-ext.pdf)
diff --git a/docs/simplesamlphp-metadata-extensions-rpi.md b/docs/simplesamlphp-metadata-extensions-rpi.md
index a6dc868e7..f824f6ae2 100644
--- a/docs/simplesamlphp-metadata-extensions-rpi.md
+++ b/docs/simplesamlphp-metadata-extensions-rpi.md
@@ -9,7 +9,7 @@ SAML V2.0 Metadata Extensions for Registration and Publication Information
 
   * Author: Jaime Perez [jaime.perez@uninett.no](mailto:jaime.perez@uninett.no)
 
-<!-- {{TOC}} -->
+[TOC]
 
 This is a reference for the SimpleSAMLphp implementation of the [SAML
 V2.0 Metadata Extensions for Registration and Publication Information](http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/saml-metadata-rpi-v1.0.html)
diff --git a/docs/simplesamlphp-metadata-extensions-ui.md b/docs/simplesamlphp-metadata-extensions-ui.md
index 10dd3aba0..4791bd730 100644
--- a/docs/simplesamlphp-metadata-extensions-ui.md
+++ b/docs/simplesamlphp-metadata-extensions-ui.md
@@ -9,7 +9,7 @@ SAML V2.0 Metadata Extensions for Login and Discovery User Interface
 
   * Author: Timothy Ace [tace@synacor.com](mailto:tace@synacor.com)
 
-<!-- {{TOC}} -->
+[TOC]
 
 This is a reference for the SimpleSAMLphp implementation of the [SAML
 V2.0 Metadata Extensions for Login and Discovery User Interface](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ui/v1.0/sstc-saml-metadata-ui-v1.0.pdf)
diff --git a/docs/simplesamlphp-metadata-pdostoragehandler.md b/docs/simplesamlphp-metadata-pdostoragehandler.md
index 9a321c894..54d711643 100644
--- a/docs/simplesamlphp-metadata-pdostoragehandler.md
+++ b/docs/simplesamlphp-metadata-pdostoragehandler.md
@@ -8,7 +8,7 @@ PDO Metadata Storage Handler
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 Introduction
 ------------
diff --git a/docs/simplesamlphp-modules.md b/docs/simplesamlphp-modules.md
index 33f32df95..c53527ff4 100644
--- a/docs/simplesamlphp-modules.md
+++ b/docs/simplesamlphp-modules.md
@@ -8,7 +8,7 @@ SimpleSAMLphp modules
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 This document describes how the module system in SimpleSAMLphp
 works. It descibes what types of modules there are, how they are
diff --git a/docs/simplesamlphp-nostate.md b/docs/simplesamlphp-nostate.md
index 4f113a198..d5b8196d7 100644
--- a/docs/simplesamlphp-nostate.md
+++ b/docs/simplesamlphp-nostate.md
@@ -8,7 +8,7 @@ SimpleSAMLphp. Unfortunately, it is also a generic error that can have many
 possible causes. This document will attempt to describe what this error
 actually means, and some of the situations that can cause it.
 
-<!-- {{TOC}} -->
+[TOC]
 
 What is "state information"?
 ----------------------------
diff --git a/docs/simplesamlphp-reference-idp-hosted.md b/docs/simplesamlphp-reference-idp-hosted.md
index 2730c1178..bd82ad1bc 100644
--- a/docs/simplesamlphp-reference-idp-hosted.md
+++ b/docs/simplesamlphp-reference-idp-hosted.md
@@ -1,7 +1,7 @@
 IdP hosted metadata reference
 =============================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This is a reference for the metadata file `metadata/saml20-idp-hosted.php`.
 Both files have the following format:
diff --git a/docs/simplesamlphp-reference-idp-remote.md b/docs/simplesamlphp-reference-idp-remote.md
index 3d8a1437c..8a4fb90b6 100644
--- a/docs/simplesamlphp-reference-idp-remote.md
+++ b/docs/simplesamlphp-reference-idp-remote.md
@@ -1,7 +1,7 @@
 IdP remote metadata reference
 =============================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This is a reference for metadata options available for `metadata/saml20-idp-remote.php`. The file has the following format:
 
diff --git a/docs/simplesamlphp-reference-sp-remote.md b/docs/simplesamlphp-reference-sp-remote.md
index 176a71483..efcffc2e3 100644
--- a/docs/simplesamlphp-reference-sp-remote.md
+++ b/docs/simplesamlphp-reference-sp-remote.md
@@ -1,7 +1,7 @@
 SP remote metadata reference
 ============================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This is a reference for metadata options available for `metadata/saml20-sp-remote.php`.
 Both files have the following format:
diff --git a/docs/simplesamlphp-scoping.md b/docs/simplesamlphp-scoping.md
index c821b30e7..7a248b333 100644
--- a/docs/simplesamlphp-scoping.md
+++ b/docs/simplesamlphp-scoping.md
@@ -8,7 +8,7 @@ Scoping
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 Scoping allows a service provider to specify a list of identity providers in an
 authnRequest to a proxying identity provider. This is an indication to the 
diff --git a/docs/simplesamlphp-sp-api.md b/docs/simplesamlphp-sp-api.md
index 2182edac1..854a8f027 100644
--- a/docs/simplesamlphp-sp-api.md
+++ b/docs/simplesamlphp-sp-api.md
@@ -1,7 +1,7 @@
 SimpleSAMLphp SP API reference
 ==============================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This document describes the \SimpleSAML\Auth\Simple API.
 This is the preferred API for integrating SimpleSAMLphp with other applications.
diff --git a/docs/simplesamlphp-sp.md b/docs/simplesamlphp-sp.md
index f8329390e..7191577c2 100644
--- a/docs/simplesamlphp-sp.md
+++ b/docs/simplesamlphp-sp.md
@@ -1,7 +1,7 @@
 SimpleSAMLphp Service Provider QuickStart
 =========================================
 
-<!-- {{TOC}} -->
+[TOC]
 
 This guide will describe how to configure SimpleSAMLphp as a service provider (SP). You should previously have installed SimpleSAMLphp as described in [the SimpleSAMLphp installation instructions](simplesamlphp-install).
 
diff --git a/docs/simplesamlphp-theming.md b/docs/simplesamlphp-theming.md
index 3fbe1eecd..dee523d0a 100644
--- a/docs/simplesamlphp-theming.md
+++ b/docs/simplesamlphp-theming.md
@@ -8,7 +8,7 @@ Theming the user interface in SimpleSAMLphp
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 In SimpleSAMLphp every part that needs to interact with the user by using a web page, uses templates to present the HTML. SimpleSAMLphp comes with a default set of templates that presents a anonymous look.
 
diff --git a/docs/simplesamlphp-translation.md b/docs/simplesamlphp-translation.md
index b6cb10afc..e8f48af77 100644
--- a/docs/simplesamlphp-translation.md
+++ b/docs/simplesamlphp-translation.md
@@ -7,7 +7,7 @@ SimpleSAMLphp Translation Portal
     http://daringfireball.net/projects/markdown/syntax
 -->
 
-<!-- {{TOC}} -->
+[TOC]
 
 ## How translated terms are referred from a template
 
diff --git a/modules/cron/docs/cron.md b/modules/cron/docs/cron.md
index bddc411a5..f6b159c6e 100644
--- a/modules/cron/docs/cron.md
+++ b/modules/cron/docs/cron.md
@@ -8,7 +8,7 @@ Cron
 -->
 
 
-<!-- {{TOC}} -->
+[TOC]
 
 Introduction
 ------------
-- 
GitLab