Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,11 @@ content:
- url: https://github.com/couchbase/docs-efcore
branches: [release/1.0]

# Go and Rust
- url: https://github.com/couchbase/docs-sdk-go
branches: [temp/2.11, temp/2.10, temp/2.9, temp/2.8, release/2.7]
- url: https://github.com/couchbase/docs-sdk-rust
branches: [release/1.0]

# JVM
- url: https://github.com/couchbase/docs-sdk-java
Expand Down
8 changes: 4 additions & 4 deletions etc/nginx/snippets/rewrites.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# NOTE rewrite uses 302 redirect by default (assuming replacement does not start with a protocol)
# current versions
# NOTE Go and Rust SDKs have their own sites with automatic evergreen redirects
set $current_version_sdk_c_api '3.3.18';
set $current_version_sdk_cxx_api '1.2.0';
set $current_version_sdk_dotnet_api '3.8.0';
set $current_version_sdk_go_api '2.11.1';
set $current_version_sdk_java_api '3.9.1';
set $current_version_sdk_jvm_core_api '3.9.1';
set $current_version_kotlin_client_api '3.9.1';
Expand All @@ -12,7 +12,7 @@ set $current_version_sdk_php_api '4.4.0';
set $current_version_sdk_python_api '4.5.0';
set $current_version_sdk_ruby_api '3.7.0';
set $current_version_sdk_scala_api '3.9.1';
set $current_version_analytics_dotnet_api '1.0.0';
set $current_version_analytics_dotnet_api '1.0.1';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

driveby .Net EA change, assume intended?

