diff --git a/docs/cli.md b/docs/cli.md index 8a53feb..db16235 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -1,43 +1,43 @@ # cli -![help](/svgs/viv-help.svg) +![help](./svgs/viv-help.svg) ## list -![cmd](/svgs/viv-list-help.svg) +![cmd](./svgs/viv-list-help.svg) ## exe -![cmd](/svgs/viv-exe-help.svg) +![cmd](./svgs/viv-exe-help.svg) ### exe python -![cmd](/svgs/viv-exe-python-help.svg) +![cmd](./svgs/viv-exe-python-help.svg) ### exe pip -![cmd](/svgs/viv-exe-pip-help.svg) +![cmd](./svgs/viv-exe-pip-help.svg) ## remove -![cmd](/svgs/viv-remove-help.svg) +![cmd](./svgs/viv-remove-help.svg) ## manage -![cmd](/svgs/viv-manage-help.svg) +![cmd](./svgs/viv-manage-help.svg) ### manage update -![cmd](/svgs/viv-manage-update-help.svg) +![cmd](./svgs/viv-manage-update-help.svg) ### manage purge -![cmd](/svgs/viv-manage-purge-help.svg) +![cmd](./svgs/viv-manage-purge-help.svg) ### manage show -![cmd](/svgs/viv-manage-show-help.svg) +![cmd](./svgs/viv-manage-show-help.svg) ### manage install -![cmd](/svgs/viv-manage-install-help.svg) +![cmd](./svgs/viv-manage-install-help.svg) ## freeze -![cmd](/svgs/viv-freeze-help.svg) +![cmd](./svgs/viv-freeze-help.svg) ## shim -![cmd](/svgs/viv-shim-help.svg) +![cmd](./svgs/viv-shim-help.svg) ## run -![cmd](/svgs/viv-run-help.svg) +![cmd](./svgs/viv-run-help.svg) diff --git a/scripts/generate-svgs.py b/scripts/generate-svgs.py index 11781cd..3c328d0 100755 --- a/scripts/generate-svgs.py +++ b/scripts/generate-svgs.py @@ -25,7 +25,7 @@ cmds = { cli_doc = """ # cli -![help](/svgs/viv-help.svg) +![help](./svgs/viv-help.svg) """ @@ -56,7 +56,7 @@ for cmd, subcmds in cmds.items(): cli_doc += dedent( f""" ## {cmd} - ![cmd](/svgs/{p.name}) + ![cmd](./svgs/{p.name}) """ ) yartsu(p, cmd) @@ -65,7 +65,7 @@ for cmd, subcmds in cmds.items(): cli_doc += dedent( f""" ### {cmd} {subcmd} - ![cmd](/svgs/{p_sub.name}) + ![cmd](./svgs/{p_sub.name}) """ ) yartsu(p_sub, [cmd, subcmd])