mirror of
https://github.com/kdeldycke/awesome-falsehood.git
synced 2024-11-24 04:59:41 +03:00
No need to force TOC section title in CLI with doctoc 2.0.0.
See: https://github.com/thlorenz/doctoc/pull/145
This commit is contained in:
parent
aa7c527b80
commit
fab8fbd317
6
.github/workflows/autofix.yaml
vendored
6
.github/workflows/autofix.yaml
vendored
@ -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
|
||||
|
24
readme.md
24
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.
|
||||
|
||||
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||
## 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)
|
||||
|
||||
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||
<!-- START doctoc -->
|
||||
<!-- END doctoc -->
|
||||
|
||||
## Meta
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user