Skip to content

Validation of absolute links relative to docs root#3485

Merged
oprypin merged 2 commits intomasterfrom
abs
Dec 15, 2023
Merged

Validation of absolute links relative to docs root#3485
oprypin merged 2 commits intomasterfrom
abs

Conversation

@oprypin
Copy link
Copy Markdown

@oprypin oprypin commented Nov 25, 2023

Add a new config option:

validation:
  links:
    absolute_links: relative_to_docs

This makes absolute links be validated relative to docs_dir and be turned into relative links.

@oprypin

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to prefix absolute links with sub-page or turn them relative. Support absolute URLs to internal pages

1 participant