diff --git a/.gitmodules b/.gitmodules index 3d8a47fd8..c2f4ff29d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -14,3 +14,6 @@ path = translations/docs-zh url = https://github.com/dapr/docs-zh.git branch = v1.0_content +[submodule "sdkdocs/go"] + path = sdkdocs/go + url = https://github.com/dapr/go-sdk.git diff --git a/daprdocs/config.toml b/daprdocs/config.toml index 711f151c5..f3d77ee81 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -71,6 +71,14 @@ id = "UA-149338238-3" source = "../sdkdocs/dotnet/daprdocs/content/en/dotnet-sdk-contributing" target = "content/contributing/" lang = "en" + [[module.mounts]] + source = "../sdkdocs/go/daprdocs/content/en/go-sdk-docs" + target = "content/developing-applications/sdks/go" + lang = "en" + [[module.mounts]] + source = "../sdkdocs/go/daprdocs/content/en/go-sdk-contributing" + target = "content/contributing/" + lang = "en" [[module.mounts]] source = "../translations/docs-zh/content/zh-hans" diff --git a/daprdocs/content/en/_index.md b/daprdocs/content/en/_index.md index 0db703ac4..da87a5014 100644 --- a/daprdocs/content/en/_index.md +++ b/daprdocs/content/en/_index.md @@ -101,7 +101,7 @@ Welcome to the Dapr documentation site!
- + Go logo
diff --git a/daprdocs/content/en/developing-applications/sdks/_index.md b/daprdocs/content/en/developing-applications/sdks/_index.md index 2ad84d08b..88848a8c7 100644 --- a/daprdocs/content/en/developing-applications/sdks/_index.md +++ b/daprdocs/content/en/developing-applications/sdks/_index.md @@ -34,7 +34,7 @@ The Dapr SDKs are the easiest way for you to get Dapr into your application. Cho | [.NET]({{< ref dotnet >}}) | Stable | ✔ | [ASP.NET Core]({{< ref dotnet-aspnet >}}) | ✔ | | [Python]({{< ref python >}}) | Stable | ✔ | [gRPC]({{< ref python-grpc.md >}}) | [FastAPI]({{< ref python-fastapi.md >}})
[Flask]({{< ref python-flask.md >}}) | | [Java](https://github.com/dapr/java-sdk) | Stable | ✔ | Spring Boot | ✔ | -| [Go](https://github.com/dapr/go-sdk) | Stable | ✔ | ✔ | | +| [Go]({{< ref go >}}) | Stable | ✔ | ✔ | | | [PHP]({{< ref php >}}) | Stable | ✔ | ✔ | ✔ | | [C++](https://github.com/dapr/cpp-sdk) | In development | ✔ | | | [Rust](https://github.com/dapr/rust-sdk) | In development | ✔ | | | diff --git a/sdkdocs/go b/sdkdocs/go new file mode 160000 index 000000000..fc67f725e --- /dev/null +++ b/sdkdocs/go @@ -0,0 +1 @@ +Subproject commit fc67f725e0b5bb14ce903940fe889a76b59fceef