Closed HonkingGoose closed 6 months ago
I don't know enough to work on this issue.
@viceice if you want to work on this, please assign yourself to the issue. 😉
will start working on it today
WARNING - Doc file 'modules/manager/devcontainer/index.md' contains a relative link '../dockerfile/readme.md', but the target 'modules/manager/dockerfile/readme.md' is not found among documentation files.
WARNING - Doc file 'modules/manager/devcontainer/index.md' contains a relative link '../docker-compose/readme.md', but the target 'modules/manager/docker-compose/readme.md' is not found among documentation files.
We also need to validate anchors, see
INFO - Doc file 'configuration-options.md' contains a link './self-hosted-configuration.md#allowedEnv', but the doc 'self-hosted-configuration.md' does not contain an anchor '#allowedEnv'.
INFO - Doc file 'configuration-options.md' contains a link './self-hosted-configuration.md#allowedHeaders', but the doc 'self-hosted-configuration.md' does not contain an anchor '#allowedHeaders'.
INFO - Doc file 'configuration-options.md' contains a link './getting-started/running.md#githubcom-token-for-release-notes', but the doc 'getting-started/running.md' does not contain an anchor '#githubcom-token-for-release-notes'.
INFO - Doc file 'self-hosted-configuration.md' contains a link './self-hosted-experimental.md#renovatexs3endpoint', but the doc 'self-hosted-experimental.md' does not contain an anchor '#renovatexs3endpoint'.
INFO - Doc file 'self-hosted-configuration.md' contains a link './self-hosted-experimental.md#renovatexs3pathstyle', but the doc 'self-hosted-experimental.md' does not contain an anchor '#renovatexs3pathstyle'.
INFO - Doc file 'getting-started/private-packages.md' contains a link '../self-hosted-configuration.md#detectHostRulesFromEnv', but the doc 'self-hosted-configuration.md' does not contain an anchor '#detectHostRulesFromEnv'.
:tada: This issue has been resolved in version 37.330.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the proposed change(s).
Creating this issue as asked by @viceice in this comment:
We should check if all relative links in our Markdown files (
*.md
) are correct, this makes sure that the published docs has working links. This check should be automated, via tests or configuration of existing tools.The
mkdocs
dependency in ourrenovatebot/renovatebot.github.io
repository already warns us about some bad link types, here's the relevant snippet: [^1]mkdocs
already warns about bad relative links, but we only see that warning output when we (or Renovate) create a new docs build in the docs repo... So that warning can't help you decide if a PR is good to merge. :upside_down_face:We have a
documentation.spec.ts
file that has some docs specific tests. I don't see code that tests for relative links?[^1]:
mkdocs.yml
config file onrenovatebot.github.io
repository