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 摘要。