From 0a3c9bf171c6231f5a0643084c1ac4702c922287 Mon Sep 17 00:00:00 2001 From: Burak Benligiray Date: Thu, 21 Nov 2024 17:19:29 +0300 Subject: [PATCH] Populate /dapps and /oev-searchers (#134) * Move the overview sections to root index.md files * Try fixing the CI * More link fixes --- docs/.vitepress/config.js | 4 ++-- docs/dapps/{overview => }/index.md | 2 +- docs/dapps/oev-rewards/index.md | 2 +- docs/dapps/quickstart/index.md | 4 ++-- docs/dapps/sidebar.js | 2 +- docs/index.md | 4 ++-- docs/oev-searchers/{overview.md => index.md} | 0 docs/oev-searchers/sidebar.js | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) rename docs/dapps/{overview => }/index.md (95%) rename docs/oev-searchers/{overview.md => index.md} (100%) diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 9da80bc..cb46c46 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -96,12 +96,12 @@ function nav() { { text: 'Home', link: '/' }, { text: 'dApps', - link: '/dapps/overview/', + link: '/dapps/', activeMatch: '/dapps/.*', }, { text: 'OEV Searchers', - link: '/oev-searchers/overview/', + link: '/oev-searchers/', activeMatch: '/oev-searchers/.*', }, ]; diff --git a/docs/dapps/overview/index.md b/docs/dapps/index.md similarity index 95% rename from docs/dapps/overview/index.md rename to docs/dapps/index.md index 2901502..2369690 100644 --- a/docs/dapps/overview/index.md +++ b/docs/dapps/index.md @@ -31,5 +31,5 @@ This fact can often be exploited to extract funds from the users of the data fee [Oracle Extractable Value (OEV)](https://medium.com/api3/oracle-extractable-value-oev-13c1b6d53c5b) is a subset of MEV that oracles have priority on extracting by batching additional operations with their updates. Furthermore, instead of searching for such OEV opportunities themselves, oracles can auction off this privilege. -API3 holds transparent and permissionless auctions for OEV opportunities on OEV Network, and [pays](/dapps/oev-rewards) the auction proceeds to the respective dApps. +API3 holds transparent and permissionless auctions for OEV opportunities on OEV Network, and [pays](/dapps/oev-rewards/) the auction proceeds to the respective dApps. OEV Rewards is effectively a new and sustainable revenue stream for dApps. diff --git a/docs/dapps/oev-rewards/index.md b/docs/dapps/oev-rewards/index.md index 96319b7..3810611 100644 --- a/docs/dapps/oev-rewards/index.md +++ b/docs/dapps/oev-rewards/index.md @@ -68,7 +68,7 @@ OEV searchers make a simple revenue–cost estimation before deciding if they wi The easiest way to tilt this equation to your favor would be to provide excellent documentation for how OEV searchers should interact with your dApp. One step ahead of this is developing and open-sourcing an OEV bot for your dApp that anyone can use and improve upon. An open source bot that works well and is easy to operate will find many users, which will drive searcher profit margins down and your OEV Rewards up. -Finally, you can [be your own OEV searcher](/oev-searchers/overview) and participate in the auctions of your dApp. +Finally, you can [be your own OEV searcher](/oev-searchers/) and participate in the auctions of your dApp. ::: info 💡 Tip diff --git a/docs/dapps/quickstart/index.md b/docs/dapps/quickstart/index.md index 5b2d318..fe13e3c 100644 --- a/docs/dapps/quickstart/index.md +++ b/docs/dapps/quickstart/index.md @@ -114,5 +114,5 @@ If not, make sure that your wallet is connected to the network that the data fee ## What next? This guide should be enough to get you started for a hackathon. -However, if you want to use API3 data feeds in production, continue reading the [integration section.](/dapps/integration) -Alternatively, find out how to [get paid](/dapps/oev-rewards) by using API3 data feeds. +However, if you want to use API3 data feeds in production, continue reading the [integration section.](/dapps/integration/) +Alternatively, find out how to [get paid](/dapps/oev-rewards/) by using API3 data feeds. diff --git a/docs/dapps/sidebar.js b/docs/dapps/sidebar.js index 5557151..d918f15 100644 --- a/docs/dapps/sidebar.js +++ b/docs/dapps/sidebar.js @@ -1,7 +1,7 @@ module.exports = [ { text: 'Overview', - link: '/dapps/overview/', + link: '/dapps/', }, { text: 'Quickstart', diff --git a/docs/index.md b/docs/index.md index 9bf8b9b..b7872e0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -11,8 +11,8 @@ hero: actions: - theme: brand text: For dApps - link: /dapps/overview/ + link: /dapps/ - theme: brand text: For OEV searchers - link: /oev-searchers/overview/ + link: /oev-searchers/ --- diff --git a/docs/oev-searchers/overview.md b/docs/oev-searchers/index.md similarity index 100% rename from docs/oev-searchers/overview.md rename to docs/oev-searchers/index.md diff --git a/docs/oev-searchers/sidebar.js b/docs/oev-searchers/sidebar.js index 302f5e3..be4fbfc 100644 --- a/docs/oev-searchers/sidebar.js +++ b/docs/oev-searchers/sidebar.js @@ -5,7 +5,7 @@ module.exports = [ items: [ { text: 'Overview', - link: '/oev-searchers/overview', + link: '/oev-searchers', }, ], },