diff --git a/.changeset/shy-walls-cough.md b/.changeset/shy-walls-cough.md new file mode 100644 index 00000000..dfbb9739 --- /dev/null +++ b/.changeset/shy-walls-cough.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Fixed URLs to docs inline code and errors. Now they point to Saleor Docs website, instead local docs that were removed diff --git a/src/APL/upstash-apl.ts b/src/APL/upstash-apl.ts index f64e64ab..d638de6d 100644 --- a/src/APL/upstash-apl.ts +++ b/src/APL/upstash-apl.ts @@ -58,7 +58,7 @@ export class UpstashAPL implements APL { debug("Sending request to Upstash"); if (!this.restURL || !this.restToken) { throw new Error( - "UpstashAPL is not configured. See https://github.com/saleor/saleor-app-sdk/blob/main/docs/apl.md" + "UpstashAPL is not configured. See https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/apl" ); } let response: Response; diff --git a/src/settings-manager/encrypted-metadata-manager.test.ts b/src/settings-manager/encrypted-metadata-manager.test.ts index aa60788f..b6b2fc0e 100644 --- a/src/settings-manager/encrypted-metadata-manager.test.ts +++ b/src/settings-manager/encrypted-metadata-manager.test.ts @@ -42,7 +42,7 @@ describe("settings-manager", () => { encryptionKey: undefined, }) ).toThrowError( - "Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://github.com/saleor/saleor-app-sdk/blob/main/docs/settings-manager.md" + "Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/settings-manager" ); }); diff --git a/src/settings-manager/encrypted-metadata-manager.ts b/src/settings-manager/encrypted-metadata-manager.ts index e9d11e50..83789f13 100644 --- a/src/settings-manager/encrypted-metadata-manager.ts +++ b/src/settings-manager/encrypted-metadata-manager.ts @@ -80,7 +80,7 @@ export class EncryptedMetadataManager implements SettingsManager { if (process.env.NODE_ENV === "production") { console.error("Can't start the application without the secret key."); throw new Error( - "Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://github.com/saleor/saleor-app-sdk/blob/main/docs/settings-manager.md" + "Encryption key for the EncryptedMetadataManager has not been set. Setting it for the production environments is necessary. You can find more in the documentation: https://docs.saleor.io/docs/3.x/developer/extending/apps/developing-apps/app-sdk/settings-manager" ); } console.warn(