Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inline docs links #288

Merged
merged 1 commit into from
Oct 3, 2023
Merged
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
5 changes: 5 additions & 0 deletions .changeset/shy-walls-cough.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/APL/upstash-apl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/settings-manager/encrypted-metadata-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/settings-manager/encrypted-metadata-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down