Skip to content

Add option to remove TOC check#336

Merged
sgugger merged 2 commits into
mainfrom
no_error_toc
Dec 14, 2022
Merged

Add option to remove TOC check#336
sgugger merged 2 commits into
mainfrom
no_error_toc

Conversation

@sgugger

@sgugger sgugger commented Dec 14, 2022

Copy link
Copy Markdown
Contributor

This PR adds a flag in the doc config that will allow users to remove the check that all files are in the TOC. This is not activated by default because we often want to error when a contributor forgets to add a new doc file to the TOC.

@LysandreJik LysandreJik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sgugger
sgugger merged commit 207db9a into main Dec 14, 2022
@sgugger
sgugger deleted the no_error_toc branch December 14, 2022 23:18
@osanseviero

Copy link
Copy Markdown
Contributor

Thanks a lot for the quick feature addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants