Skip to content

Commit afdaad3

Browse files
committed
doctoc
1 parent e63ae03 commit afdaad3

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/toc.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Update Table of Contents
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
toc:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Generate TOC
18+
run: |
19+
npm install -g doctoc
20+
doctoc README.md
21+
22+
- name: Commit changes
23+
run: |
24+
git config --global user.name "github-actions"
25+
git config --global user.email "[email protected]"
26+
git add README.md
27+
git commit -m "Auto update TOC" || exit 0
28+
git push
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Awesome VS Code Container Resources *](#awesome-vs-code-container-resources-)
6+
- [Official Documentation Quick Links](#official-documentation-quick-links)
7+
- [Specifications](#specifications)
8+
- [Articles](#articles)
9+
- [Videos](#videos)
10+
- [Containers](#containers)
11+
- [Features](#features)
12+
- [Authoring Features](#authoring-features)
13+
- [Tools and Services](#tools-and-services)
14+
- [Other tools for working with standadized development environments](#other-tools-for-working-with-standadized-development-environments)
15+
16+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
17+
118
# Awesome VS Code Container Resources [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)
219

320
> A curated list of resources for using VS Code in Containers

0 commit comments

Comments
 (0)