Skip to content

Commit

Permalink
allow doctoc to insert title
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaela committed May 29, 2024
1 parent 01f1332 commit 044c4ad
Show file tree
Hide file tree
Showing 33 changed files with 102 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Sitemaps](#sitemaps)
- [Unusual directories](#unusual-directories)
Expand All @@ -16,6 +20,9 @@ checkmark.

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

## Sitemaps

- `sitemap.xml` — automatically generated by Jekyll when building
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2015-06-22-ipv6.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The comments of that post are also totally lost.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [IPv4](#ipv4)
- [IPv6](#ipv6)
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2015-12-25-asus-tunnelbroker-net.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ especially about the dynamic DNS part._

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [The tunnel](#the-tunnel)
- [Basic Config](#basic-config)
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2016-03-09-weechat-tmux-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ don't need it even if you have only one device._

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [What is what?](#what-is-what)
- [Installing things](#installing-things)
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2019-07-11-android-private-dns-in-practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ my Nokia 1, I am able to type my own blog post about it._

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Notes/disclaimers:](#notesdisclaimers)
- [The tests](#the-tests)
Expand Down
7 changes: 6 additions & 1 deletion blog/_posts/2021-08-03-matrix-perfect-privacy-not.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Element, what Element?](#element-what-element)
- [You mentioned privacy?](#you-mentioned-privacy)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

# Element, what Element?

Element is the defacto Matrix client. If you wish to get into Matrix, you
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2021-11-23-leaving-privacyguides.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ and not the way a transparent project should work.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Previous leaving](#previous-leaving)
- [Other issues](#other-issues)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_
<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Setup](#setup)
- [Bus factor](#bus-factor)
Expand All @@ -31,6 +33,9 @@ _Table of Contents_

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

## Setup

I am tired, so excuse me for not involving complete documentation and just
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2024-05-17-https-everywhere.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ for those is the official documentation (bottom of the page).

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Chromium](#chromium)
- [DNS-over-HTTPS](#dns-over-https)
Expand Down
1 change: 1 addition & 0 deletions blog/_posts/2024-05-22-policy-contentblocker.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ I recommend reading the [browser policy part Ⅰ on enforcing HTTPS only mode]({

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Chromium](#chromium)
- [`/etc/opt/chromium/policies/managed/aminda-extensions.json`](#etcoptchromiumpoliciesmanagedaminda-extensionsjson)
Expand Down
7 changes: 7 additions & 0 deletions blog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,21 @@ permalink: /blog/
excerpt: "Blog index, posts in English and posts in Finnish — Blogin etusivu, postaukset englanniksi ja postaukset suomeksi."
---

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [In English](#in-english)
- [Suomeksi](#suomeksi)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

## In English

_Please keep in mind that old blog posts might not reflect the current
Expand Down
1 change: 1 addition & 0 deletions n/coauthor.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ which is produced by `git commit -s`

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [My private emails](#my-private-emails)
- [Where to find them](#where-to-find-them)
Expand Down
1 change: 1 addition & 0 deletions n/copyrightyear.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Apparently it depends on whether you care about when the project enters public d

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [No](#no)
- [Yes](#yes)
Expand Down
1 change: 1 addition & 0 deletions n/darkreader.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sitemap: false

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_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)
Expand Down
7 changes: 7 additions & 0 deletions n/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ sitemap: false

_For DNS resolvers, refer to [r/resolv.tsv](/r/resolv.tsv)_

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Identifying DNS resolver](#identifying-dns-resolver)
- [Identifying ECH support](#identifying-ech-support)
Expand All @@ -34,6 +38,9 @@ _For DNS resolvers, refer to [r/resolv.tsv](/r/resolv.tsv)_

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

---

## Identifying DNS resolver
Expand Down
7 changes: 7 additions & 0 deletions n/essentialsoftware.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ sitemap: false

This is just a quick personal reference so I don't have to guess.

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Security](#security)
- [Usability](#usability)
Expand All @@ -19,6 +23,9 @@ This is just a quick personal reference so I don't have to guess.

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

## Security

- `microcode` - propietary, but otherwise CPU holes are going to be gaping open. Refer to `tail -n +1 /sys/devices/system/cpu/vulnerabilities/*`
Expand Down
1 change: 1 addition & 0 deletions n/f-droid.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Remember to prefer the [F-Droid Basic](https://f-droid.org/packages/org.fdroid.b

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Official F-Droid repositories](#official-f-droid-repositories)
- [Additional F-Droid repositories](#additional-f-droid-repositories)
Expand Down
1 change: 1 addition & 0 deletions n/fairbuds.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ but the studio eq may not be so clear.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Dezponia's studio EQ](#dezponias-studio-eq)
- [2024-04-11](#2024-04-11)
Expand Down
1 change: 1 addition & 0 deletions n/firewalld.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The blog post also predates me having a /n directory here.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Zones](#zones)
- [Protocols](#protocols)
Expand Down
7 changes: 7 additions & 0 deletions n/gpg.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ sitemap: false

# Quick GPG notes where I may find them

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Keybase](#keybase)
- [Claws-mail note that is somewhat related.](#claws-mail-note-that-is-somewhat-related)
Expand All @@ -29,6 +33,9 @@ sitemap: false

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

To create an Ed25519 key, or whatever will be the default version in the
future as defined by your GPG version:

Expand Down
7 changes: 7 additions & 0 deletions n/helen.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_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)
Expand All @@ -28,6 +32,9 @@ Tuntihinta @ [Apple App Store](https://apps.apple.com/app/tuntihinta/id824684537

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

# Helen hintalaskelmia Tuntihinta-sovellukselle

Helen markkinahintasähkö kuukaudelle {{ page.month }} on {{ page.monthly }}.
Expand Down
7 changes: 7 additions & 0 deletions n/ksoy.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ 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)

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_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)
- [Lähteet](#l%C3%A4hteet)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

# KSOY hintalaskelmia Tuntihinta-sovellukselle

_Siirtohinnasto ei tiedossa, joten se ei ole mukana yhtälöissä._
Expand Down
1 change: 1 addition & 0 deletions n/localectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sitemap: false

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Ready commands](#ready-commands)
- [Internationalish](#internationalish)
Expand Down
1 change: 1 addition & 0 deletions n/obtainium.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ automatic updates on Android 12+.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Importable app list](#importable-app-list)
- [Third party F-Droid repositories](#third-party-f-droid-repositories)
Expand Down
7 changes: 7 additions & 0 deletions n/reuse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0

# REUSE notes

<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Adding headers](#adding-headers)
- [Styles](#styles)
Expand All @@ -24,6 +28,9 @@ SPDX-License-Identifier: CC-BY-SA-4.0

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->

> reuse is a tool for compliance with the REUSE recommendations.
says [their GitHub description](https://github.com/fsfe/reuse-tool) and
Expand Down
1 change: 1 addition & 0 deletions n/systemd-boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and probably not very much comprehensible by others than me.

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Installing Fedora?](#installing-fedora)
- [Converting to systemd-bootd later](#converting-to-systemd-bootd-later)
Expand Down
1 change: 1 addition & 0 deletions pages/404.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ excerpt: "404, not found, don't bother clicking..."

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
_Automatically generated Table of Contents - Automaattinen sisällysluettelo_

- [Guesses what you might have been looking for?](#guesses-what-you-might-have-been-looking-for)

Expand Down
Loading

0 comments on commit 044c4ad

Please sign in to comment.