On 27 April 2018 at 15:47, sebb <[email protected]> wrote:
> On 27 April 2018 at 15:41, Henk P. Penning <[email protected]> wrote:
>> On Thu, 26 Apr 2018, sebb wrote:
>>
>>> Date: Thu, 26 Apr 2018 15:13:08 +0200
>>> From: sebb <[email protected]>
>>> To: [email protected]
>>> Subject: Re: svn commit: r1830185 - /attic/site-lua/docs/OUT
>>
>>
>>>>   I think postlude should be just a text blob :
>>>>
>>>>     postlude: |-
>>>>       just a blob
>>>>
>>>>   Adding structuring is artificial, and a source of errors.
>>>
>>>
>>> It makes checking the generated HTML harder.
>>
>>
>>   how so ? the generate HTML is exactly the same as the blob ;
>>
>>   See the source of the hardest case :
>>
>>     http://mirror-vm80.apache.org/projects/jakarta-taglibs.html
>>
>>   compare with :
>>
>>     https://svn.apache.org/repos/asf/attic/site-lua/docs/data/attic.yaml
>
> I stand corrected; I had assumed the blob was flattened into a single line.

However the YAML version has lost the original indentation.
Many of the line breaks in the YAML version as also different, but I
assume that was caused by some unnecessary line-wrapping

These make it harder to test for significant changes.

>>   Groeten,
>>
>>   HPP
>>
>>
>>>>>>   can you please fix the projects.json ?
>>>>>>   Avoid the booleans by changing the values of
>>>>>>   'nodist' and 'keys' to 1 (instead of 'true').
>>>>
>>>>
>>>>
>>>>> Why avoid booleans?
>>>>
>>>>
>>>>
>>>>   It is a perl thingy ; a JSON-read accepts true and false,
>>>>   but the resulting data-structure has typed values
>>>>   JSON::XS::Boolean (or some such) that YAML doesn't grok.
>>>>   Using just 0 and 1 makes it a little easier (without
>>>>   loss). Please fix.
>>>
>>>
>>> The Jekyll PoC does not use Perl.
>>>
>>> It's also ambiguous to use 0 and 1 because their truth values depends
>>> on the language.
>>>
>>>>   Groeten,
>>>>
>>>>   HPP
>>>>
>>>>
>>>> ------------------------------------------------------------   _
>>>> Henk P. Penning, ICT-beta                 R Uithof MG-403    _/ \_
>>>> Faculty of Science, Utrecht University    T +31 30 253 4106 / \_/ \
>>>> Leuvenlaan 4, 3584CE Utrecht, NL          F +31 30 253 4553 \_/ \_/
>>>> http://www.staff.science.uu.nl/~penni101/ M [email protected]     \_/
>>>
>>>
>>
>> ------------------------------------------------------------   _
>> Henk P. Penning, ICT-beta                 R Uithof MG-403    _/ \_
>> Faculty of Science, Utrecht University    T +31 30 253 4106 / \_/ \
>> Leuvenlaan 4, 3584CE Utrecht, NL          F +31 30 253 4553 \_/ \_/
>> http://www.staff.science.uu.nl/~penni101/ M [email protected]     \_/

Reply via email to