From 670e45c3d89ab9b6aa70c9dec9c32e7b5130bd19 Mon Sep 17 00:00:00 2001 From: Sabnock01 <24715302+Sabnock01@users.noreply.github.com> Date: Sun, 17 Sep 2023 22:51:36 -0500 Subject: [PATCH 1/2] :memo: docs: organize config.mts --- site/.vitepress/config.mts | 31 ++++++++++++++----- site/docs/actions/wallet/L1/writeOpStackL1.md | 0 .../resolveL1OpStackContractAddress.md | 0 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 site/docs/actions/wallet/L1/writeOpStackL1.md create mode 100644 site/docs/utilities/general/resolveL1OpStackContractAddress.md diff --git a/site/.vitepress/config.mts b/site/.vitepress/config.mts index 3d6a8cef..f2ca3a15 100644 --- a/site/.vitepress/config.mts +++ b/site/.vitepress/config.mts @@ -81,7 +81,7 @@ export default defineConfig({ }, { text: 'simulateWithdrawERC20', - link: '/docs/actions/public/L2/simulateWithdrawETH', + link: '/docs/actions/public/L2/simulateWithdrawERC20', }, ], }, @@ -102,26 +102,34 @@ export default defineConfig({ link: '/docs/actions/wallet/L1/writeDepositETH', }, { - text: 'writeUnsafeDepositTransaction', - link: '/docs/actions/wallet/L1/writeUnsafeDepositTransaction', + text: 'writeFinalizeWithdrawalTransaction', + link: '/docs/actions/wallet/L1/writeFinalizeWithdrawalTransaction', }, { - text: 'writeSendMessage', - link: '/docs/actions/wallet/L1/writeSendMessage', + text: 'writeOpStackL1', + link: '/docs/actions/wallet/L1/writeOpStackL1', }, { text: 'writeProveWithdrawalTransaction', link: '/docs/actions/wallet/L1/writeProveWithdrawalTransaction', }, { - text: 'writeFinalizeWithdrawalTransaction', - link: '/docs/actions/wallet/L1/writeFinalizeWithdrawalTransaction', + text: 'writeSendMessage', + link: '/docs/actions/wallet/L1/writeSendMessage', + }, + { + text: 'writeUnsafeDepositTransaction', + link: '/docs/actions/wallet/L1/writeUnsafeDepositTransaction', }, ], }, { text: 'L2', items: [ + { + text: 'writeOpStackL2', + link: '/docs/actions/wallet/L2/writeOpStackL2', + }, { text: 'writeWithdrawETH', link: '/docs/actions/wallet/L2/writeWithdrawETH', @@ -171,6 +179,15 @@ export default defineConfig({ }, ], }, + { + text: 'General', + items: [ + { + text: 'resolveL1OpStackContractAddress', + link: '/docs/utilities/general/resolveL1OpStackContractAddress', + }, + ], + }, ], }, { diff --git a/site/docs/actions/wallet/L1/writeOpStackL1.md b/site/docs/actions/wallet/L1/writeOpStackL1.md new file mode 100644 index 00000000..e69de29b diff --git a/site/docs/utilities/general/resolveL1OpStackContractAddress.md b/site/docs/utilities/general/resolveL1OpStackContractAddress.md new file mode 100644 index 00000000..e69de29b From 10baa376d243bae6a5b656dff16d84ea88de58cf Mon Sep 17 00:00:00 2001 From: Sabnock01 <24715302+Sabnock01@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:16:42 -0500 Subject: [PATCH 2/2] remove resolve* from site config --- site/.vitepress/config.mts | 9 --------- site/docs/actions/wallet/L1/writeOpStackL1.md | 0 .../utilities/general/resolveL1OpStackContractAddress.md | 0 3 files changed, 9 deletions(-) delete mode 100644 site/docs/actions/wallet/L1/writeOpStackL1.md delete mode 100644 site/docs/utilities/general/resolveL1OpStackContractAddress.md diff --git a/site/.vitepress/config.mts b/site/.vitepress/config.mts index f2ca3a15..97336318 100644 --- a/site/.vitepress/config.mts +++ b/site/.vitepress/config.mts @@ -179,15 +179,6 @@ export default defineConfig({ }, ], }, - { - text: 'General', - items: [ - { - text: 'resolveL1OpStackContractAddress', - link: '/docs/utilities/general/resolveL1OpStackContractAddress', - }, - ], - }, ], }, { diff --git a/site/docs/actions/wallet/L1/writeOpStackL1.md b/site/docs/actions/wallet/L1/writeOpStackL1.md deleted file mode 100644 index e69de29b..00000000 diff --git a/site/docs/utilities/general/resolveL1OpStackContractAddress.md b/site/docs/utilities/general/resolveL1OpStackContractAddress.md deleted file mode 100644 index e69de29b..00000000