Merge pull request #504 from imbsky/toc-gen

Use GitHub Actions to keep our ToC up to date
This commit is contained in:
lestrrat 2020-05-28 07:31:54 +09:00 committed by GitHub
commit c1fffe19e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 65 deletions

17
.github/workflows/toc.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Generate Table of Contents
on:
push:
branches:
- master
jobs:
generateTOC:
runs-on: ubuntu-latest
steps:
- name: TOC Generator
uses: technote-space/toc-generator@v2
with:
TARGET_PATHS: README.md
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -701,68 +701,5 @@ Implement all(?) of the original percol options
Obviously, kudos to the original percol: https://github.com/mooz/percol
Much code stolen from https://github.com/mattn/gof
# Table of Contents
* [peco](#peco)
* [Description](#description)
* [Demo](#demo)
* [Features](#features)
* [Incremental Search](#incremental-search)
* [Select Multiple Lines](#select-multiple-lines)
* [Select Range Of Lines](#select-range-of-lines)
* [Select Filters](#select-filters)
* [Selectable Layout](#selectable-layout)
* [Works on Windows!](#works-on-windows)
* [Installation](#installation)
* [Just want the binary?](#just-want-the-binary)
* [macOS (Homebrew, Scarf)](#macos-homebrew-scarf)
* [Windows (Chocolatey NuGet Users)](#windows-chocolatey-nuget-users)
* [Building peco yourself](#building-peco-yourself)
* [go get IS NOT RECOMMENDED](#go-get-is-not-recommended)
* [Command Line Options](#command-line-options)
* [-h, --help](#-h---help)
* [--version](#--version)
* [--query <query>](#--query-query)
* [--rcfile <filename>](#--rcfile-filename)
* [-b, --buffer-size <num>](#-b---buffer-size-num)
* [--null](#--null)
* [--initial-index](#--initial-index)
* [--initial-filter `IgnoreCase|CaseSensitive|SmartCase|Regexp|Fuzzy`](#--initial-filter-ignorecasecasesensitivesmartcaseregexpfuzzy)
* [--prompt](#--prompt)
* [--layout `top-down|bottom-up`](#--layout-top-downbottom-up)
* [--select-1](#--select-1)
* [--on-cancel `success|error`](#--on-cancel-successerror)
* [--selection-prefix `string`](#--selection-prefix-string)
* [--exec `string`](#--exec-string)
* [Configuration File](#configuration-file)
* [Global](#global)
* [Prompt](#prompt)
* [InitialMatcher](#initialmatcher)
* [InitialFilter](#initialfilter)
* [StickySelection](#stickyselection)
* [OnCancel](#oncancel)
* [Keymaps](#keymaps)
* [Key sequences](#key-sequences)
* [Combined actions](#combined-actions)
* [Available keys](#available-keys)
* [Key workarounds](#key-workarounds)
* [Available actions](#available-actions)
* [Default Keymap](#default-keymap)
* [Styles](#styles)
* [Foreground Colors](#foreground-colors)
* [Background Colors](#background-colors)
* [Attributes](#attributes)
* [CustomFilter](#customfilter)
* [Examples](#examples)
* [Layout](#layout)
* [SingleKeyJump](#singlekeyjump)
* [SelectionPrefix](#selectionprefix)
* [FAQ](#faq)
* [Does peco work on (msys2|cygwin)?](#does-peco-work-on-msys2cygwin)
* [Non-latin fonts (e.g. Japanese) look weird on my Windows machine...?](#non-latin-fonts-eg-japanese-look-weird-on-my-windows-machine)
* [Hacking](#hacking)
* [TODO](#todo)
* [AUTHORS](#authors)
* [CONTRIBUTORS](#contributors)
* [Notes](#notes)
* [Table of Contents](#table-of-contents)
<!-- START doctoc -->
<!-- END doctoc -->