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

Image links are not checked in md files #25

Closed
marcindulak opened this issue Feb 17, 2024 · 1 comment · Fixed by #33
Closed

Image links are not checked in md files #25

marcindulak opened this issue Feb 17, 2024 · 1 comment · Fixed by #33

Comments

@marcindulak
Copy link
Contributor

marcindulak commented Feb 17, 2024

The example below uses docker #23

  1. build the image of the latest linkspector from source
    git clone https://github.com/UmbrellaDocs/linkspector
    cd linkspector
    docker build --build-arg LINKSPECTOR_PACKAGE= -t umbrelladocs/linkspector .
    
  2. run linkspector check on a test directory
    mkdir test
    cp .gitignore test  # due to https://github.com/UmbrellaDocs/linkspector/issues/24
    echo '![test](test-missing.png "test")' > 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.

An error due to a missing image link is expected.

@marcindulak
Copy link
Contributor Author

It does not appear to me that this is fixed using c35eb55.

Please use the test instructions provided in the issue description (cp .gitignore test is no longer needed), and reopen the issue if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant