Skip to content

Commit 790adbd

Browse files
committed
GH comments
1 parent 1382c0a commit 790adbd

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

docs/pages/kotlinx-rpc/topics/grpc-configuration.topic

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,19 @@
7575
<code-block lang="Kotlin">
7676
rpc {
7777
grpc {
78-
// enforces additional checks on the project configuration
78+
// Enforce additional checks on the project configuration
7979
enabled = true
8080

81-
// Quick access to a Locator and Options
81+
// Quick access to a `Locator` and `Options`
8282
// for the kotlinx-rpc Protobuf plugin
8383
plugin {
8484
options {
85-
// add/change options
85+
// Add or modify options
8686
option("debugOutput=myFile.txt")
8787
}
8888

8989
locator {
90-
// change artifact coordinates, for example
90+
// Override artifact coordinates
9191
artifact = "some-other:artifact:version"
9292
}
9393
}
@@ -114,8 +114,8 @@
114114
}
115115
</code-block>
116116
<p>
117-
If you want to, you can still use <code>protobuf</code> extension to access the configuration.
118-
The following is the equivalent for the code above, but using the <code>protobuf</code> extension:
117+
You can still use <code>protobuf</code> extension to access the configuration.
118+
The following is the equivalent for the above code using the <code>protobuf</code> extension:
119119
</p>
120120
<code-block lang="Kotlin">
121121
protobuf {
@@ -146,7 +146,7 @@
146146
}
147147
</code-block>
148148
<p>
149-
Minimum recommended configuration looks like this:
149+
The minimum recommended configuration looks like this:
150150
</p>
151151
<code-block lang="Kotlin">
152152
rpc {
@@ -162,14 +162,13 @@
162162
<li><code>java</code> - protobuf Java declarations</li>
163163
<li><code>grpc</code> - gRPC Java declarations</li>
164164
<li><code>grpckt</code> - gRPC Kotlin wrappers for Java</li>
165-
<li><code>kotlinx-rpc</code> - pur wrappers for all of the above</li>
165+
<li><code>kotlinx-rpc</code> - our wrappers for all of the above</li>
166166
</list>
167167
<p>
168-
You won't need to use the first three directly, only the declarations from the <code>kotlinx-rpc</code>
169-
source set are intended to be used.
168+
Only the declarations from the <code>kotlinx-rpc</code> source set are intended to be used.
170169
</p>
171170
<p>
172-
Source sets are generated into <code>$BUILD_DIR/generated/source/proto/main</code> directory
171+
Source sets are generated into the <code>$BUILD_DIR/generated/source/proto/main</code> directory
173172
unless specified otherwise.
174173
</p>
175174
</chapter>

0 commit comments

Comments
 (0)