-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Request: Support checking if TOCs are up to date #131
Comments
I like the idea.
PRs with tests welcome :) |
If you want to run doctoc in the CI, ensuring tocs are up-to-date or fail the job if not, I highly suggest you this: https://github.com/fluidattacks/makes#formatmarkdown This is how a CI failure looks like: fluidattacks/makes#190 (comment) It can also be executed locally, which is nice |
Closing in favor of #188, keep the conversation going there. 😄 |
I would like to use the tool on CI to confirm that my TOCs are up to date.
One way I can think of to do this is to have a different exit code if the TOCs are not up to date.
Another is to include a
--dry-run
option and look for output.The text was updated successfully, but these errors were encountered: