Skip to content

Commit

Permalink
Merge pull request #920 from Shopify/at-gen-doc
Browse files Browse the repository at this point in the history
Enable documentation generation by default
  • Loading branch information
Morriar committed May 3, 2022
2 parents ed0c830 + 69f63a0 commit b57f315
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -123,6 +123,7 @@ Options:
# Default: {"activesupport"=>"false"}
[--verify], [--no-verify] # Verify RBIs are up-to-date
[--doc], [--no-doc] # Include YARD documentation from sources when generating RBIs. Warning: this might be slow
# Default: true
[--exported-gem-rbis], [--no-exported-gem-rbis] # Include RBIs found in the `rbi/` directory of the gem
# Default: true
-w, [--workers=N] # EXPERIMENTAL: Number of parallel workers to use when generating RBIs
Expand Down Expand Up @@ -255,7 +256,7 @@ gem:
typed_overrides:
activesupport: 'false'
verify: false
doc: false
doc: true
exported_gem_rbis: true
workers: 1
auto_strictness: true
Expand Down
2 changes: 1 addition & 1 deletion lib/tapioca/cli.rb
Expand Up @@ -172,7 +172,7 @@ def dsl(*constants)
option :doc,
type: :boolean,
desc: "Include YARD documentation from sources when generating RBIs. Warning: this might be slow",
default: false
default: true
option :exported_gem_rbis,
type: :boolean,
desc: "Include RBIs found in the `rbi/` directory of the gem",
Expand Down
1 change: 0 additions & 1 deletion sorbet/tapioca/config.yml
@@ -1,7 +1,6 @@
---
gem:
exclude: []
doc: true
typed_overrides:
"net-protocol": "false"
"net-smtp": "false"
Expand Down

0 comments on commit b57f315

Please sign in to comment.