Skip to content

Commit

Permalink
Merge pull request #172 from artichoke/dev/lopopolo-purge-markdown-li…
Browse files Browse the repository at this point in the history
…nk-check

Remove markdown link check
  • Loading branch information
lopopolo authored Dec 24, 2024
2 parents 5a40b5d + 8c947ed commit a6f1f23
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 73 deletions.
19 changes: 0 additions & 19 deletions .github/markdown-link-check.json

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/markdown-link-check.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,3 @@ namespace :fmt do
end

Bundler::Audit::Task.new

namespace :release do
link_check_files = FileList.new('**/*.md') do |f|
f.exclude('node_modules/**/*')
f.exclude('**/target/**/*')
f.exclude('**/vendor/*/**/*')
f.include('*.md')
f.include('**/vendor/*.md')
end

link_check_files.sort.uniq.each do |markdown|
desc 'Check for broken links in markdown files'
task markdown_link_check: markdown do
command = ['npx', 'markdown-link-check', '--config', '.github/markdown-link-check.json', markdown]
sh command.shelljoin
sleep(rand(1..5))
end
end
end

0 comments on commit a6f1f23

Please sign in to comment.