Remove references to WARNINGS environment variable [ci skip]

This has had no effect since 771a802c37.
This commit is contained in:
Eugene Kenny 2020-07-05 16:40:52 +01:00
parent 6af5662165
commit 2f87589630
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ namespace :guides do
namespace :generate do
desc "Generate HTML guides"
task :html do
ENV["WARNINGS"] = "1" # authors can't disable this
ruby "-Eutf-8:utf-8", "rails_guides.rb"
end

View File

@ -160,7 +160,7 @@ Please validate the generated HTML with:
$ bundle exec rake guides:validate
```
Particularly, titles get an ID generated from their content and this often leads to duplicates. Please set `WARNINGS=1` when generating guides to detect them. The warning messages suggest a solution.
Particularly, titles get an ID generated from their content and this often leads to duplicates.
Kindle Guides
-------------