Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit de6256c

Browse files
committed
Add automatic generation of table of contents
1 parent 5ceae46 commit de6256c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name: CI
33
on: [push]
44

55
jobs:
6+
generateTOC:
7+
runs-on: ubuntu-latest
8+
name: Generate Table of Contents
9+
steps:
10+
- name: TOC Generator
11+
uses: technote-space/[email protected]
12+
with:
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
614
test-courses-cpp-ctf-segv-actual:
715
runs-on: ubuntu-latest
816
steps:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ including links to the lines of source code on GitHub when possible:
2424

2525
![](docs/comment_screenshot.png)
2626

27-
<!-- TODO: add README table of contents -->
27+
<!-- START doctoc -->
28+
<!-- END doctoc -->
2829

2930
## Creating your own course
3031

0 commit comments

Comments
 (0)