Skip to content

Add CLI option --check to check whether the TOC is up to date #148

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akheron
Copy link

@akheron akheron commented Aug 13, 2019

This is useful in CI to check whether TOC was updated or not when changing the headings in a markdown file.

This is useful in CI to check whether TOC was updated or not when
changing the headings in a markdown file.
@akheron
Copy link
Author

akheron commented Aug 13, 2019

I also documented the new option in .verb.md as instructed in the readme, but running verb changed README.md considerably (effectively broke it). Is there something I missed, or should I just not run verb and add the change to README.md by hand instead?

@joaopgrassi
Copy link

This would be great to have as part of CI checks, to see if a PR is lacking to update the TOC. Any chance we can have this, or can be achieve already in some other way? I checked but didn't find much.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants