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
402 B
Plaintext
7 lines
402 B
Plaintext
{
|
|
"function": "$atlasfeature",
|
|
"description": "In atlas generation, returns the current feature that is iterated over on the coverage layer. This can be used with the 'attribute' function to return attribute values from the current atlas feature.",
|
|
"examples": [ { "expression":"attribute( $atlasfeature, 'name' )", "returns":"value stored in 'name' attribute for the current atlas feature"}]
|
|
}
|
|
|