Pillar question PRPrepareForGitBookCommandLineHandler

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Pillar question PRPrepareForGitBookCommandLineHandler

stepharo
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