set $current_version_analytics_java_api '1.0.0';
set $current_version_analytics_nodejs_api '1.0.0';
set $current_version_analytics_python_api '1.0.0';
Expand Down Expand Up @@ -210,17 +210,17 @@ location ^~ /sdk-api/couchbase-c-client/ { rewrite ^/sdk-api/(couchbase-c-client
location ^~ /sdk-api/couchbase-cxx-client/ { rewrite ^/sdk-api/(couchbase-cxx-client)/(.*)$ /sdk-api/$1-$current_version_sdk_cxx_api/$2 last; }
location ^~ /sdk-api/couchbase-net-client/ { rewrite ^/sdk-api/(couchbase-net-client)/(.*)$ /sdk-api/$1-$current_version_sdk_dotnet_api/$2 last; }
# Go 2.n has its own evergreen API ref at https://godoc.org/gopkg.in/couchbase/gocb.v2 and https://pkg.go.dev/github.com/couchbase/gocb/[email protected]?tab=doc
# location ^~ /sdk-api/couchbase-go-client/ { rewrite ^/sdk-api/(couchbase-go-client)/(.*)$ /sdk-api/$1-$current_version_sdk_go_api/$2 last; }
location ^~ /sdk-api/couchbase-java-client/ { rewrite ^/sdk-api/(couchbase-java-client)/(.*)$ /sdk-api/$1-$current_version_sdk_java_api/$2 last; }
location ^~ /sdk-api/couchbase-core-io/ { rewrite ^/sdk-api/(couchbase-core-io)/(.*)$ /sdk-api/$1-$current_version_sdk_jvm_core_api/$2 last; }
location ^~ /sdk-api/couchbase-kotlin-client/ { rewrite ^/sdk-api/(couchbase-kotlin-client)/(.*)$ /sdk-api/$1-$current_version_kotlin_client_api/$2 last; }
location ^~ /sdk-api/couchbase-node-client/ { rewrite ^/sdk-api/(couchbase-node-client)/(.*)$ /sdk-api/$1-$current_version_sdk_nodejs_api/$2 last; }
location ^~ /sdk-api/couchbase-php-client/ { rewrite ^/sdk-api/(couchbase-php-client)/(.*)$ /sdk-api/$1-$current_version_sdk_php_api/$2 last; }
location ^~ /sdk-api/couchbase-python-client/ { rewrite ^/sdk-api/(couchbase-python-client)/(.*)$ /sdk-api/$1-$current_version_sdk_python_api/$2 last; }
location ^~ /sdk-api/couchbase-ruby-client/ { rewrite ^/sdk-api/(couchbase-ruby-client)/(.*)$ /sdk-api/$1-$current_version_sdk_ruby_api/$2 last; }
# Rust SDK has its own evergreen API ref at https://docs.rs/couchbase
location ^~ /sdk-api/couchbase-scala-client/ { rewrite ^/sdk-api/(couchbase-scala-client)/(.*)$ /sdk-api/$1-$current_version_sdk_scala_api/$2 last; }
# Analytics SDKs
location ^~ /sdk-api/couchbase-analytics-dotnet-client/ { rewrite ^/sdk-api/(couchbase-analytics-dotnet-client)/(.*)$ /sdk-api/$1-$current_version_analytics_dotnet_api/$2 last; }
location ^~ /sdk-api/analytics-dotnet-client/ { rewrite ^/sdk-api/(analytics-dotnet-client)/(.*)$ /sdk-api/$1-$current_version_analytics_dotnet_api/$2 last; }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, driveby .Net EA change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes,
.NET not following Java pattern on this occasion. :-/

location ^~ /sdk-api/couchbase-analytics-java-client/ { rewrite ^/sdk-api/(couchbase-analytics-java-client)/(.*)$ /sdk-api/$1-$current_version_analytics_java_api/$2 last; }
location ^~ /sdk-api/analytics-nodejs-client/ { rewrite ^/sdk-api/(analytics-nodejs-client)/(.*)$ /sdk-api/$1-$current_version_analytics_nodejs_api/$2 last; }
location ^~ /sdk-api/analytics-python-client/ { rewrite ^/sdk-api/(analytics-python-client)/(.*)$ /sdk-api/$1-$current_version_analytics_python_api/$2 last; }
Expand Down
4 changes: 3 additions & 1 deletion home/modules/ROOT/pages/developer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include::home::partial$info-banner.adoc[]
The Developer Data Platform for Critical Applications in Our AI World.

Couchbase is a multipurpose NoSQL database for transactional, analytical, mobile, and AI applications.
Develop at the edge with offline-first Couchbase Lite, for transactional workloads with SDKs in eleven popular programming languages, for real-time analytics, and build agentic apps (currently in private preview).
Develop at the edge with offline-first Couchbase Lite, for transactional workloads with SDKs in a dozen popular programming languages, for real-time analytics, and build agentic apps (currently in private preview).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"12" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It reads better, as a dozen is a hardwired concept for most peoples.

However, I'm aware that there are counter-arguments. 🤷

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either way, you have to write "dozen" as "12" according to https://docs.couchbase.com/styleguide/numbers.html so it's moot :D




Expand Down Expand Up @@ -42,6 +42,7 @@ xref:c-sdk:hello-world:overview.adoc[C]
| xref:php-sdk:hello-world:overview.adoc[PHP]
| xref:python-sdk:hello-world:overview.adoc[Python]
| xref:ruby-sdk:hello-world:overview.adoc[Ruby]
| xref:rust-sdk:hello-world:overview.adoc[Rust]
| xref:scala-sdk:hello-world:overview.adoc[Scala]
* xref:cloud:third-party:integrations.adoc[Integrations, Connectors, and Tools]
// * Multi-Document ACID Transactions
Expand All @@ -63,6 +64,7 @@ They support streaming APIs to handle large datasets, as well as the common feat
such as connection management and robust error handling.
////

* xref:dotnet-analytics-sdk:hello-world:overview.adoc[.NET Analytics SDK Docs]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah,
while I was starting the Rust changes I noticed the missing entry on this page,
and thought I may as well also add in the 1.0.1 change
(1.0.0 has been removed).

* xref:go-analytics-sdk:hello-world:overview.adoc[Go Analytics SDK Docs]
* xref:java-analytics-sdk:hello-world:overview.adoc[Java Analytics SDK Docs]
* xref:nodejs-analytics-sdk:hello-world:overview.adoc[Node.js Analytics SDK Docs]
Expand Down
5 changes: 5 additions & 0 deletions home/modules/ROOT/pages/sdk.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ They offer traditional synchronous APIs as well as scalable asynchronous APIs to
| xref:ruby-sdk:hello-world:start-using-sdk.adoc[Ruby Getting Started]
| https://docs.couchbase.com/sdk-api/couchbase-ruby-client/Couchbase.html[Ruby API Reference]

| Rust SDK
| xref:rust-sdk:hello-world:overview.adoc[Docs]
| xref:rust-sdk:hello-world:start-using-sdk.adoc[Rust Getting Started]
| https://docs.rs/couchbase/[Rust API Reference]

| Scala SDK
| xref:scala-sdk:hello-world:overview.adoc[Docs]
| xref:scala-sdk:hello-world:start-using-sdk.adoc[Scala Getting Started]
Expand Down