mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 23:06:09 +00:00
adding "htmlproof" npm script command.
This commit is contained in:
parent
50a0e8071e
commit
dd6790b207
2 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,7 @@ We are using Jekyll to generate the static html files.
|
|||
https://jekyllrb.com
|
||||
|
||||
### Requirements (mac)
|
||||
* Ruby: `brew install ruby`
|
||||
* Ruby: `brew install ruby` (v2.3.3 works, v2.4.0 *does not*)
|
||||
* Ruby Gems: https://rubygems.org/pages/download
|
||||
* NodeJS: https://nodejs.org/en/ (Ideally >=4.5.0)
|
||||
* Python: `brew install python`
|
||||
|
@ -40,6 +40,8 @@ Production builds should be handled by CI.
|
|||
|
||||
`npm run build` will build a fully minified, mangled, and compressed build to the _site directory.
|
||||
|
||||
`npm run htmlproof` will run ImageCheck, ScriptCheck, and LinkCheck on the built "_site" folder "*.html" files. Travis CI will not deploy unless this command finishes successfully!
|
||||
|
||||
Mac
|
||||
xcode-select --install
|
||||
gem install nokogiri
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue