We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d239d commit 5c936edCopy full SHA for 5c936ed
js/scripts/generate-wrappers.js
@@ -813,6 +813,7 @@ class PythonWrapper {
813
814
this.properties = _.mapObject(this.config.properties, function(prop) {
815
return {
816
+ help: prop.options.help,
817
trait_declaration: prop.getTraitlet(),
818
defaultJson: prop.getPythonDefaultValue(),
819
};
js/scripts/templates/autodoc.mustache
@@ -25,6 +25,10 @@
25
{{#each properties as |prop propName|}}
26
.. py:attribute:: {{ propName }}
27
28
+ {{#if prop.help}}
29
+ {{{indent prop.help ' '}}}
30
+ {{/if}}
31
+
32
.. sourcecode:: python
33
34
{{{indent prop.trait_declaration ' '}}}
0 commit comments