Closed rkratky closed 6 years ago
Technically, empty is a valid value if you are using the default (built-in) stylesheet. But you are correct that if you are using a custom stylesheet, it needs to be the stylesheet you want to copy. So it's really both.
Right, so perhaps it should say 'empty or ...'? Because saying just 'empty' is confusing -- it sounds as if nothing but empty is allowed.
So, specifically, "Empty or the location of the custom stylesheet (if used)".
You got it!
Thanks @rkratky!
The Allowed values field for the
copycss
attribute erroneously says empty. Instead, it should say that the value needs to specify the location of the stylesheet (provided we don't want thestylesheet
attribute to resolve relative to the base directory. This PR fixes that.See also https://github.com/asciidoctor/asciidoctor/issues/300#issuecomment-26478893.