diff --git a/Taskfile.yml b/Taskfile.yml index 9c014506..62a18525 100755 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -24,6 +24,11 @@ tasks: cmds: - poetry run mike deploy --update-aliases --push --remote {{.DOCS_REMOTE}} {{.DOCS_VERSION}} {{.DOCS_ALIAS}} + docs:generate: + desc: Create all generated documentation content + deps: + - task: docs:gen:commands + docs:gen:commands: desc: Generate command reference files dir: ./docsgen @@ -43,6 +48,8 @@ tasks: docs:check-links: desc: Verifies there are no dead links in documentation + deps: + - task: docs:generate cmds: - | npx -p markdown-link-check -c ' diff --git a/docs/usage.md b/docs/usage.md index 2d1fb41f..59cd7bc3 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -57,4 +57,4 @@ The full list of command line options can be obtained with the `-h` option: `./a For further information you can use the [command reference] [install]: installation.md -[command reference]: https://arduino.github.io/arduino-fwuploader/dev/commands/arduino-fwuploader/ +[command reference]: commands/arduino-fwuploader.md