Skip to content

Commit

Permalink
doctoc
Browse files Browse the repository at this point in the history
  • Loading branch information
sebst committed Oct 12, 2024
1 parent e63ae03 commit afdaad3
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update Table of Contents

on:
workflow_dispatch:
push:
branches:
- main
- master

jobs:
toc:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Generate TOC
run: |
npm install -g doctoc
doctoc README.md
- name: Commit changes
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git add README.md
git commit -m "Auto update TOC" || exit 0
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [Awesome VS Code Container Resources *](#awesome-vs-code-container-resources-)
- [Official Documentation Quick Links](#official-documentation-quick-links)
- [Specifications](#specifications)
- [Articles](#articles)
- [Videos](#videos)
- [Containers](#containers)
- [Features](#features)
- [Authoring Features](#authoring-features)
- [Tools and Services](#tools-and-services)
- [Other tools for working with standadized development environments](#other-tools-for-working-with-standadized-development-environments)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

# Awesome VS Code Container Resources [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)

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

0 comments on commit afdaad3

Please sign in to comment.