diff --git a/src/pages/protocol/tip20/overview.mdx b/src/pages/protocol/tip20/overview.mdx
index f4a0a151..769235b0 100644
--- a/src/pages/protocol/tip20/overview.mdx
+++ b/src/pages/protocol/tip20/overview.mdx
@@ -192,10 +192,4 @@ By using TIP-20 tokens as quote tokens, the DEX benefits from the same payment-o
icon="lucide:rocket"
title="Guide: Issue Stablecoins"
/>
-
diff --git a/src/pages/protocol/tip403/overview.mdx b/src/pages/protocol/tip403/overview.mdx
index 54a84d03..28fb50e3 100644
--- a/src/pages/protocol/tip403/overview.mdx
+++ b/src/pages/protocol/tip403/overview.mdx
@@ -25,12 +25,6 @@ TIP-403 is Tempo's policy registry system that enables TIP-20 tokens to enforce
icon="lucide:settings"
title="Guide: Manage Your Stablecoin"
/>
-
{
let content = await fetch(file.download_url).then((r) => r.text())
- // Fix dead links in TIPs that reference paths in the tempoxyz/tempo
- // repo. These resolve fine on github.com but break Vocs' dead-link
- // checker, since the files don't exist in the docs site. Rewriting
- // them here lets us keep `checkDeadlinks: true` without forking
- // upstream content. Add new patterns as upstream typos appear.
+ // Strip stale Solidity interface links from upstream TIPs. The linked
+ // files are no longer published, so keeping the link would surface dead
+ // references in the docs UI and fail Vocs' dead-link checker.
content = content.replace(
- /\(tips\/ref-impls\/src\/interfaces\/(\w+\.sol)\)/g,
- '(https://github.com/tempoxyz/tempo-std/blob/master/src/interfaces/$1)',
+ /^- \[[^\]]+\.sol\]\(tips\/(?:ref-impls|verify)\/src\/interfaces\/[^)]+\)\n/gm,
+ '',
)
- // TIP-1011 references `tips/verify/src/interfaces/...` (upstream typo
- // of `ref-impls`). Map it to the actual tempoxyz/tempo location.
content = content.replace(
- /\(tips\/verify\/src\/interfaces\/(\w+\.sol)\)/g,
- '(https://github.com/tempoxyz/tempo/blob/main/tips/ref-impls/src/interfaces/$1)',
+ /\[([^\]]+\.sol)\]\(tips\/(?:ref-impls|verify)\/src\/interfaces\/[^)]+\)/g,
+ '$1',
)
// tip-0000 links to `./tip_template.md`, which lives in the tempo
// repo but not in the docs site.
diff --git a/vocs.config.ts b/vocs.config.ts
index d9045790..dbdf6988 100644
--- a/vocs.config.ts
+++ b/vocs.config.ts
@@ -465,10 +465,6 @@ export default defineConfig({
text: 'Virtual addresses',
link: '/protocol/tip20/virtual-addresses',
},
- {
- text: 'Reference Implementation',
- link: 'https://github.com/tempoxyz/tempo-std/blob/master/src/interfaces/ITIP20.sol',
- },
{
text: 'Rust Implementation',
link: 'https://github.com/tempoxyz/tempo/tree/main/crates/precompiles/src/tip20',
@@ -501,10 +497,6 @@ export default defineConfig({
text: 'Specification',
link: '/protocol/tip403/spec',
},
- {
- text: 'Reference Implementation',
- link: 'https://github.com/tempoxyz/tempo-std/blob/master/src/interfaces/ITIP403Registry.sol',
- },
{
text: 'Rust Implementation',
link: 'https://github.com/tempoxyz/tempo/tree/main/crates/precompiles/src/tip403_registry',
@@ -535,10 +527,6 @@ export default defineConfig({
text: 'Specification',
link: '/protocol/fees/spec-fee-amm',
},
- {
- text: 'Reference Implementation',
- link: 'https://github.com/tempoxyz/tempo-std/blob/master/src/interfaces/IFeeManager.sol',
- },
{
text: 'Rust Implementation',
link: 'https://github.com/tempoxyz/tempo/tree/main/crates/precompiles/src/tip_fee_manager',
@@ -623,10 +611,6 @@ export default defineConfig({
text: 'DEX Balance',
link: '/protocol/exchange/exchange-balance',
},
- {
- text: 'Reference Implementation',
- link: 'https://github.com/tempoxyz/tempo-std/blob/master/src/interfaces/IStablecoinDEX.sol',
- },
{
text: 'Rust Implementation',
link: 'https://github.com/tempoxyz/tempo/tree/main/crates/precompiles/src/stablecoin_dex',