Skip to content

Commit

Permalink
fix: readme flag default value set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
oielbanna committed Aug 25, 2023
1 parent 13dbe6f commit b3c316c
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 11,957 deletions.
2 changes: 1 addition & 1 deletion src/docgen/view/documentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class Documentation {
const submodule = options?.submodule ? this.findSubmodule(assembly, options.submodule) : undefined;

let readme: MarkdownDocument | undefined;
if (options?.readme ?? true) {
if (options?.readme ?? false) {
readme = new Readme(transpile, assembly, submodule).render();
}

Expand Down
18 changes: 3 additions & 15 deletions test/__snapshots__/cli.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 1 addition & 94 deletions test/docgen/transpile/__snapshots__/transpile.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b3c316c

Please sign in to comment.