Closed marcindulak closed 4 months ago
It does not appear to me that this is fixed using https://github.com/UmbrellaDocs/linkspector/commit/c35eb55f29e74bf3161d66e352a21f49e7d4e0f3.
Please use the test instructions provided in the issue description (cp .gitignore test
is no longer needed), and reopen the issue if needed.
It still seems not working for me as expected with https://github.com/UmbrellaDocs/linkspector/commit/9dc2d13c83a83394b97acc06c0c4edc7e0a59137
Section links in the same file are not checked.
I hope this could be implemented. This is a popular functionality looking at the number of linked issues under https://github.com/tcort/markdown-link-check/issues/304, which used to implement it, but broke recently.
Top level Hopefully they are fixed. @marcindulak Let me know if you still find any issues./
links are still broken.
The test case from the issue does not fail as expected for me using https://github.com/UmbrellaDocs/linkspector/commit/9524b584790dc1b830c80486086456b80961a066, using the Dockerfile from https://github.com/UmbrellaDocs/linkspector/pull/23
docker build --no-cache --pull --build-arg LINKSPECTOR_PACKAGE= -t umbrelladocs/linkspector .
rm -rf test
mkdir test
echo '[my-section](#my-section-missing)' > test/test.md
echo '## My section' >> test/test.md
docker run --rm -it -v $PWD/test:/app --name linkspector umbrelladocs/linkspector bash -c 'linkspector check'
Output
⠋ Configuration file not found. Using default configuration.
✨ Success: All hyperlinks in the specified files are valid.
The example below uses docker https://github.com/UmbrellaDocs/linkspector/pull/23
linkspector check
on a test directoryOutput
An error due to a missing section link is expected.