mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
A new script then parses these json help files into the html help contents, in a standardised manner. Previously, the function help was a bunch of different formats and structures. Now, a custom stylesheet can be applied (and later tweaked!) to format these help. Eg, this commit colors variables and function names in the syntax section for greater readability.
7 lines
393 B
Plaintext
7 lines
393 B
Plaintext
{
|
|
"function": "geom_from_gml",
|
|
"description": "Returns a geometry from a GML representation of geometry.",
|
|
"arguments": [ {"arg":"gml","description":"GML representation of a geometry as a string"}],
|
|
"examples": [ { "expression":"geom_from_gml( '<gml:LineString srsName=\"EPSG:4326\"><gml:coordinates>4,4 5,5 6,6</gml:coordinates></gml:LineString>')", "returns":"a geometry object"}]
|
|
}
|