Skip to content

Commit

Permalink
docs: Change links (#1073)
Browse files Browse the repository at this point in the history
* Change links

This change allows the documentation to display the right text and link next to `Maps to` on the documentation pages.

* Amend commit message
  • Loading branch information
danieljbruce committed Feb 27, 2023
1 parent 6ce2e5b commit d854b57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ class Datastore extends DatastoreRequest {
}

/**
* Maps to {@link Datastore#save}, forcing the method to be `insert`.
* Maps to {@link https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/datastore#_google_cloud_datastore_Datastore_save_member_1_|Datastore#save}, forcing the method to be `insert`.
*
* @param {object|object[]} entities Datastore key object(s).
* @param {Key} entities.key Datastore key object.
Expand Down Expand Up @@ -1189,7 +1189,7 @@ class Datastore extends DatastoreRequest {
}

/**
* Maps to {@link Datastore#save}, forcing the method to be `update`.
* Maps to {@link https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/datastore#_google_cloud_datastore_Datastore_save_member_1_|Datastore#save}, forcing the method to be `update`.
*
* @param {object|object[]} entities Datastore key object(s).
* @param {Key} entities.key Datastore key object.
Expand Down Expand Up @@ -1219,7 +1219,7 @@ class Datastore extends DatastoreRequest {
}

/**
* Maps to {@link Datastore#save}, forcing the method to be `upsert`.
* Maps to {@link https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/datastore#_google_cloud_datastore_Datastore_save_member_1_|Datastore#save}, forcing the method to be `upsert`.
*
* @param {object|object[]} entities Datastore key object(s).
* @param {Key} entities.key Datastore key object.
Expand Down
6 changes: 3 additions & 3 deletions src/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ class Transaction extends DatastoreRequest {
}

/**
* Maps to {@link Datastore#save}, forcing the method to be `insert`.
* Maps to {@link https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/transaction#_google_cloud_datastore_Transaction_save_member_1_|Datastore#save}, forcing the method to be `insert`.
*
* @param {object|object[]} entities Datastore key object(s).
* @param {Key} entities.key Datastore key object.
Expand Down Expand Up @@ -729,7 +729,7 @@ class Transaction extends DatastoreRequest {
}

/**
* Maps to {@link Datastore#save}, forcing the method to be `update`.
* Maps to {@link https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/transaction#_google_cloud_datastore_Transaction_save_member_1_|Datastore#save}, forcing the method to be `update`.
*
* @param {object|object[]} entities Datastore key object(s).
* @param {Key} entities.key Datastore key object.
Expand All @@ -751,7 +751,7 @@ class Transaction extends DatastoreRequest {
}

/**
* Maps to {@link Datastore#save}, forcing the method to be `upsert`.
* Maps to {@link https://cloud.google.com/nodejs/docs/reference/datastore/latest/datastore/transaction#_google_cloud_datastore_Transaction_save_member_1_|Datastore#save}, forcing the method to be `upsert`.
*
* @param {object|object[]} entities Datastore key object(s).
* @param {Key} entities.key Datastore key object.
Expand Down

0 comments on commit d854b57

Please sign in to comment.