|
Hi
PRPrepareForGitBookCommandLineHandler defines the following method.
PRPrepareForGitBookCommandLineHandler>>generateSummary
(baseDirectory / 'SUMMARY.md') asFileReference
writeStreamDo: [ :stream |
stream << '# Summary' << String lf << String lf.
stream << 'Abstract (to be done)' << String lf << String lf.
self flag: #todo. "This cannot work anymore because
inputFiles has been replaced by inputFile."
configuration inputFiles
do: [ :inputFile |
| document title |
document := configuration parseFile: inputFile.
title := document title.
stream << '* [' << title << ']('.
(inputFile , PRMarkdownWriter fileExtension
relativeTo: baseDirectory)
printOn: stream
delimiter: $/.
stream << ')' << String lf ] ]
and I do not get why configuration is sent parseFile:
while only PRParsingPhase defines it.
Stef
|