From bef68f38a48b20d7c4d314ab704e371bb155c792 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Wed, 24 Apr 2024 11:10:41 -0700 Subject: [PATCH 1/2] Update Testnet reset blog --- blog/2024/testnet-reset.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blog/2024/testnet-reset.md b/blog/2024/testnet-reset.md index 8ce0e481a1..579d28d63a 100644 --- a/blog/2024/testnet-reset.md +++ b/blog/2024/testnet-reset.md @@ -12,7 +12,9 @@ theme: This week, the faucets on both Testnet and Devnet faucets had their supply of test XRP depleted. Team RippleX, which operates the test networks, has been periodically moving funds back to the Testnet faucet to keep it running temporarily. Additionally, both faucets have had their default funding amount reduced to 100 XRP and the maximum amount from one request reduced. Both networks will be completely reset on Saturday, 2024-04-20. Until then, you may encounter times when the faucets are empty and cannot provide test XRP. -This post will be updated following the successful completion of the resets. +{% admonition type="success" name="Update" %} +The resets have completed successfully. Testnet and Devnet networks and faucets are online and fully operational. +{% /admonition %} ## Background From 6c4ae6c319147162c697d41b3ce28862462d76a1 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Wed, 24 Apr 2024 11:12:57 -0700 Subject: [PATCH 2/2] Accept date in badges. Fix errors in build. Our guidelines suggest adding a date when using the badge markdoc component, but until now the component's schema didn't have a defintion for the date parameter, so it was reporting errors. The date doesn't affect how the badge is displayed on the site, but we can use it to see when a 'New in' badge is old enough to no longer be relevant (typically >2yrs) so we can remove it. --- @theme/markdoc/schema.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/@theme/markdoc/schema.ts b/@theme/markdoc/schema.ts index 1dc2774eff..4531c5fcc6 100644 --- a/@theme/markdoc/schema.ts +++ b/@theme/markdoc/schema.ts @@ -122,6 +122,10 @@ export const badge: Schema & { tagName: string } = { href: { type: 'String', required: false + }, + date: { // Not displayed, but useful for knowing how old an 'updated' badge is + type: 'String', + required: false } }, render: 'Badge'