Besides checking for .md files, also check for `.github/toc.yml`
I’ve setup toc-me for https://github.com/nock/nock/. We decided to change the bullets using the configuration and I expected toc-me to update the README again, but it didn’t, because it only does when a *.md file was updated.
I wonder if you would consider checking for .github/toc.yml as well?
Welcome! Thanks for opening your first issue in toc-me.
@gr2m - I'm glad to see you are finding value in my little app. I like your suggestion and would welcome your thoughts on this potential approach:
- The app checks to see if a commit includes a change to
.github/toc.yml - If a config change is applied, the search API is used to find all markdown files in the repo
- The app re-generates TOCs in properly configured README files
Would this address your needs?
Yes, that sounds great!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.