Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Don't transform files whose TOC is unchanged #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 13, 2019

  1. Don't transform files whose TOC is unchanged

    Looking at the code, this was always the intention, but there was a
    small bug in the logic that this patch fixes.
    
    This is helpful e.g. to check in CI that all TOCs have been updated,
    like this:
    
        doctoc --stdout . | grep -q "should be updated" && echo "TOCs are out of date!"
    akheron committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    678a006 View commit details
    Browse the repository at this point in the history