Skip to content

Commit 097a918

Browse files
committed
fix warnings in the build warnings
1 parent aade9c4 commit 097a918

5 files changed

Lines changed: 20 additions & 9 deletions

File tree

docs/earn-money/payments/payments_add.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,11 @@ Registered products are updated every time an app is uploaded, including when yo
175175

176176
<details>
177177
<summary>Click here for instructions on how to add products manually to your products.json file.</summary>
178-
The JSON schema for the file format is available at <a href="https://developers.reddit.com/schema/products.json" target="_blank">https://developers.reddit.com/schema/products.json</a>.
178+
179+
The JSON schema for the file format is available at <a href="https://developers.reddit.com/schema/products.json" target="_blank" rel="noopener noreferrer">products.json schema</a>.
179180

180181
Each product in the products field has the following attributes:
182+
181183
| **Attribute** | **Description** |
182184
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
183185
| `sku` | A product identifier that can be used to group orders or organize your products. Each sku must be unique for each product in your app. |

docusaurus.config.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { themes as prismThemes } from "prism-react-renderer";
44

55
const baseUrl = process.env.DOCUSAURUS_BASE_URL ?? "/docs/";
66

7-
const LATEST_DEVVIT_VERSION = '0.12'; // update-versioned-docs.mjs sets this automatically
7+
const LATEST_DEVVIT_VERSION = "0.12"; // update-versioned-docs.mjs sets this automatically
88

99
const config: Config = {
1010
future: {
@@ -16,10 +16,12 @@ const config: Config = {
1616
url: "https://developers.reddit.com",
1717
baseUrl,
1818
onBrokenLinks: "warn",
19-
onBrokenMarkdownLinks: "warn",
2019
favicon: "/img/devvit_icon.png",
2120
markdown: {
2221
format: "detect",
22+
hooks: {
23+
onBrokenMarkdownLinks: "warn",
24+
},
2325
},
2426
scripts: [
2527
{
@@ -86,7 +88,8 @@ const config: Config = {
8688
if (!/next|\/\d+\.\d+\//.test(item.url)) {
8789
return true;
8890
} else {
89-
console.log("excluding", item.url);
91+
// Too noisy!
92+
// console.log("excluding", item.url);
9093
return false;
9194
}
9295
});

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,16 @@
3535
"react-dom": "^19.0.0",
3636
"redocusaurus": "2.5.0"
3737
},
38+
"resolutions": {
39+
"baseline-browser-mapping": "2.9.19"
40+
},
3841
"devDependencies": {
3942
"@algolia/client-search": "^5.17.0",
4043
"@docusaurus/module-type-aliases": "^3.9.2",
4144
"@docusaurus/theme-common": "^3.9.2",
4245
"@docusaurus/utils": "^3.9.2",
4346
"@types/react": "^19.0.0",
47+
"baseline-browser-mapping": "2.9.19",
4448
"core-js": "^3.39.0",
4549
"mobx": "^6.13.5",
4650
"prettier": "3.3.3",

versioned_docs/version-0.12/earn-money/payments/payments_add.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,11 @@ Registered products are updated every time an app is uploaded, including when yo
175175

176176
<details>
177177
<summary>Click here for instructions on how to add products manually to your products.json file.</summary>
178-
The JSON schema for the file format is available at <a href="https://developers.reddit.com/schema/products.json" target="_blank">https://developers.reddit.com/schema/products.json</a>.
178+
179+
The JSON schema for the file format is available at <a href="https://developers.reddit.com/schema/products.json" target="_blank" rel="noopener noreferrer">products.json schema</a>.
179180

180181
Each product in the products field has the following attributes:
182+
181183
| **Attribute** | **Description** |
182184
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
183185
| `sku` | A product identifier that can be used to group orders or organize your products. Each sku must be unique for each product in your app. |

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3689,10 +3689,10 @@ balanced-match@^1.0.0:
36893689
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
36903690
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
36913691

3692-
baseline-browser-mapping@^2.8.19:
3693-
version "2.8.24"
3694-
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.24.tgz#f70388d8a136b701c819567f6798b797378be7b0"
3695-
integrity sha512-uUhTRDPXamakPyghwrUcjaGvvBqGrWvBHReoiULMIpOJVM9IYzQh83Xk2Onx5HlGI2o10NNCzcs9TG/S3TkwrQ==
3692+
baseline-browser-mapping@2.9.19, baseline-browser-mapping@^2.8.19:
3693+
version "2.9.19"
3694+
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz#3e508c43c46d961eb4d7d2e5b8d1dd0f9ee4f488"
3695+
integrity sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==
36963696

36973697
batch@0.6.1:
36983698
version "0.6.1"

0 commit comments

Comments
 (0)