Open scottyeck opened 9 years ago
@scottyeck I think this has to do with how YAML works... I don't think this is a bug.
I was faced with the same problem.
I think this line may be the cause of this problem. https://github.com/trulia/hologram/blob/master/lib/hologram/doc_builder.rb#L142
In @scottyeck's case, index
is Home
but @pages
has a key not Home.html
but home.html
.
In my docs...
Note that the category
Home
is uppercase above. I mirror this in myhologram_config.yaml
...When attempting to build, I get the following warning:
But, if I set
index: home
(value as lowercase) in myhologram_config.yaml
, it builds fine without the warning. This is confusing. If nothing else, this should be included in theREADME.md
. More preferable, obviously, would be the allowance of uppercase values for this field inhologram_config.yaml
.