mirror of https://github.com/rails/rails
Remove references to WARNINGS environment variable [ci skip]
This has had no effect since 771a802c37
.
This commit is contained in:
parent
6af5662165
commit
2f87589630
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
-------------
|
||||
|
|
Loading…
Reference in New Issue