diff --git a/docs/commands_app_apt.md b/docs/commands_app_apt.md index 64e6157..ddbbdde 100644 --- a/docs/commands_app_apt.md +++ b/docs/commands_app_apt.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [apt](commands_apt.md) +### [app](commands_app.md) / [apt](commands_app_apt.md) - [install](commands_app_apt_install.md) - [uninstall](commands_app_apt_uninstall.md) diff --git a/docs/commands_app_apt_install.md b/docs/commands_app_apt_install.md index 272aac2..f5a5004 100644 --- a/docs/commands_app_apt_install.md +++ b/docs/commands_app_apt_install.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app apt](commands_app_apt.md) / [install](commands_install.md) +### [app apt](commands_app_apt.md) / [install](commands_app_apt_install.md) ```sh Install APT on your app diff --git a/docs/commands_app_apt_uninstall.md b/docs/commands_app_apt_uninstall.md index 385e919..93465ad 100644 --- a/docs/commands_app_apt_uninstall.md +++ b/docs/commands_app_apt_uninstall.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app apt](commands_app_apt.md) / [uninstall](commands_uninstall.md) +### [app apt](commands_app_apt.md) / [uninstall](commands_app_apt_uninstall.md) ```sh Uninstall APT from your app diff --git a/docs/commands_app_backup.md b/docs/commands_app_backup.md index 3bde155..8a06573 100644 --- a/docs/commands_app_backup.md +++ b/docs/commands_app_backup.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [backup](commands_backup.md) +### [app](commands_app.md) / [backup](commands_app_backup.md) ```sh Get backup of your app code from Discloud diff --git a/docs/commands_app_commit.md b/docs/commands_app_commit.md index 7282f10..b1fe170 100644 --- a/docs/commands_app_commit.md +++ b/docs/commands_app_commit.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [commit](commands_commit.md) +### [app](commands_app.md) / [commit](commands_app_commit.md) ```sh Commit one app or site to Discloud diff --git a/docs/commands_app_console.md b/docs/commands_app_console.md index a45036b..d4cafa4 100644 --- a/docs/commands_app_console.md +++ b/docs/commands_app_console.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [console](commands_console.md) +### [app](commands_app.md) / [console](commands_app_console.md) ```sh Use the app terminal diff --git a/docs/commands_app_delete.md b/docs/commands_app_delete.md index 13b8299..74ad063 100644 --- a/docs/commands_app_delete.md +++ b/docs/commands_app_delete.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [delete](commands_delete.md) +### [app](commands_app.md) / [delete](commands_app_delete.md) ```sh Delete one of your apps on Discloud diff --git a/docs/commands_app_info.md b/docs/commands_app_info.md index 6ceb2d9..a1cea48 100644 --- a/docs/commands_app_info.md +++ b/docs/commands_app_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [info](commands_info.md) +### [app](commands_app.md) / [info](commands_app_info.md) ```sh Get information of your apps diff --git a/docs/commands_app_logs.md b/docs/commands_app_logs.md index 6c39e21..e441fee 100644 --- a/docs/commands_app_logs.md +++ b/docs/commands_app_logs.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [logs](commands_logs.md) +### [app](commands_app.md) / [logs](commands_app_logs.md) ```sh View the logs from application in Discloud diff --git a/docs/commands_app_mod.md b/docs/commands_app_mod.md index ce959b2..3751672 100644 --- a/docs/commands_app_mod.md +++ b/docs/commands_app_mod.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [mod](commands_mod.md) +### [app](commands_app.md) / [mod](commands_app_mod.md) - [add](commands_app_mod_add.md) - [delete](commands_app_mod_delete.md) diff --git a/docs/commands_app_mod_add.md b/docs/commands_app_mod_add.md index 8aa5767..23361b3 100644 --- a/docs/commands_app_mod_add.md +++ b/docs/commands_app_mod_add.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app mod](commands_app_mod.md) / [add](commands_add.md) +### [app mod](commands_app_mod.md) / [add](commands_app_mod_add.md) ```sh Add MOD to your app diff --git a/docs/commands_app_mod_delete.md b/docs/commands_app_mod_delete.md index f80b0ec..77e4b7b 100644 --- a/docs/commands_app_mod_delete.md +++ b/docs/commands_app_mod_delete.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app mod](commands_app_mod.md) / [delete](commands_delete.md) +### [app mod](commands_app_mod.md) / [delete](commands_app_mod_delete.md) ```sh Delete MOD of your app diff --git a/docs/commands_app_mod_edit.md b/docs/commands_app_mod_edit.md index 5a0dbd4..d4cda15 100644 --- a/docs/commands_app_mod_edit.md +++ b/docs/commands_app_mod_edit.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app mod](commands_app_mod.md) / [edit](commands_edit.md) +### [app mod](commands_app_mod.md) / [edit](commands_app_mod_edit.md) ```sh Edit MOD perms of your app diff --git a/docs/commands_app_mod_info.md b/docs/commands_app_mod_info.md index d18d309..9485d14 100644 --- a/docs/commands_app_mod_info.md +++ b/docs/commands_app_mod_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app mod](commands_app_mod.md) / [info](commands_info.md) +### [app mod](commands_app_mod.md) / [info](commands_app_mod_info.md) ```sh Get MOD info of your app diff --git a/docs/commands_app_profile.md b/docs/commands_app_profile.md index 4be19f3..24e0486 100644 --- a/docs/commands_app_profile.md +++ b/docs/commands_app_profile.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [profile](commands_profile.md) +### [app](commands_app.md) / [profile](commands_app_profile.md) ```sh Updates the profile information (avatar and name) for a specific app diff --git a/docs/commands_app_ram.md b/docs/commands_app_ram.md index 10e6de2..fb6785b 100644 --- a/docs/commands_app_ram.md +++ b/docs/commands_app_ram.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [ram](commands_ram.md) +### [app](commands_app.md) / [ram](commands_app_ram.md) ```sh Set amount of ram for your app diff --git a/docs/commands_app_restart.md b/docs/commands_app_restart.md index 7e1d6b3..8511ed6 100644 --- a/docs/commands_app_restart.md +++ b/docs/commands_app_restart.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [restart](commands_restart.md) +### [app](commands_app.md) / [restart](commands_app_restart.md) ```sh Restart one or all of your apps on Discloud diff --git a/docs/commands_app_start.md b/docs/commands_app_start.md index 943bbc3..ac7dcb0 100644 --- a/docs/commands_app_start.md +++ b/docs/commands_app_start.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [start](commands_start.md) +### [app](commands_app.md) / [start](commands_app_start.md) ```sh Start one or all of your apps on Discloud diff --git a/docs/commands_app_status.md b/docs/commands_app_status.md index 6a29738..87ee382 100644 --- a/docs/commands_app_status.md +++ b/docs/commands_app_status.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [status](commands_status.md) +### [app](commands_app.md) / [status](commands_app_status.md) ```sh Get status of your app diff --git a/docs/commands_app_stop.md b/docs/commands_app_stop.md index 2377320..1409972 100644 --- a/docs/commands_app_stop.md +++ b/docs/commands_app_stop.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [stop](commands_stop.md) +### [app](commands_app.md) / [stop](commands_app_stop.md) ```sh Stop one or all of your apps on Discloud diff --git a/docs/commands_app_upload.md b/docs/commands_app_upload.md index 451a0bb..4676c03 100644 --- a/docs/commands_app_upload.md +++ b/docs/commands_app_upload.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [app](commands_app.md) / [upload](commands_upload.md) +### [app](commands_app.md) / [upload](commands_app_upload.md) ```sh Upload one app or site to Discloud diff --git a/docs/commands_domain_create.md b/docs/commands_domain_create.md index f5f3080..86b8b54 100644 --- a/docs/commands_domain_create.md +++ b/docs/commands_domain_create.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [domain](commands_domain.md) / [create](commands_create.md) +### [domain](commands_domain.md) / [create](commands_domain_create.md) ```sh Create a domain diff --git a/docs/commands_domain_delete.md b/docs/commands_domain_delete.md index ad3debe..4dac717 100644 --- a/docs/commands_domain_delete.md +++ b/docs/commands_domain_delete.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [domain](commands_domain.md) / [delete](commands_delete.md) +### [domain](commands_domain.md) / [delete](commands_domain_delete.md) ```sh Delete a domain diff --git a/docs/commands_domain_edit.md b/docs/commands_domain_edit.md index 1e69196..38c87ae 100644 --- a/docs/commands_domain_edit.md +++ b/docs/commands_domain_edit.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [domain](commands_domain.md) / [edit](commands_edit.md) +### [domain](commands_domain.md) / [edit](commands_domain_edit.md) ```sh Edit a domain diff --git a/docs/commands_domain_info.md b/docs/commands_domain_info.md index ffdd507..421c94c 100644 --- a/docs/commands_domain_info.md +++ b/docs/commands_domain_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [domain](commands_domain.md) / [info](commands_info.md) +### [domain](commands_domain.md) / [info](commands_domain_info.md) ```sh Get information of your domains diff --git a/docs/commands_domain_verify.md b/docs/commands_domain_verify.md index f17087a..8347cb8 100644 --- a/docs/commands_domain_verify.md +++ b/docs/commands_domain_verify.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [domain](commands_domain.md) / [verify](commands_verify.md) +### [domain](commands_domain.md) / [verify](commands_domain_verify.md) ```sh Verify a domain diff --git a/docs/commands_snapshot_create.md b/docs/commands_snapshot_create.md index e7e051f..652baec 100644 --- a/docs/commands_snapshot_create.md +++ b/docs/commands_snapshot_create.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [snapshot](commands_snapshot.md) / [create](commands_create.md) +### [snapshot](commands_snapshot.md) / [create](commands_snapshot_create.md) ```sh Create a versioned snapshot of your app diff --git a/docs/commands_snapshot_download.md b/docs/commands_snapshot_download.md index d9b17b9..952db69 100644 --- a/docs/commands_snapshot_download.md +++ b/docs/commands_snapshot_download.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [snapshot](commands_snapshot.md) / [download](commands_download.md) +### [snapshot](commands_snapshot.md) / [download](commands_snapshot_download.md) ```sh Download a versioned snapshot of your app diff --git a/docs/commands_snapshot_info.md b/docs/commands_snapshot_info.md index d6b3b9e..ce4a2a1 100644 --- a/docs/commands_snapshot_info.md +++ b/docs/commands_snapshot_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [snapshot](commands_snapshot.md) / [info](commands_info.md) +### [snapshot](commands_snapshot.md) / [info](commands_snapshot_info.md) ```sh List your versioned snapshots diff --git a/docs/commands_subdomain_create.md b/docs/commands_subdomain_create.md index 6879feb..4eef230 100644 --- a/docs/commands_subdomain_create.md +++ b/docs/commands_subdomain_create.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [subdomain](commands_subdomain.md) / [create](commands_create.md) +### [subdomain](commands_subdomain.md) / [create](commands_subdomain_create.md) ```sh Create a subdomain diff --git a/docs/commands_subdomain_delete.md b/docs/commands_subdomain_delete.md index 26dcc03..5283828 100644 --- a/docs/commands_subdomain_delete.md +++ b/docs/commands_subdomain_delete.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [subdomain](commands_subdomain.md) / [delete](commands_delete.md) +### [subdomain](commands_subdomain.md) / [delete](commands_subdomain_delete.md) ```sh Delete a subdomain diff --git a/docs/commands_subdomain_info.md b/docs/commands_subdomain_info.md index b6cea08..41abc88 100644 --- a/docs/commands_subdomain_info.md +++ b/docs/commands_subdomain_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [subdomain](commands_subdomain.md) / [info](commands_info.md) +### [subdomain](commands_subdomain.md) / [info](commands_subdomain_info.md) ```sh Get information of your subdomains diff --git a/docs/commands_team_backup.md b/docs/commands_team_backup.md index f9458df..75b17f6 100644 --- a/docs/commands_team_backup.md +++ b/docs/commands_team_backup.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [backup](commands_backup.md) +### [team](commands_team.md) / [backup](commands_team_backup.md) ```sh Get backup of your team app code from Discloud diff --git a/docs/commands_team_commit.md b/docs/commands_team_commit.md index 944c492..46e548b 100644 --- a/docs/commands_team_commit.md +++ b/docs/commands_team_commit.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [commit](commands_commit.md) +### [team](commands_team.md) / [commit](commands_team_commit.md) ```sh Commit one app or site to Discloud diff --git a/docs/commands_team_info.md b/docs/commands_team_info.md index bd1c473..490810e 100644 --- a/docs/commands_team_info.md +++ b/docs/commands_team_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [info](commands_info.md) +### [team](commands_team.md) / [info](commands_team_info.md) ```sh Get information of your apps diff --git a/docs/commands_team_logs.md b/docs/commands_team_logs.md index ccac771..682365d 100644 --- a/docs/commands_team_logs.md +++ b/docs/commands_team_logs.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [logs](commands_logs.md) +### [team](commands_team.md) / [logs](commands_team_logs.md) ```sh View the logs from application in Discloud diff --git a/docs/commands_team_ram.md b/docs/commands_team_ram.md index 2b0afb6..898e953 100644 --- a/docs/commands_team_ram.md +++ b/docs/commands_team_ram.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [ram](commands_ram.md) +### [team](commands_team.md) / [ram](commands_team_ram.md) ```sh Set amount of ram for your app diff --git a/docs/commands_team_restart.md b/docs/commands_team_restart.md index 1b7aecc..2f65d91 100644 --- a/docs/commands_team_restart.md +++ b/docs/commands_team_restart.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [restart](commands_restart.md) +### [team](commands_team.md) / [restart](commands_team_restart.md) ```sh Restart one or all of your apps on Discloud diff --git a/docs/commands_team_start.md b/docs/commands_team_start.md index 81c41c4..d4c20a0 100644 --- a/docs/commands_team_start.md +++ b/docs/commands_team_start.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [start](commands_start.md) +### [team](commands_team.md) / [start](commands_team_start.md) ```sh Start one or all of your apps on Discloud diff --git a/docs/commands_team_status.md b/docs/commands_team_status.md index 7d74d59..f732a27 100644 --- a/docs/commands_team_status.md +++ b/docs/commands_team_status.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [status](commands_status.md) +### [team](commands_team.md) / [status](commands_team_status.md) ```sh Get status of your app diff --git a/docs/commands_team_stop.md b/docs/commands_team_stop.md index 3c2b23f..cc17e0c 100644 --- a/docs/commands_team_stop.md +++ b/docs/commands_team_stop.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [team](commands_team.md) / [stop](commands_stop.md) +### [team](commands_team.md) / [stop](commands_team_stop.md) ```sh Stop one or all of your apps on Discloud diff --git a/docs/commands_user_info.md b/docs/commands_user_info.md index c66acaf..7abdc7e 100644 --- a/docs/commands_user_info.md +++ b/docs/commands_user_info.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [user](commands_user.md) / [info](commands_info.md) +### [user](commands_user.md) / [info](commands_user_info.md) ```sh Get your information diff --git a/docs/commands_user_locale.md b/docs/commands_user_locale.md index a7bfa98..276c7ff 100644 --- a/docs/commands_user_locale.md +++ b/docs/commands_user_locale.md @@ -2,7 +2,7 @@ ## [Commands](commands.md) -### [user](commands_user.md) / [locale](commands_locale.md) +### [user](commands_user.md) / [locale](commands_user_locale.md) ```sh Set your locale diff --git a/scripts/docs/generate.dart b/scripts/docs/generate.dart index c807b50..aa3f089 100644 --- a/scripts/docs/generate.dart +++ b/scripts/docs/generate.dart @@ -112,8 +112,9 @@ void main() async { } class _LocalLinkMdSyntax extends InlineSyntax { - new({required this.localFiles}) - : super(r"\[([^\]]+)\]\(((\.[\\/])?\w.*.md)\)"); + static const _pattern = r"\[([^\]]+)\]\(([^)]+\.md)\)"; + + new({required this.localFiles}) : super(_pattern); final Set localFiles; diff --git a/scripts/docs/generate/commands.dart b/scripts/docs/generate/commands.dart index fef1f81..7123bba 100644 --- a/scripts/docs/generate/commands.dart +++ b/scripts/docs/generate/commands.dart @@ -52,7 +52,7 @@ Future _recursiveDocsGenerate({ buffer ..writeAll([ "### [$name](commands_${name.replaceAll(" ", "_")}.md)", - "[${command.name}](commands_${command.name.replaceAll(" ", "_")}.md)", + "[${command.name}](commands_${name.replaceAll(" ", "_")}_${command.name.replaceAll(" ", "_")}.md)", ], " / ") ..writeln() ..writeln();