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
Fix broken links in the site #2601
Conversation
Fix broken link to Textile site to point to RedCloth
Thanks!
It's something we've looked into. Ideally, I'd ask git to list the files changed in this pull request, and only run html-proofer if any files in the |
Getting a diff of files since the last commit isn't difficult (something like I'm not too sure on how Travis works exactly; how does it separate the pull requests from commits (i.e. will the line above work in all cases, or will we have to do different things for each situation?) |
@alfredxing That works for one commit, but doesn't get the whole PR, AFAICT. For reference, here's what Travis does:
@penibelst Yeah, I really don't want to make testing slow down. Installing Nokogiri takes a long time, even when using the system libraries. |
@parkr I set up a test repo, and the command seems to work for both commits and PR's (regardless of how many commits there are in a PR). Travis results from the test repo: |
👍 Awesome! Want to submit a pr? Please call it
I think it would be fine if this was run inside |
PR submitted! 🍴 |
This PR fixes broken links found with html-proofer as suggested in #2593. I didn't attempt to fix any links to user/contributor content (like missing GitHub users or missing repos), nor any sites that simply timed out (the server might just be down).
There also seemed to have been an issue with some anchors linking to the History page from new releases blog posts:
Running
html-proofer
in the Travis build would also be possible, but that would also mean that an error in the site would cause the whole project to assume a "build failing" status.