Skip to content

Commit

Permalink
Update YARD excludes of protobuf files (#2330)
Browse files Browse the repository at this point in the history
Protobuf files and GAPIC documentation can live in the same directories.
Instead of excluding a directory, exclude the generated protobuf ruby files.
  • Loading branch information
blowmage committed Aug 21, 2018
1 parent 83c75be commit e9c3d38
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion google-cloud-datastore/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Google Cloud Datastore
--exclude lib/google/datastore/v1
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-debugger/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Stackdriver Debugger
--exclude lib/google/devtools
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-error_reporting/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Stackdriver Error Reporting
--exclude lib/google/devtools/clouderrorreporting/v1beta1
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-firestore/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Google Cloud Firestore API
--exclude lib/google/firestore/v1beta1
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-logging/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Stackdriver Logging
--exclude lib/google/logging/v2
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-pubsub/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Google Cloud Pub/Sub
--exclude lib/google/pubsub/v1
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
4 changes: 1 addition & 3 deletions google-cloud-spanner/.yardopts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
--no-private
--title=Google Cloud Spanner
--exclude lib/google/spanner
--exclude lib/google/cloud/spanner/admin/database/v1.rb
--exclude lib/google/cloud/spanner/admin/instance/v1.rb
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-trace/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Stackdriver Trace
--exclude lib/google/devtools/cloudtrace/v1
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down
2 changes: 1 addition & 1 deletion google-cloud-vision/.yardopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--no-private
--title=Google Cloud Vision
--exclude lib/google/cloud/vision/v1.rb
--exclude _pb\.rb$
--markup markdown
--markup-provider redcarpet

Expand Down

0 comments on commit e9c3d38

Please sign in to comment.