From bcf4b11d7b4b826cb6f03204a1e8903c7aba01ac Mon Sep 17 00:00:00 2001 From: Sam Hadi Date: Wed, 10 Nov 2021 15:51:11 -0800 Subject: [PATCH] reordering stuff --- docs/.vuepress/config.js | 81 ++++++++++++++++++- .../{Basics => General}/quick_guide.md | 0 2 files changed, 77 insertions(+), 4 deletions(-) rename docs/education/user_actions/{Basics => General}/quick_guide.md (100%) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 1fff5db5..1cbd487f 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -24,7 +24,7 @@ module.exports = { "path": "/education/kava_dao_governance.html", }, { - "title": "Testnet", + "title": "Testnet", "path": "/education/testnet.html", }, { @@ -82,14 +82,87 @@ module.exports = { "path": "/tools/community.html" }, { - "title": "Module Specs", + "title": "Module Specs", "path": "/Modules", "directory": true, }, { "title": "CLI Docs", - "path": "/education/user_actions/", - "directory": true, + "children": [ + { + "title": "General", + "children": [ + { + "title": "Quick Guide", + "path": "/education/user_actions/General/quick_guide.html" + } + ] + } + , + { + "title": "CDP", + "children": [ + { + "title": "Create", + "path": "/education/user_actions/CDP/cdp_create.html", + }, + { + "title": "Deposit", + "path": "/education/user_actions/CDP/cdp_deposit.html", + }, + { + "title": "Draw", + "path": "/education/user_actions/CDP/cdp_draw.html", + }, + { + "title": "Repay", + "path": "/education/user_actions/CDP/cdp_repay.html", + }, + { + "title": "Withdraw", + "path": "/education/user_actions/CDP/cdp_withdraw.html", + } + ], + }, + { + "title": "HARD", + "children": [ + { + "title": "Deposit", + "path": "/education/user_actions/HARD/hard_deposit.html", + }, + { + "title": "Borrow", + "path": "/education/user_actions/HARD/hard_borrow.html", + }, + { + "title": "Repay", + "path": "/education/user_actions/HARD/hard_repay.html", + }, + { + "title": "Withdraw", + "path": "/education/user_actions/HARD/hard_withdraw.html", + } + ], + }, + { + "title": "SWAP", + "children": [ + { + "title": "Deposit", + "path": "/education/user_actions/SWAP/swap_deposit.html", + }, + { + "title": "Swap Tokens", + "path": "/education/user_actions/SWAP/swap_tokens.html", + }, + { + "title": "Withdraw", + "path": "/education/user_actions/SWAP/swap_withdraw.html", + } + ], + }, + ], }, { "title": "REST API Spec", diff --git a/docs/education/user_actions/Basics/quick_guide.md b/docs/education/user_actions/General/quick_guide.md similarity index 100% rename from docs/education/user_actions/Basics/quick_guide.md rename to docs/education/user_actions/General/quick_guide.md