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

Remove markdown link check #119

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .github/markdown-link-check.json

This file was deleted.

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

This file was deleted.

36 changes: 18 additions & 18 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,24 +112,24 @@ available tasks by running:

```console
$ bundle exec rake --tasks
rake build # Build Rust workspace
rake bundle:audit:check # Checks the Gemfile.lock for insecure dependencies
rake bundle:audit:update # Updates the bundler-audit vulnerability database
rake doc # Generate Rust API documentation
rake doc:open # Generate Rust API documentation and open it in a web browser
rake fmt # Format sources
rake fmt:rust # Format Rust sources with rustfmt
rake fmt:text # Format text, YAML, and Markdown sources with prettier
rake format # Format sources
rake format:rust # Format Rust sources with rustfmt
rake format:text # Format text, YAML, and Markdown sources with prettier
rake lint # Lint sources
rake lint:clippy # Lint Rust sources with Clippy
rake lint:clippy:restriction # Lint Rust sources with Clippy restriction pass (unenforced lints)
rake lint:rubocop # Run RuboCop
rake lint:rubocop:autocorrect # Auto-correct RuboCop offenses
rake release:markdown_link_check # Check for broken links in markdown files
rake test # Run ruby-file-expand-path unit tests
rake build # Build Rust workspace
rake bundle:audit:check # Checks the Gemfile.lock for insecure dependencies
rake bundle:audit:update # Updates the bundler-audit vulnerability database
rake doc # Generate Rust API documentation
rake doc:open # Generate Rust API documentation and open it in a web browser
rake fmt # Format sources
rake fmt:rust # Format Rust sources with rustfmt
rake fmt:text # Format text, YAML, and Markdown sources with prettier
rake format # Format sources
rake format:rust # Format Rust sources with rustfmt
rake format:text # Format text, YAML, and Markdown sources with prettier
rake lint # Lint sources
rake lint:clippy # Lint Rust sources with Clippy
rake lint:clippy:restriction # Lint Rust sources with Clippy restriction pass (unenforced lints)
rake lint:rubocop # Run RuboCop
rake lint:rubocop:autocorrect # Autocorrect RuboCop offenses (only when it's safe)
rake lint:rubocop:autocorrect_all # Autocorrect RuboCop offenses (safe and unsafe)
rake test # Run ruby-file-expand-path unit tests
```

To lint Ruby sources, ruby-file-expand-path uses [RuboCop]. RuboCop runs as part
Expand Down
19 changes: 0 additions & 19 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,3 @@ task :test 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
Loading