Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of absolute links relative to docs root #3485

Merged
merged 2 commits into from Dec 15, 2023
Merged

Validation of absolute links relative to docs root #3485

merged 2 commits into from Dec 15, 2023

Conversation

oprypin
Copy link
Contributor

@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
Copy link
Contributor Author

oprypin commented Dec 9, 2023

Ready for review

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