2015-04-16 33 views
1

從來就寫了傑奇CI腳本travis-ci.org但使用jeyklll本身htmlproof(GEM HTML打樣機)不容GET htmlproof接受的忽略模式

我不能得到忽略模式工作。我正嘗試忽略的子文件夾

htmlproof ./_site --file-ignore ".+/ios/cocoadocs.+" 

的所有文件,但仍然I'm獲得充足的錯誤:

- ./_site/ios/cocoadocs/0.7.0/Classes/SBSDKManager.html 
    * linking to internal hash #//api/name/authorizationStatus that does not exist (line 875) 
    * linking to internal hash #//api/name/authorizationStatus that does not exist (line 899) 
    * linking to internal hash #//api/name/regions that does not exist (line 336) 
    * linking to internal hash #//api/name/regions that does not exist (line 353) 

我如何做一個propper忽略模式?

回答

2

使用http://rubular.com/我想通了,我需要逃避正斜槓和非轉義正斜槓包裹在:

htmlproof ./_site --file-ignore "/.+\/ios\/cocoadocs.+/" 

工作