From fab8fbd31770d1f723952198b028c6e1574cf7ed Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Mon, 7 Dec 2020 12:13:39 +0100 Subject: [PATCH] No need to force TOC section title in CLI with doctoc 2.0.0. See: https://github.com/thlorenz/doctoc/pull/145 --- .github/workflows/autofix.yaml | 6 +----- readme.md | 24 ++---------------------- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index abdbf68..465113a 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -22,11 +22,7 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Generate full TOC run: | - # Generates title as part of the TOC to avoid extra non-conform blank - # lines. See: - # https://github.com/thlorenz/doctoc/issues/101 - # https://github.com/thlorenz/doctoc/pull/145 - doctoc --github --title "## Contents" readme.md + doctoc --github readme.md - name: Remove forbidden special TOC entries # See: https://github.com/sindresorhus/awesome-lint/blob/v0.16.0/rules # /toc.js#L15-L18 diff --git a/readme.md b/readme.md index 0572e22..9c43611 100644 --- a/readme.md +++ b/readme.md @@ -22,30 +22,10 @@ subtleties. In a sense, *Falsehood* articles are a suite of wordy unit-tests covering extensive edge-cases provided by real-world usage. - - ## Contents -- [Meta](#meta) -- [Arts](#arts) -- [Business](#business) -- [Dates and Time](#dates-and-time) -- [Education](#education) -- [Emails](#emails) -- [Geography](#geography) -- [Human Identity](#human-identity) -- [Internationalization](#internationalization) -- [Management](#management) -- [Multimedia](#multimedia) -- [Networks](#networks) -- [Phone Numbers](#phone-numbers) -- [Postal Addresses](#postal-addresses) -- [Science](#science) -- [Society](#society) -- [Software Engineering](#software-engineering) -- [Typography](#typography) - - + + ## Meta