From 4878d1991ee6c5125a385b56e541f072d308ffa8 Mon Sep 17 00:00:00 2001 From: kthouky Date: Fri, 11 Aug 2023 11:36:19 +0200 Subject: [PATCH] TOC --- fediseer/routes.py | 5 ++++- fediseer/templates/faq.md | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fediseer/routes.py b/fediseer/routes.py index c62a73e..048a95f 100644 --- a/fediseer/routes.py +++ b/fediseer/routes.py @@ -30,7 +30,10 @@ def index(): {style} """ - return(head + markdown(findex)) + return(head + markdown( + findex, + extensions=['Table of Contents'] + )) @logger.catch(reraise=True) @OVERSEER.route('/faq') diff --git a/fediseer/templates/faq.md b/fediseer/templates/faq.md index 1325413..88adb86 100644 --- a/fediseer/templates/faq.md +++ b/fediseer/templates/faq.md @@ -2,6 +2,8 @@ This document will attempt to provide some definitions and answers to common questions around the fediseer. +[TOC] + ## What is the Fediseer? The fediseer is a service for the fediverse which attempts to provide a crowdsourced human-curated spam/ham classification of fediverse instances as well as provide a public space to specify approval/disapproval of other instances. @@ -67,5 +69,3 @@ Not only that, but the fediseer is free and open source software, allowing anyon ## Doesn't this make the fediseer an authority on the fediverse? The fediseer is designed to be completely crowd-sourced as pertains to the chain of trust. The admin of the fediseer does not control what people guarantee, endorse or censure. The various instance admins are driving the chain of trust. - -