Skip to content

Conversation

@Pallavi-Janardhan
Copy link

@Pallavi-Janardhan Pallavi-Janardhan commented Dec 2, 2025

Doc Issue: DOC-13697

Added info about the IDE Plugins to the Hello World page, in the Node.js SDK doc.

Docs preview

Preview credentials

@simon-dew simon-dew changed the title Doc 13726 add ide section DOC-13726 add ide section Dec 3, 2025
Copy link
Contributor

@RichardSmedley RichardSmedley left a comment

Choose a reason for hiding this comment

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

Hello @Pallavi-Janardhan
I fear you may have strayed a little from DOC-13726.

As requested, the task - DOC-13697 - was split into bite-sized sections.
This one was to bring the opening section into line with the other SDKs' docs.

It looks like that change is a tiny fraction of all that is included in this PR.

What's needed now is:

  1. A fresh PR for DOC-13726, containing only the changes related to that ticket.
  2. Have a read of my comments (without implementing the changes) and a think about what we aim to do when we make changes in the docs to improve a developer's understanding of using Couchbase and the SDKs.
  3. Note that Vale will give you many red lines under existing bits of the doc, but you can ignore them if they amount to substantially more than a drive-by fix. There is a lot of tech debt in the Node.js docs that needs addressing - and the priority has to be truthful, functional docs. Beyond that, fixing style and consistency cannot be efficiently done by making involved but piecemeal changes to single documents in one SDK. It is best done by improving earlier efforts to pull out common content across SDKs, and then to fill in remaining gaps. A giant task which should be ticketed separately.

Thank you for all of your efforts here - let's discuss the comments on the changes next time we meet.

TIP: There's a *View* link to the complete sample code on GitHub above each of the snippets on these SDK pages, and a *Copy* icon to grab just the snippet shown.

NOTE: The code samples on this page use ESModules, but the Node.js SDK is fully compatible with CommonJS as well. Simply adjust the import syntax as needed.
NOTE: The code samples on this page use ESModules, but the Node.js SDK is fully compatible with CommonJS as well. Specify the import syntax as needed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Whilst making a change here, it would also be a good idea to put in the line break for the new sentence. 👍

----
Note, the client certificate for connecting to a Capella cluster is included in the SDK installation.
NOTE: SDK installation includes the client certificate for connecting to a Capella cluster.
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be interpreted as saying that the cert is brought in as part of the installation process,
rather than simply being included in the npm package.
Perhaps:
The SDK includes...

----
Note, the client certificate for connecting to a Capella cluster is included in the SDK installation.
NOTE: SDK installation includes the client certificate for connecting to a Capella cluster.
Copy link
Contributor

Choose a reason for hiding this comment

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

See above.

NOTE: SDK installation includes the client certificate for connecting to a Capella cluster.
--
Self-Managed Couchbase Server (Javascript)::
Copy link
Contributor

Choose a reason for hiding this comment

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

Javascript --> JavaScript

NOTE: SDK installation includes the client certificate for connecting to a Capella cluster.
--
Couchbase Capella (Typescript)::
Copy link
Contributor

Choose a reason for hiding this comment

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

Presuming you ran Vale - did it show up all of the places where Javascript should be JavaScript,
and Typescript should be TypeScript?
May as well add in these changes, too. 👍

Copy link
Author

Choose a reason for hiding this comment

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

No it didnt show. I will search for it and change it everywhere.


Each document belongs to exactly one collection.
A document's ID is unique _within_ the collection.
Every document belongs to a collection.
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't this remove the precision of the sentence?

Copy link
Author

Choose a reason for hiding this comment

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

True may be! Should we go back to the original ?

Each document belongs to exactly one collection.
A document's ID is unique _within_ the collection.
Every document belongs to a collection.
A document's ID is unique `within` the collection.
Copy link
Contributor

Choose a reason for hiding this comment

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

Whilst the style guide strongly dislikes italic emphasis,
we don't use monospace in this way.

Copy link
Author

Choose a reason for hiding this comment

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

I see

There is no relationship between collections in different scopes.
Each collection belongs to just one scope and
a collection's name is unique within the scope.
There's no relationship between collections in different scopes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Sometimes the there is to there's change can dull the necessary emphasis that gives meaning.

Each collection belongs to just one scope and
a collection's name is unique within the scope.
There's no relationship between collections in different scopes.
Each collection belongs to 1 scope and a collection's name is unique within the scope.
Copy link
Contributor

Choose a reason for hiding this comment

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

Likewise one --> 1

////
== Next Steps
Now you're up and running, try one of the following:
Copy link
Contributor

Choose a reason for hiding this comment

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

Everything below here is in a commented out section.
Should we be changing it - or either deleting it wholesale, or looking to use part of it?

How about uncommenting the Next Steps above here instead?
Or at least those where it makes most sense to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants