kraftkit
kraftkit copied to clipboard
fix(gendocs): Remove old link prefixes
Prerequisite checklist
- [ ] Read the contribution guidelines regarding submitting new changes to the project;
- [ ] Tested your changes against relevant architectures and platforms;
- [ ] Ran
make fmt
on your commit series before opening this PR; - [ ] Updated relevant documentation.
Description of changes
@nderjung this might not be universally correct, but keep it in mind when deploying docs. After an initial scan it looks fine.
Can you please add a CLI arg that provides the user the option to specify the URL prefix? This allows the docs to be placed in different places whilst simultaneously preventing this type of fix in the future.
The flag should be named -url-prefix
and should be propagated as a GNU Make variable, DOCS_URL_PREFIX
, for the gendocs
target. The default value should be set to /docs/cli/reference/
.