Create the `HelpPagePath/EnsureValidLinks` cop
This creates a cop that ensures that `help_page_path` usages link to existing documentation. As the documentation gets updated, it's easy to forget that we link to it from many parts of the product. Those links can get outdated as documented are removed, section moved around, titles changed, etc. This cop should ensure the product links stay in sync with the documentation.
显示
- .rubocop_todo/gitlab/documentation_links/link.yml 188 个添加, 0 个删除.rubocop_todo/gitlab/documentation_links/link.yml
- rubocop/cop/gitlab/documentation_links/link.rb 182 个添加, 0 个删除rubocop/cop/gitlab/documentation_links/link.rb
- rubocop/rubocop-documentation.yml 8 个添加, 0 个删除rubocop/rubocop-documentation.yml
- spec/rubocop/cop/gitlab/documentation_links/link_spec.rb 156 个添加, 0 个删除spec/rubocop/cop/gitlab/documentation_links/link_spec.rb
加载中
想要评论请 注册 或 登录