Skip to content

Commit

Permalink
add liara-cli docs
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Jul 29, 2024
1 parent 905f888 commit baf5b64
Show file tree
Hide file tree
Showing 8 changed files with 536 additions and 5 deletions.
104 changes: 104 additions & 0 deletions public/casts/install-liara-cli.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{"version": 2, "width": 50, "height": 12, "timestamp": 1638360405, "env": {"SHELL": "/usr/bin/zsh", "TERM": "xterm-256color"}}
[1.262708, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r\u001b]2;amin@cloud:~\u0007\u001b]1;~\u0007"]
[1.26463, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36m~\u001b[00m \u001b[K"]
[1.264741, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
[1.689667, "o", "n"]
[1.935565, "o", "\bnp"]
[2.153014, "o", "m"]
[2.328629, "o", " "]
[2.721175, "o", "i"]
[2.904805, "o", " "]
[3.817452, "o", "-"]
[4.025182, "o", "g"]
[4.073018, "o", " "]
[4.441496, "o", "@"]
[4.745421, "o", "l"]
[4.921452, "o", "i"]
[5.033256, "o", "a"]
[5.225594, "o", "r"]
[5.321497, "o", "a"]
[5.537382, "o", "/"]
[5.801264, "o", "c"]
[5.858276, "o", "l"]
[6.082643, "o", "i"]
[6.35356, "o", "\u001b[?1l\u001b>"]
[6.353662, "o", "\u001b[?2004l\r\r\n"]
[6.355313, "o", "\u001b]2;npm i -g @liara/cli\u0007\u001b]1;npm\u0007"]
[6.601177, "o", "\u001b[?25l"]
[6.603504, "o", "⸨\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠧ reify: \u001b[32;40mtiming\u001b[0m \u001b[35marborist:cto\u001b[0m\u001b[K\r"]
[6.658073, "o", "⸨\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠙ idealTree:lib: \u001b[7msill\u001b[0m \u001b[35midealT\u001b[0m\u001b[K\r"]
[6.720407, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠙ idealTree:lib: \u001b[32;40mtiming\u001b[0m \u001b[35midea\u001b[0m\u001b[K\r"]
[6.799864, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠧ idealTree:@oclif/config: \u001b[7ms\u001b[0m\u001b[K\r"]
[6.850346, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠧ idealTree:@oclif/config: \u001b[7ms\u001b[0m\u001b[K\r"]
[6.902626, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠧ idealTree:@oclif/config: \u001b[7ms\u001b[0m\u001b[K\r"]
[6.960173, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠧ idealTree:@oclif/config: \u001b[7ms\u001b[0m\u001b[K\r"]
[7.009901, "o", "⸨\u001b[107;97m####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠇ idealTree:wrap-ansi: \u001b[7msill\u001b[0m \u001b[35m\u001b[0m\u001b[K\r"]
[7.059929, "o", "⸨\u001b[107;97m####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠴ idealTree:chalk: \u001b[7msill\u001b[0m \u001b[35mfetc\u001b[0m\u001b[K\r"]
[7.109995, "o", "⸨\u001b[107;97m####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠙ idealTree:fs-extra: \u001b[7msill\u001b[0m \u001b[35mp\u001b[0m\u001b[K\r"]
[7.172962, "o", "⸨\u001b[107;97m####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠙ idealTree:fs-extra: \u001b[7msill\u001b[0m \u001b[35mp\u001b[0m\u001b[K\r"]
[7.233343, "o", "⸨\u001b[107;97m#####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠼ idealTree:inquirer: \u001b[32;40mtiming\u001b[0m\u001b[0m\u001b[K\r"]
[7.289573, "o", "⸨\u001b[107;97m#####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠸ idealTree:ora: \u001b[32;40mtiming\u001b[0m \u001b[35midea\u001b[0m\u001b[K\r"]
[7.340076, "o", "⸨\u001b[107;97m####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠴ idealTree:supports-hyperli\u001b[0m\u001b[K\r"]
[7.392943, "o", "⸨\u001b[107;97m####\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠋ idealTree:update-notifier:\u001b[0m\u001b[K\r"]
[7.479414, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠴ idealTree:string-width: \u001b[32;40mti\u001b[0m\u001b[K\r"]
[7.529808, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠇ idealTree: \u001b[32;40mtiming\u001b[0m \u001b[35midealTre\u001b[0m\u001b[K\r"]
[7.596247, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠇ idealTree: \u001b[32;40mtiming\u001b[0m \u001b[35midealTre\u001b[0m\u001b[K\r"]
[7.647509, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠹ idealTree: \u001b[32;40mtiming\u001b[0m \u001b[35midealTre\u001b[0m\u001b[K\r"]
[7.721182, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[7.771935, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[7.822571, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[8.0093, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[8.111321, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[8.166776, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[8.222388, "o", "⸨\u001b[107;97m#########\u001b[0m\u001b[100;90m⠂⠂⠂⠂⠂⠂⠂⠂⠂\u001b[0m⸩ ⠦ reify:emoji-regex: \u001b[7msill\u001b[0m \u001b[35mau\u001b[0m\u001b[K\r"]
[8.27652, "o", "⸨\u001b[107;97m##############\u001b[0m\u001b[100;90m⠂⠂⠂⠂\u001b[0m⸩ ⠏ reify:ansi-styles: \u001b[32;40mtiming\u001b[0m \u001b[35m\u001b[0m\u001b[K\r"]
[8.326214, "o", "⸨\u001b[107;97m#################\u001b[0m\u001b[100;90m⠂\u001b[0m⸩ ⠧ reify:braces: \u001b[32;40mtiming\u001b[0m \u001b[35mreify\u001b[0m\u001b[K\r"]
[8.377562, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠏ reify:iconv-lite: \u001b[32;40mtiming\u001b[0m \u001b[35mr\u001b[0m\u001b[K\r"]
[8.426706, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠴ reify:@types/node: \u001b[32;40mtiming\u001b[0m \u001b[35m\u001b[0m\u001b[K\r"]
[8.477016, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠴ reify:@types/node: \u001b[32;40mtiming\u001b[0m \u001b[35m\u001b[0m\u001b[K\r"]
[8.526828, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠴ reify:@types/node: \u001b[32;40mtiming\u001b[0m \u001b[35m\u001b[0m\u001b[K\r"]
[8.576886, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠦ reify:moment: \u001b[32;40mtiming\u001b[0m \u001b[35mreify\u001b[0m\u001b[K\r"]
[8.627131, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠧ reify:lodash: \u001b[32;40mtiming\u001b[0m \u001b[35mreify\u001b[0m\u001b[K\r"]
[8.676766, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠧ reify:lodash: \u001b[32;40mtiming\u001b[0m \u001b[35mreify\u001b[0m\u001b[K\r"]
[8.727287, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠏ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[8.779259, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠏ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[8.840659, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠏ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[8.907965, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠏ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[8.958101, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.009175, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.061446, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.111592, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.161998, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.211146, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.262376, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.312563, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.36293, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.412873, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.463265, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.512594, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.562972, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.613356, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.66271, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.713084, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.763466, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.813705, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.864035, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.914472, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[9.96379, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[10.014129, "o", "⸨\u001b[107;97m##################\u001b[0m⸩ ⠋ reify:rxjs: \u001b[32;40mtiming\u001b[0m \u001b[35mreifyNo\u001b[0m\u001b[K\r"]
[10.039401, "o", "\r\u001b[K\u001b[?25h"]
[10.042209, "o", "\r\nchanged 362 packages, and audited 363 packages in 4s\r\n"]
[10.042356, "o", "\r\n40 packages are looking for funding\r\n"]
[10.042521, "o", " run `npm fund` for details\r\n"]
[10.046293, "o", "\r\n6 \u001b[33m\u001b[1mmoderate\u001b[22m\u001b[39m severity vulnerabilities\r\n\r\nTo address issues that do not require attention, run:\r\n npm audit fix\r\n\r\nTo address all issues (including breaking changes), run:\r\n npm audit fix --force\r\n\r\nRun `npm audit` for details.\r\n"]
[10.057753, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
[10.057791, "o", "\u001b]2;amin@cloud:~\u0007\u001b]1;~\u0007"]
[10.059575, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36m~\u001b[00m \u001b[K"]
[10.059678, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
[10.85028, "o", "e"]
[10.954319, "o", "\bex"]
[11.170456, "o", "i"]
[11.354183, "o", "t"]
[11.474011, "o", "\u001b[?1l\u001b>"]
[11.474114, "o", "\u001b[?2004l\r\r\n"]
[11.47545, "o", "\u001b]2;exit\u0007\u001b]1;exit\u0007"]
31 changes: 31 additions & 0 deletions public/casts/manage-disks-cli.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{"version": 2, "width": 50, "height": 12, "timestamp": 1638365345, "env": {"SHELL": "/usr/bin/zsh", "TERM": "xterm-256color"}}
[1.259241, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r\u001b]2;amin@cloud:~\u0007\u001b]1;~\u0007"]
[1.261285, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36m~\u001b[00m \u001b[K"]
[1.2614, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
[1.616448, "o", "l"]
[1.855993, "o", "\bli"]
[1.96038, "o", "a"]
[2.1456, "o", "r"]
[2.257547, "o", "a"]
[2.417162, "o", " "]
[2.633311, "o", "d"]
[2.793272, "o", "i"]
[2.90523, "o", "s"]
[3.00905, "o", "k"]
[3.23312, "o", "\u001b[?1l\u001b>"]
[3.233222, "o", "\u001b[?2004l\r\r\n"]
[3.239866, "o", "\u001b]2;liara disk\u0007\u001b]1;liara\u0007"]
[3.340984, "o", "display commands for working with disks\r\n\r\n\u001b[1mUSAGE\u001b[22m\r\n $ liara disk:COMMAND\r\n\r\n"]
[3.342083, "o", "\u001b[1mCOMMANDS\u001b[22m\r\n disk:create create a disk\r\n"]
[3.342241, "o", "\r\n"]
[3.387151, "o", "\u001b[1m\u001b[7m%\u001b[27m\u001b[1m\u001b[0m \r \r"]
[3.387296, "o", "\u001b]2;amin@cloud:~\u0007\u001b]1;~\u0007"]
[3.388941, "o", "\r\u001b[0m\u001b[27m\u001b[24m\u001b[J\u001b[01;32m➜ \u001b[36m~\u001b[00m \u001b[K"]
[3.389075, "o", "\u001b[?1h\u001b=\u001b[?2004h"]
[4.073328, "o", "e"]
[4.209171, "o", "\bex"]
[4.321099, "o", "i"]
[4.473242, "o", "t"]
[4.570423, "o", "\u001b[?1l\u001b>"]
[4.570744, "o", "\u001b[?2004l\r\r\n"]
[4.571817, "o", "\u001b]2;exit\u0007\u001b]1;exit\u0007"]
176 changes: 176 additions & 0 deletions src/components/Sidebar/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -6549,4 +6549,180 @@ export default {
],
},

references: {
'liara-cli': [
{
badge: (
<div className="flex items-center gap-2">
<GoTerminal />
ابزار Liara CLI
</div>
)
},
{
title: "برگشت به خانه",
icon: <GoArrowRight />,
link: "/"
},
{
title: "Liara CLI چیست؟",
icon: <GoInfo />,
link: "/references/liara-cli/about"
},
{
title: "خلاصه دستورات",
icon: <GoInfo />,
link: "/references/liara-cli/about"
},
{
hr: true
},
{
badge: (
<div className="flex items-center gap-2">
< GoPackage />
نحوه
</div>
)
},
{
title: "نصب و به‌روزرسانی",
link: "/references/liara-cli/install"
},
{
title: "ورود به حساب کاربری",
link: "/references/liara-cli/login"
},
{
title: "مدیریت دیسک‌ها",
link: "/references/liara-cli/manage-disks"
},
{
title: "مشاهده پلن‌های سرویس پلتفرم",
link: "/references/liara-cli/see-platform-plans"
},
{
title: "تکمیل خودکار دستورات",
link: "/references/liara-cli/autocomplete"
},
{
hr: true
},
{
badge: (
<div className="flex items-center gap-2">
مدیریت برنامه‌ها
</div>
)
},
{
title: "استقرار برنامه",
link: "/references/liara-cli/deploy-app"
},
{
title: "ایجاد یک برنامه",
link: "/references/liara-cli/create-app"
},
{
title: "حذف یک برنامه",
link: "/references/liara-cli/delete-app"
},
{
title: "لیست‌کردن برنامه‌ها",
link: "/references/liara-cli/list-apps"
},
{
title: "مشاهده لاگ‌های برنامه",
link: "/references/liara-cli/see-app-logs"
},
{
title: "ری‌استارت برنامه",
link: "/references/liara-cli/restart-app"
},
{
title: "اتصال به خط فرمان برنامه",
link: "/references/liara-cli/connect-to-app-shell"
},
{
title: "روشن‌کردن برنامه",
link: "/references/liara-cli/start-app"
},
{
title: "خاموش‌کردن برنامه",
link: "/references/liara-cli/stop-app"
},
{
hr: true
},
{
badge: (
<div className="flex items-center gap-2">
مدیریت متغیرهای محیطی
</div>
)
},
{
title: " لیست متغیرهای ثبت شده برنامه",
link: "/references/liara-cli/list-envs"
},
{
title: "ثبت یا ویرایش متغیرهای محیطی",
link: "/references/liara-cli/add-or-edit-envs"
},
{
title: "حذف متغیرهای محیطی یک برنامه",
link: "/references/liara-cli/remove-env"
},
{
hr: true
},
{
badge: (
<div className="flex items-center gap-2">
مدیریت حساب‌های کاربری
</div>
)
},
{
title: "اضافه کردن حساب کاربری جدید",
link: "/references/liara-cli/add-account"
},
{
title: "لیست حساب‌های کاربری ",
link: "/references/liara-cli/list-accounts"
},
{
title: "حذف یکی از حساب‌های کاربری",
link: "/references/liara-cli/remove-account"
},
{
title: "انتخاب حساب‌ به عنوان حساب اصلی",
link: "/references/liara-cli/remove-account"
},

{
hr: true
},
{
badge: (
<div className="flex items-center gap-2">
<GoBug />
<Link href="/paas/nodejs/fix-common-errors/about">رفع خطاهای رایج</Link>
</div>
)
},
{
title: "رفع خطای command not found",
link: "/references/liara-cli/fix-command-not-found-error"
},
{
title: "رفع خطای command is not recognized",
link: "/references/liara-cli/fix-command-not-recognized-error"
},

],
},



};
4 changes: 4 additions & 0 deletions src/components/Sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const Sidebar = () => {
return data.overview[sidebar_name];
}

if (router.route.startsWith("/references/")) {
return data.references[sidebar_name];
}

return data.home;
};

Expand Down
8 changes: 3 additions & 5 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,10 @@ export default function Home() {
>
<h1 className="text-[35px]"> به مستندات لیارا خوش‌آمدید 👋🏼</h1>
<p className="mt-2 w-[50%] eading-7">
راه‌اندازی و شروع به کار با لیارا از طریق آموزش‌ها، API‌ها و منابع
پلتفرم امکان‌پذیر است. استفاده از این منابع، می‌توانید به سرعت
با کامل‌ترین مستندات مربوط به سرویس‌های ابری در ایران، پرقدرت شروع
به توسعه پروژه‌تان کنید!
</p>
<div className="mt-4">
<Button>شروع کنید</Button>
</div>

</div>
<Section
id="home-getting-started"
Expand Down
Loading

0 comments on commit baf5b64

Please sign in to comment.