Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.ymlのコメントでtitlepageのデフォルト値が間違っていたため修正 #847

Closed
wants to merge 1 commit into from

Conversation

kokuyouwind
Copy link
Contributor

指定しなかった場合、大扉ページが生成されていた。
https://github.com/kmuto/review/blob/master/lib/review/configure.rb#L34 を参照したところ、デフォルト値はtrueになっているためコメントのほうを修正した。

@takahashim
Copy link
Collaborator

どうも https://github.com/kmuto/review/blob/master/lib/epubmaker/producer.rb#L214 がnilになっていて、これを揃える必要がありそうです…

@kokuyouwind
Copy link
Contributor Author

どうも https://github.com/kmuto/review/blob/master/lib/epubmaker/producer.rb#L214 がnilになっていて、これを揃える必要がありそうです…

なるほど、ePubとPDFとでデフォルト値が食い違っていたんですね。
となると、対応の選択肢としては以下のいずれかでしょうか。

  1. デフォルトnilを正とし、 ReVIEW::Configure を直す
  2. デフォルトtrueを正とし、EPUBMaker::Producerを直す
  3. 現状挙動を正とし、doc/config.yml.sampleのコメントにePubとPDFで挙動が異なる旨を書く

1 or 2だと後方互換を壊すことになるので、どの方法が良いかは確認していただいたほうが良いかなと思います。

@kmuto
Copy link
Owner

kmuto commented Nov 5, 2017

くい違いはたしかに困りますね…。この機会に正したいので、ダメージ的に少なそうな2.にしましょうか。

@kokuyouwind
Copy link
Contributor Author

#862 でこのPRのコミットも取り込まれているので、こちらのPRはクローズしますね。

@kokuyouwind kokuyouwind closed this Nov 7, 2017
@kokuyouwind kokuyouwind deleted the fix_config_comment branch November 7, 2017 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants