tldr-pages / tldr-lint

:rotating_light: A linting tool to validate tldr pages
https://www.npmjs.com/package/tldr-lint
MIT License
37 stars 20 forks source link

New linter error if a manual pages website different than manned.org is used in "More information" #325

Open vitorhcl opened 5 months ago

vitorhcl commented 5 months ago

My suggestion is to add a list of warned websites, such as linux.org, man7.org and die.net, etc.

Obviously, it isn't a good idea to only allow manned.org links because that would generate a lot of unnecessary false positives when an alternative URL is used such as URLs for the official documentation.

Inspired by https://github.com/tldr-pages/tldr/pull/12907

spageektti commented 5 months ago

This is a good idea. There are some websites on which man pages are available:

sebastiaanspeck commented 2 months ago

This is a good idea.

There are some websites on which man pages are available:

manpages.debian.org is another one. The linter should take subdomains into account as well