jbake
jbake copied to clipboard
Bug: SOURCE_URI and URI are the same
Unless I am mistaken, SOURCE_URI and URI are the same:
fileContents.put(String.valueOf(DocumentAttributes.SOURCE_URI), uri);
fileContents.put(Attributes.URI, uri);
So either a. SOURCE_URI should contain the real source URI (i.e. the original markup file path), or b. one of the two should be removed and usages replaced with the other.
From the code the intention seems to be rather a). SOURCE_URI is the "primary key" for the document groups-per-type.
Hmm I have a feeling that URI may be altered later on... but I'll have to double check back through the history.