Browse Source

obs-scripting: Enable Python autodoc

This provides more useful information in auto-complete, complete with
parameter summaries.

Example:

"""
    obs_properties_add_path(props, name, description, type, filter, default_path) -> obs_property_t *

    Parameters
    ----------
    props: obs_properties_t *
    name: char const *
    description: char const *
    type: enum enum obs_path_type
    filter: char const *
    default_path: char const *

"""
Matt Gajownik 3 years ago
parent
commit
77d810148d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deps/obs-scripting/obspython/obspython.i

+ 1 - 0
deps/obs-scripting/obspython/obspython.i

@@ -42,6 +42,7 @@
 %}
 
 %feature("python:annotations", "c");
+%feature("autodoc", "2");
 
 #define DEPRECATED_START
 #define DEPRECATED_END