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

Commit b0d31f6

Browse files
author
Sam Lanning
authored
Merge pull request #13 from github/toc
Add Table of Contents
2 parents 5ceae46 + e5f195b commit b0d31f6

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-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: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,22 @@ 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 generated TOC please keep comment here to allow auto update -->
28+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
29+
**Table of Contents**
30+
31+
- [Creating your own course](#creating-your-own-course)
32+
- [Creating the GitHub Action](#creating-the-github-action)
33+
- [Testing the action](#testing-the-action)
34+
- [Adding new queries & calculating the contents for the CSV files](#adding-new-queries--calculating-the-contents-for-the-csv-files)
35+
- [Publishing your action](#publishing-your-action)
36+
- [Contributing your GitHub Action to this repository](#contributing-your-github-action-to-this-repository)
37+
- [Example Courses](#example-courses)
38+
- [Contributing](#contributing)
39+
- [Releasing new versions or updating dependencies](#releasing-new-versions-or-updating-dependencies)
40+
- [License](#license)
41+
42+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2843

2944
## Creating your own course
3045

0 commit comments

Comments
 (0)