From 044c4ad16c95351f5f4a03f1e816c10aaab91113 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 29 May 2024 11:18:10 +0300 Subject: [PATCH] allow doctoc to insert title --- .pre-commit-config.yaml | 7 ++++++- README.markdown | 7 +++++++ blog/_posts/2015-06-22-ipv6.md | 1 + blog/_posts/2015-12-25-asus-tunnelbroker-net.md | 1 + blog/_posts/2016-03-09-weechat-tmux-quickstart.md | 1 + blog/_posts/2019-07-11-android-private-dns-in-practice.md | 1 + blog/_posts/2021-08-03-matrix-perfect-privacy-not.md | 7 ++++++- blog/_posts/2021-11-23-leaving-privacyguides.md | 1 + ...1-12-05-matrix-community-abuse-security-by-obscurity.md | 7 ++++++- blog/_posts/2024-05-17-https-everywhere.md | 1 + blog/_posts/2024-05-22-policy-contentblocker.md | 1 + blog/index.md | 7 +++++++ n/coauthor.md | 1 + n/copyrightyear.md | 1 + n/darkreader.md | 1 + n/dns.md | 7 +++++++ n/essentialsoftware.md | 7 +++++++ n/f-droid.md | 1 + n/fairbuds.md | 1 + n/firewalld.md | 1 + n/gpg.md | 7 +++++++ n/helen.md | 7 +++++++ n/ksoy.md | 7 +++++++ n/localectl.md | 1 + n/obtainium.md | 1 + n/reuse.md | 7 +++++++ n/systemd-boot.md | 1 + pages/404.markdown | 1 + pages/browser-extensions.markdown | 7 +++++++ pages/discuss.markdown | 1 + pages/links2.markdown | 1 + pages/matrix.markdown | 1 + pages/support.markdown | 1 + 33 files changed, 102 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ac2a4cf..17d4d5b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,7 +53,12 @@ repos: rev: v2.2.0 hooks: - id: doctoc - args: [--update-only, --notitle] + args: + [ + --update-only, + --title, + "_Automatically generated Table of Contents - Automaattinen sisällysluettelo_", + ] - repo: https://github.com/python-jsonschema/check-jsonschema rev: 0.28.3 diff --git a/README.markdown b/README.markdown index 69399cd..2478c44 100644 --- a/README.markdown +++ b/README.markdown @@ -6,8 +6,12 @@ This website should be fairly typical Jekyll project. The index contains `rel=me` links everywhere so projects such as Mastodon give me the green checkmark. + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Sitemaps](#sitemaps) - [Unusual directories](#unusual-directories) @@ -16,6 +20,9 @@ checkmark. + + + ## Sitemaps - `sitemap.xml` — automatically generated by Jekyll when building diff --git a/blog/_posts/2015-06-22-ipv6.md b/blog/_posts/2015-06-22-ipv6.md index 099c9cd..4182c3f 100644 --- a/blog/_posts/2015-06-22-ipv6.md +++ b/blog/_posts/2015-06-22-ipv6.md @@ -21,6 +21,7 @@ The comments of that post are also totally lost. +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [IPv4](#ipv4) - [IPv6](#ipv6) diff --git a/blog/_posts/2015-12-25-asus-tunnelbroker-net.md b/blog/_posts/2015-12-25-asus-tunnelbroker-net.md index 82b9d3b..c53316b 100644 --- a/blog/_posts/2015-12-25-asus-tunnelbroker-net.md +++ b/blog/_posts/2015-12-25-asus-tunnelbroker-net.md @@ -15,6 +15,7 @@ especially about the dynamic DNS part._ +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [The tunnel](#the-tunnel) - [Basic Config](#basic-config) diff --git a/blog/_posts/2016-03-09-weechat-tmux-quickstart.md b/blog/_posts/2016-03-09-weechat-tmux-quickstart.md index f47157b..5f7e983 100644 --- a/blog/_posts/2016-03-09-weechat-tmux-quickstart.md +++ b/blog/_posts/2016-03-09-weechat-tmux-quickstart.md @@ -15,6 +15,7 @@ don't need it even if you have only one device._ +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [What is what?](#what-is-what) - [Installing things](#installing-things) diff --git a/blog/_posts/2019-07-11-android-private-dns-in-practice.md b/blog/_posts/2019-07-11-android-private-dns-in-practice.md index b5140b7..673bfbb 100644 --- a/blog/_posts/2019-07-11-android-private-dns-in-practice.md +++ b/blog/_posts/2019-07-11-android-private-dns-in-practice.md @@ -19,6 +19,7 @@ my Nokia 1, I am able to type my own blog post about it._ +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Notes/disclaimers:](#notesdisclaimers) - [The tests](#the-tests) diff --git a/blog/_posts/2021-08-03-matrix-perfect-privacy-not.md b/blog/_posts/2021-08-03-matrix-perfect-privacy-not.md index e3318a2..f0bd0da 100644 --- a/blog/_posts/2021-08-03-matrix-perfect-privacy-not.md +++ b/blog/_posts/2021-08-03-matrix-perfect-privacy-not.md @@ -13,16 +13,21 @@ issues so much, I wish to correct some misconceptions. I attempt to provide citations for everything and not name any other solution. I cannot discuss administrating experience due to not having any with Matrix personally._ -_Table of Contents_ + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Element, what Element?](#element-what-element) - [You mentioned privacy?](#you-mentioned-privacy) + + + # Element, what Element? Element is the defacto Matrix client. If you wish to get into Matrix, you diff --git a/blog/_posts/2021-11-23-leaving-privacyguides.md b/blog/_posts/2021-11-23-leaving-privacyguides.md index 6b37ed7..b31755c 100644 --- a/blog/_posts/2021-11-23-leaving-privacyguides.md +++ b/blog/_posts/2021-11-23-leaving-privacyguides.md @@ -41,6 +41,7 @@ and not the way a transparent project should work. +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Previous leaving](#previous-leaving) - [Other issues](#other-issues) diff --git a/blog/_posts/2021-12-05-matrix-community-abuse-security-by-obscurity.md b/blog/_posts/2021-12-05-matrix-community-abuse-security-by-obscurity.md index e2a477a..be2a981 100644 --- a/blog/_posts/2021-12-05-matrix-community-abuse-security-by-obscurity.md +++ b/blog/_posts/2021-12-05-matrix-community-abuse-security-by-obscurity.md @@ -16,10 +16,12 @@ Sadly I am not using Discord, I am using Matrix. This means that while burnt out it feels like no one has thought of the case where a community with more than a couple of rooms wants to use Matrix. -_Table of Contents_ + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Setup](#setup) - [Bus factor](#bus-factor) @@ -31,6 +33,9 @@ _Table of Contents_ + + + ## Setup I am tired, so excuse me for not involving complete documentation and just diff --git a/blog/_posts/2024-05-17-https-everywhere.md b/blog/_posts/2024-05-17-https-everywhere.md index 2df2aa8..ae8b0ae 100644 --- a/blog/_posts/2024-05-17-https-everywhere.md +++ b/blog/_posts/2024-05-17-https-everywhere.md @@ -25,6 +25,7 @@ for those is the official documentation (bottom of the page). +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Chromium](#chromium) - [DNS-over-HTTPS](#dns-over-https) diff --git a/blog/_posts/2024-05-22-policy-contentblocker.md b/blog/_posts/2024-05-22-policy-contentblocker.md index d26a542..aeb6fd9 100644 --- a/blog/_posts/2024-05-22-policy-contentblocker.md +++ b/blog/_posts/2024-05-22-policy-contentblocker.md @@ -18,6 +18,7 @@ I recommend reading the [browser policy part Ⅰ on enforcing HTTPS only mode]({ +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Chromium](#chromium) - [`/etc/opt/chromium/policies/managed/aminda-extensions.json`](#etcoptchromiumpoliciesmanagedaminda-extensionsjson) diff --git a/blog/index.md b/blog/index.md index 08848a4..47abf38 100644 --- a/blog/index.md +++ b/blog/index.md @@ -6,14 +6,21 @@ permalink: /blog/ excerpt: "Blog index, posts in English and posts in Finnish — Blogin etusivu, postaukset englanniksi ja postaukset suomeksi." --- + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [In English](#in-english) - [Suomeksi](#suomeksi) + + + ## In English _Please keep in mind that old blog posts might not reflect the current diff --git a/n/coauthor.md b/n/coauthor.md index 3de24b6..67aced1 100644 --- a/n/coauthor.md +++ b/n/coauthor.md @@ -25,6 +25,7 @@ which is produced by `git commit -s` +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [My private emails](#my-private-emails) - [Where to find them](#where-to-find-them) diff --git a/n/copyrightyear.md b/n/copyrightyear.md index 93f0788..928db4d 100644 --- a/n/copyrightyear.md +++ b/n/copyrightyear.md @@ -15,6 +15,7 @@ Apparently it depends on whether you care about when the project enters public d +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [No](#no) - [Yes](#yes) diff --git a/n/darkreader.md b/n/darkreader.md index dc1d7e5..9e0e50c 100644 --- a/n/darkreader.md +++ b/n/darkreader.md @@ -10,6 +10,7 @@ sitemap: false +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Links to Dark Reader](#links-to-dark-reader) - [Configuration for the new interface](#configuration-for-the-new-interface) diff --git a/n/dns.md b/n/dns.md index 084036e..fcc9863 100644 --- a/n/dns.md +++ b/n/dns.md @@ -13,8 +13,12 @@ sitemap: false _For DNS resolvers, refer to [r/resolv.tsv](/r/resolv.tsv)_ + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Identifying DNS resolver](#identifying-dns-resolver) - [Identifying ECH support](#identifying-ech-support) @@ -34,6 +38,9 @@ _For DNS resolvers, refer to [r/resolv.tsv](/r/resolv.tsv)_ + + + --- ## Identifying DNS resolver diff --git a/n/essentialsoftware.md b/n/essentialsoftware.md index 95e6d7d..aa8b92f 100644 --- a/n/essentialsoftware.md +++ b/n/essentialsoftware.md @@ -8,8 +8,12 @@ sitemap: false This is just a quick personal reference so I don't have to guess. + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Security](#security) - [Usability](#usability) @@ -19,6 +23,9 @@ This is just a quick personal reference so I don't have to guess. + + + ## Security - `microcode` - propietary, but otherwise CPU holes are going to be gaping open. Refer to `tail -n +1 /sys/devices/system/cpu/vulnerabilities/*` diff --git a/n/f-droid.md b/n/f-droid.md index 9421c82..7a97806 100644 --- a/n/f-droid.md +++ b/n/f-droid.md @@ -15,6 +15,7 @@ Remember to prefer the [F-Droid Basic](https://f-droid.org/packages/org.fdroid.b +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Official F-Droid repositories](#official-f-droid-repositories) - [Additional F-Droid repositories](#additional-f-droid-repositories) diff --git a/n/fairbuds.md b/n/fairbuds.md index 69bb8f9..15bd484 100644 --- a/n/fairbuds.md +++ b/n/fairbuds.md @@ -17,6 +17,7 @@ but the studio eq may not be so clear. +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Dezponia's studio EQ](#dezponias-studio-eq) - [2024-04-11](#2024-04-11) diff --git a/n/firewalld.md b/n/firewalld.md index 0d042ad..a834a87 100644 --- a/n/firewalld.md +++ b/n/firewalld.md @@ -18,6 +18,7 @@ The blog post also predates me having a /n directory here. +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Zones](#zones) - [Protocols](#protocols) diff --git a/n/gpg.md b/n/gpg.md index 3a84470..e3e2f9c 100644 --- a/n/gpg.md +++ b/n/gpg.md @@ -18,8 +18,12 @@ sitemap: false # Quick GPG notes where I may find them + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Keybase](#keybase) - [Claws-mail note that is somewhat related.](#claws-mail-note-that-is-somewhat-related) @@ -29,6 +33,9 @@ sitemap: false + + + To create an Ed25519 key, or whatever will be the default version in the future as defined by your GPG version: diff --git a/n/helen.md b/n/helen.md index 6bf0da9..3a10f3b 100644 --- a/n/helen.md +++ b/n/helen.md @@ -16,8 +16,12 @@ hattiwattlowprice: "10 c/kWh" Tuntihinta @ [Apple App Store](https://apps.apple.com/app/tuntihinta/id824684537) [Google Play](https://play.google.com/store/apps/details?id=fi.fingrid.tuntihinta) + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Helen hintalaskelmia Tuntihinta-sovellukselle](#helen-hintalaskelmia-tuntihinta-sovellukselle) - [Yhtälöt Tuntihinnalle](#yht%C3%A4l%C3%B6t-tuntihinnalle) @@ -28,6 +32,9 @@ Tuntihinta @ [Apple App Store](https://apps.apple.com/app/tuntihinta/id824684537 + + + # Helen hintalaskelmia Tuntihinta-sovellukselle Helen markkinahintasähkö kuukaudelle {{ page.month }} on {{ page.monthly }}. diff --git a/n/ksoy.md b/n/ksoy.md index f5edaf9..d644c68 100644 --- a/n/ksoy.md +++ b/n/ksoy.md @@ -12,8 +12,12 @@ stockmargin: "0.23 c/kWh" Tuntihinta @ [Apple App Store](https://apps.apple.com/app/tuntihinta/id824684537) [Google Play](https://play.google.com/store/apps/details?id=fi.fingrid.tuntihinta) + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [KSOY hintalaskelmia Tuntihinta-sovellukselle](#ksoy-hintalaskelmia-tuntihinta-sovellukselle) - [Yhtälöt Tuntihinnalle](#yht%C3%A4l%C3%B6t-tuntihinnalle) @@ -21,6 +25,9 @@ Tuntihinta @ [Apple App Store](https://apps.apple.com/app/tuntihinta/id824684537 + + + # KSOY hintalaskelmia Tuntihinta-sovellukselle _Siirtohinnasto ei tiedossa, joten se ei ole mukana yhtälöissä._ diff --git a/n/localectl.md b/n/localectl.md index 36d56b2..775c187 100644 --- a/n/localectl.md +++ b/n/localectl.md @@ -16,6 +16,7 @@ sitemap: false +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Ready commands](#ready-commands) - [Internationalish](#internationalish) diff --git a/n/obtainium.md b/n/obtainium.md index 1f465b0..36edd41 100644 --- a/n/obtainium.md +++ b/n/obtainium.md @@ -22,6 +22,7 @@ automatic updates on Android 12+. +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Importable app list](#importable-app-list) - [Third party F-Droid repositories](#third-party-f-droid-repositories) diff --git a/n/reuse.md b/n/reuse.md index b72e0a9..8f2a215 100644 --- a/n/reuse.md +++ b/n/reuse.md @@ -14,8 +14,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 # REUSE notes + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Adding headers](#adding-headers) - [Styles](#styles) @@ -24,6 +28,9 @@ SPDX-License-Identifier: CC-BY-SA-4.0 + + + > reuse is a tool for compliance with the REUSE recommendations. says [their GitHub description](https://github.com/fsfe/reuse-tool) and diff --git a/n/systemd-boot.md b/n/systemd-boot.md index 48bb58e..d848f24 100644 --- a/n/systemd-boot.md +++ b/n/systemd-boot.md @@ -19,6 +19,7 @@ and probably not very much comprehensible by others than me. +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Installing Fedora?](#installing-fedora) - [Converting to systemd-bootd later](#converting-to-systemd-bootd-later) diff --git a/pages/404.markdown b/pages/404.markdown index 0211f53..9bac8a8 100644 --- a/pages/404.markdown +++ b/pages/404.markdown @@ -10,6 +10,7 @@ excerpt: "404, not found, don't bother clicking..." +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Guesses what you might have been looking for?](#guesses-what-you-might-have-been-looking-for) diff --git a/pages/browser-extensions.markdown b/pages/browser-extensions.markdown index 3946249..546d56b 100644 --- a/pages/browser-extensions.markdown +++ b/pages/browser-extensions.markdown @@ -17,8 +17,12 @@ Browser extensions are living in my browser policies. - [Firefox](https://gitea.blesmrt.net/mikaela/shell-things/src/branch/master/etc/firefox/policies) - [Chromium](https://gitea.blesmrt.net/mikaela/shell-things/src/branch/master/etc/opt/chromium/policies/managed) + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Chromium flags](#chromium-flags) - [Vendor-prefixed](#vendor-prefixed) @@ -30,6 +34,9 @@ Browser extensions are living in my browser policies. + + + +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Rules](#rules) - [Languages](#languages) diff --git a/pages/links2.markdown b/pages/links2.markdown index a87a735..43fc716 100644 --- a/pages/links2.markdown +++ b/pages/links2.markdown @@ -17,6 +17,7 @@ _This page is also in need of attention._ +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [In English](#in-english) - [Asexuality](#asexuality) diff --git a/pages/matrix.markdown b/pages/matrix.markdown index da7b71c..db077ae 100644 --- a/pages/matrix.markdown +++ b/pages/matrix.markdown @@ -35,6 +35,7 @@ links._ +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Where else can I read about Matrix?](#where-else-can-i-read-about-matrix) - [Is there any kind of Matrix etiquette I should know about?](#is-there-any-kind-of-matrix-etiquette-i-should-know-about) diff --git a/pages/support.markdown b/pages/support.markdown index a77970a..1ab6b1e 100644 --- a/pages/support.markdown +++ b/pages/support.markdown @@ -13,6 +13,7 @@ published: false +_Automatically generated Table of Contents - Automaattinen sisällysluettelo_ - [Mikäli oleilet Suomessa](#mik%C3%A4li-oleilet-suomessa) - [Om vi bor i Finland](#om-vi-bor-i-finland)