diff --git a/preview-src/landing-page-top-level-sdk.adoc b/preview-src/landing-page-top-level-sdk.adoc new file mode 100644 index 00000000..fcedc3e0 --- /dev/null +++ b/preview-src/landing-page-top-level-sdk.adoc @@ -0,0 +1,106 @@ += Couchbase SDK +:page-layout: landing-page-top-level-sdk +:page-role: tiles +:!sectids: + + += SDK +++++ +
+++++ + +[.column] +====== {empty} +[.content] +The Couchbase SDK allows applications to access a Couchbase cluster. It offers traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance. + +[.column] +====== {empty} +[.media-left] +image::sdk-icon.svg[] + +++++ +
+++++ + +== Languages +++++ +
+++++ + +[.column] +====== {empty} +.C SDK + +[.content] +The Couchbase C SDK (libcouchbase) enables C and C++ programs to access a Couchbase Server cluster. The C SDK is also commonly used as a core dependency of SDKs written in other language to provide a common implementation and high performance. +[] +xref:#[Start Using the C SDK] + +[.column] +====== {empty} + +..NET SDK +[.content] +The .NET SDK enables you to interact with a Couchbase Server cluster from the .NET Framework using any Common Language Runtime (CLR) language, including C#, F#, and VB.NET. It offers both a traditional synchronous API and an asynchronous API based on the Task-based Asynchronous Pattern (TAP). +[] +xref:#[Start Using the .NET SDK] + +[.column] +====== {empty} +.Go SDK + +[.content] +The Couchbase Go SDK allows you to connect to a Couchbase Server cluster from Go. The Go SDK is a native Go library and uses the high-performance gocbcore to handle communicating to the cluster over Couchbase’s binary protocols. +[] +xref:#[Start Using the Go SDK] + +[.column] +====== {empty} +.Java SDK + +[.content] +The Java SDK allows Java applications to access a Couchbase Server cluster. The Java SDK offers traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance. +[] +xref:#[Start Using the Java SDK] + +[.column] +====== {empty} +.Node.js SDK + +[.content] +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem +[] +xref:#[Start Using the Node.js SDK] + +[.column] +====== {empty} +.PHP SDK + +[.content] +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet +[] +xref:#[Start Using the PHP SDK] + +[.column] +====== {empty} +.Python SDK + +[.content] +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem +[] +xref:#[Start Using the Python SDK] + +[.column] +====== {empty} +.Scala SDK + +[.content] +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet +[] +xref:#[Start Using the Scala SDK] + + +++++ +
+++++ \ No newline at end of file diff --git a/src/img/couchbase-documentation-logo.svg b/src/img/couchbase-documentation-logo.svg new file mode 100644 index 00000000..1d93e7e7 --- /dev/null +++ b/src/img/couchbase-documentation-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/img/logo.svg b/src/img/logo-old.svg similarity index 100% rename from src/img/logo.svg rename to src/img/logo-old.svg diff --git a/src/js/01-nav.js b/src/js/01-nav.js index 3e9d60d0..6db14e3b 100644 --- a/src/js/01-nav.js +++ b/src/js/01-nav.js @@ -132,14 +132,6 @@ return el } - // hide left nav on top level landing page - - if (nav.innerText === '') { - nav.classList.add('hide-nav') - } else { - nav.classList.add('show-nav') - } - menuExpandToggle.addEventListener('click', function (e) { e.preventDefault() // var navBarHeight = nav.querySelector('.nav-menu') diff --git a/src/layouts/landing-page-top-level-sdk.hbs b/src/layouts/landing-page-top-level-sdk.hbs new file mode 100644 index 00000000..10f691b4 --- /dev/null +++ b/src/layouts/landing-page-top-level-sdk.hbs @@ -0,0 +1,13 @@ + + + +{{> head-first}} +{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}} +{{> head-last}} + + +{{> header}} +{{> body-landing-top-level-sdk}} +{{> footer}} + + diff --git a/src/partials/body-landing-top-level-sdk.hbs b/src/partials/body-landing-top-level-sdk.hbs new file mode 100644 index 00000000..27036efe --- /dev/null +++ b/src/partials/body-landing-top-level-sdk.hbs @@ -0,0 +1,7 @@ +
+
+
+{{{page.contents}}} +
+
+
diff --git a/src/partials/header-content.hbs b/src/partials/header-content.hbs index 06498489..e56cac14 100644 --- a/src/partials/header-content.hbs +++ b/src/partials/header-content.hbs @@ -1,7 +1,7 @@