From 047568bce5a53eeae543ecd870e58ada930427e9 Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Sun, 25 Sep 2022 02:27:18 -0700 Subject: [PATCH] chore: fix links Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com> --- docs/source/guides/grpc.rst | 10 +++++----- .../guides/snippets/grpc/{ => docs}/python/request.py | 0 .../guides/snippets/grpc/kotlin/settings.gradle.kts | 10 ---------- 3 files changed, 5 insertions(+), 15 deletions(-) rename docs/source/guides/snippets/grpc/{ => docs}/python/request.py (100%) diff --git a/docs/source/guides/grpc.rst b/docs/source/guides/grpc.rst index fcca7bbaf64..ee6c08f5df8 100644 --- a/docs/source/guides/grpc.rst +++ b/docs/source/guides/grpc.rst @@ -301,7 +301,7 @@ gRPC server: .. literalinclude:: ./snippets/grpc/java/build.gradle :language: groovy - :caption: ``./build.gradle`` + :caption: build.gradle To build the client, run: @@ -380,11 +380,11 @@ gRPC server: ยป gradle init --project-dir . - The following ``build.gradle`` should be able to help you get started: + The following ``build.gradle.kts`` should be able to help you get started: - .. literalinclude:: ./snippets/grpc/kotlin/build.gradle.kt + .. literalinclude:: ./snippets/grpc/kotlin/build.gradle.kts :language: groovy - :caption: ``./build.gradle.kt`` + :caption: build.gradle.kts To build the client, run: @@ -775,7 +775,7 @@ Therefore, our ``Request`` message would have the following structure: .. tab-item:: Python :sync: python - .. literalinclude:: ./snippets/grpc/python/request.py + .. literalinclude:: ./snippets/grpc/docs/python/request.py :language: python .. tab-item:: Go diff --git a/docs/source/guides/snippets/grpc/python/request.py b/docs/source/guides/snippets/grpc/docs/python/request.py similarity index 100% rename from docs/source/guides/snippets/grpc/python/request.py rename to docs/source/guides/snippets/grpc/docs/python/request.py diff --git a/docs/source/guides/snippets/grpc/kotlin/settings.gradle.kts b/docs/source/guides/snippets/grpc/kotlin/settings.gradle.kts index 1c977ea8a6c..c926d9ed63f 100644 --- a/docs/source/guides/snippets/grpc/kotlin/settings.gradle.kts +++ b/docs/source/guides/snippets/grpc/kotlin/settings.gradle.kts @@ -1,11 +1 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * The settings file is used to specify which projects to include in your build. - * - * Detailed information about configuring a multi-project build in Gradle can be found - * in the user manual at https://docs.gradle.org/7.4.2/userguide/multi_project_builds.html - */ - rootProject.name = "kotlin" -include("lib")