Skip to content

Commit 216ad2b

Browse files
authored
use gh action to update toc (#16)
1 parent fff3645 commit 216ad2b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/doctoc.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
on: push
2+
name: doctoc
3+
jobs:
4+
doctoc:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: technote-space/toc-generator@v4
8+
with:
9+
TOC_TITLE: "## Table of Contents"

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ Out of scope of this package are more convenient wrappers to handle arrays as ma
1616
would include storing strides, shapes and order (row/column major). This would require to add
1717
additional types, which can be easily built on top of this package.
1818

19-
## Table of Contents
2019

2120
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2221
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
23-
(generated with [DocToc](https://github.com/thlorenz/doctoc))
22+
## Table of Contents
2423

2524
- [Installation](#installation)
2625
- [Swift Package Manager](#swift-package-manager)

0 commit comments

Comments
 (0)