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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 --write-toc case bug #1182

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/mystmd/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export function makeWriteTOCOption() {
return new Option(
'--write-toc',
'Generate editable _toc.yml file for project if it does not exist',
).default(false);
)
.default(false)
.implies({ writeTOC: true });
Copy link
Collaborator

Choose a reason for hiding this comment

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

I learned something today :D

}

export function makeGithubPagesOption() {
Expand Down
Loading