Closed dmt0 closed 1 year ago
Hi
jspreadsheet.formulasDoc['MYFUNCTION()'] = {
syntax:"MYFUNCTION(value, value)", // In header area of documentation
about:"My custom function description ", // In content area of documentation, position 1
params:[
{type:"Float", comment:"First value"},
{type:"Float", comment:"Second value"}
], // In content area of documentation, position 2
examples:"MYFUNCTION(2008, 7) equals 25", // In content area of documentation, position 3
link:"https://mydocs.domain.ext/doc/123456" // In content area of documentation, position 4
}
With last version of statistics, you need rename functions in your own documentation
Thanks, got it! The syntax
field is what I was looking for.
Plugin Name with version
2.0.6
JSpreadsheet version
v9.x
Describe the bug
In the header of the docs, where do the parameter names come from? Here's my object defining the parameter docs:
So for all parameters except for the first the name of the parameter is the substring of
comment
before the:
, but for the first one it'stype
, so it saysRange
instead ofsample
as I would expect.Reproduction steps