[Bug] Setting outputFileName has no effect when set inside fileMetadata #9776
Labels
bug
A bug to fix
static-site
Produce static HTML output ready for publishing to hosts like GitHub pages
Describe the bug
The file metadata supports
outputFileName
as a way to indicate the desired file name of a specific document. For example the following YAML metadata can be indicated at the top of aREADME.md
file to make sure the result is emitted asindex.html
.Since
outputFileName
is part of file metadata, one would expect it to be possible to specify it as part of thefileMetadata
section indocfx.json
, similar to other metadata entries.Unfortunately, the below doesn't seem to work:
In this case,
_appTitle
is applied successfully (onlyREADME.md
files will have the custom title) but files will still be namedREADME.html
.Expected behavior
All
README.md
files should be exported asindex.html
files.Context (please complete the following information):
The text was updated successfully, but these errors were encountered: