biopython / biopython/biopython.github.io

Checking for broken links with TravisCI

未关闭
#62 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted
主要语言
CSS
星标
167
派生
377
PR 合并指标
30 天内没有已合并 PR

描述

See #19 for fixing all the existing broken links.

Once that's done, we should add a link checker to TravisCI to keep appraised of any broken links (due to external site changes) or bad links in incoming pull request.

@JoaoRodrigues suggested following https://www.jacobtomlinson.co.uk/jekyll/2015/02/18/test-you-jekyll-blog-with-travis-ci/ which suggests this for the `.travis.yml` file:

``` yaml
language: ruby
rvm:
- 2.1
script:
- bundle exec jekyll build
- bundle exec htmlproof ./_site --only-4xx --check-favicon --check-html
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查仓库的 .travis.yml 以及 issue #19 的状态,该 issue 被确定为前置条件。将现有的 CI 配置与提议的 Jekyll 构建命令和 htmlproof 命令进行比较;当 TravisCI 检查生成的链接,并在 pull request 中报告错误或失效的链接时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
jekyll, ruby
领域
ci-cd
Issue 类型
功能
难度
2/5
预计耗时
半天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。