Valentin Villenave <[email protected]> writes:

>
>> describeMusic =
>> #(define-music-function (parser location description music) (string?
>> ly:music?)
>>  (set! (ly:music-property music 'description) description)
>>  music)
>>
>> hideNotes =
>> \describeMusic "This hides notes"
>> {
>>  ...
>> }
>
> Interesting. I think this discussion took place when we started
> documenting music-functions-init.ly, and were wondering how to
> document property-init.ly in a similar way.

(define documentation (make-object-property))

(set! (documentation eval-conf) ".....")

However, the question is whether the actual desire is to place the
documentation within the object, or rather whether the desire is to
register object _name_ and documentation somewhere where the
documentation printer can sort and arrange it for generating the
manuals.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to