Module Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body ImportFrom alias Return AttributeLoad Call NameLoad BinOpAdd Str AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str BinOpAdd AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Dict Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Dict Assign NameStore BinOpAdd Str Call AttributeLoad NameLoad attr Str Str For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A N/A os N/A sys N/A pkg_resources weakref ref weakref inifile IniFile lektor.context get_ctx get_plugin N/A N/A plugin_id_or_class env N/A None N/A N/A Looks up the plugin instance by id or class. N/A N/A env None N/A N/A ctx N/A get_ctx N/A N/A ctx None N/A N/A N/A RuntimeError Context is unavailable and no enviroment was passed to the function. N/A env N/A ctx env N/A plugin_id N/A N/A N/A env plugin_ids_by_class get plugin_id_or_class plugin_id_or_class N/A N/A N/A N/A N/A env plugins N/A plugin_id N/A N/A N/A KeyError N/A N/A N/A LookupError N/A Plugin %r not found plugin_id N/A Plugin N/A object N/A N/A This needs to be subclassed for custom plugins. N/A name Your Plugin Name N/A description Description goes here __init__ N/A N/A self env id N/A N/A N/A N/A self _env N/A weakref env N/A N/A self id id N/A env N/A N/A self N/A N/A N/A rv N/A N/A self _env N/A N/A rv None N/A N/A N/A RuntimeError Environment went away N/A rv N/A property version N/A N/A self N/A N/A pkg_resources get_distribution N/A N/A N/A get_distribution N/A lektor- N/A self id version N/A property path N/A N/A self N/A N/A N/A mod N/A N/A sys modules N/A N/A N/A N/A N/A N/A self __class__ __module__ split . N/A 0 N/A path N/A N/A N/A os path abspath N/A N/A N/A os path dirname N/A mod __file__ N/A N/A N/A N/A path startswith N/A N/A N/A N/A self env project get_package_cache_path N/A N/A path N/A property import_name N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __class__ __module__ : N/A N/A self __class__ __name__ N/A property get_lektor_config N/A N/A self N/A N/A N/A Returns the global config. N/A ctx N/A get_ctx N/A N/A ctx None N/A N/A cfg N/A N/A N/A ctx pad db config N/A N/A cfg N/A N/A N/A self env load_config N/A cfg N/A config_filename N/A N/A self N/A N/A N/A The filename of the plugin specific config file. N/A N/A N/A N/A os path join N/A N/A self env root_path configs N/A N/A self id .ini N/A property get_config N/A N/A self fresh N/A False N/A N/A Returns the config specific for this plugin.  By default this
        will be cached for the current build context but this can be
        disabled by passing ``fresh=True``.
         N/A ctx N/A get_ctx N/A N/A N/A ctx None N/A fresh N/A N/A cache N/A N/A N/A ctx cache setdefault N/A __name__ :configs N/A N/A cfg N/A N/A cache get N/A self id N/A N/A cfg None N/A N/A cfg N/A IniFile N/A self config_filename N/A N/A cache N/A N/A self id cfg N/A N/A cfg N/A IniFile N/A self config_filename N/A N/A ctx None N/A N/A N/A N/A ctx record_dependency N/A self config_filename N/A cfg N/A emit N/A N/A self event N/A kwargs N/A N/A N/A N/A N/A N/A self env pluginsystem emit N/A N/A N/A self id - event kwargs N/A to_json N/A N/A self N/A N/A N/A N/A id name version description path import_name N/A self id N/A self name N/A self version N/A self description N/A self path N/A self import_name N/A N/A load_plugins N/A N/A N/A N/A N/A Loads all available plugins and returns them. N/A rv N/A N/A ep N/A N/A pkg_resources iter_entry_points lektor.plugins N/A N/A match_name N/A lektor- N/A N/A N/A ep name lower N/A N/A match_name N/A N/A N/A N/A ep dist project_name lower N/A N/A N/A RuntimeError N/A Mismatching entry point name.  Found "%s" but expected "%s" for package "%s". N/A N/A ep name N/A N/A N/A ep dist project_name N/A 7 N/A N/A ep dist project_name N/A N/A rv N/A N/A ep name N/A N/A ep load N/A rv N/A initialize_plugins N/A N/A env N/A N/A N/A Initializes the plugins for the environment. N/A plugins N/A load_plugins N/A N/A plugin_id plugin_cls N/A N/A plugins iteritems N/A N/A N/A N/A N/A env plugin_controller instanciate_plugin plugin_id plugin_cls N/A N/A N/A N/A env plugin_controller emit setup-env N/A PluginController N/A object N/A N/A Helper management class that is used to control plugins through
    the environment.
     __init__ N/A N/A self env N/A N/A N/A N/A self _env N/A weakref env N/A env N/A N/A self N/A N/A N/A rv N/A N/A self _env N/A N/A rv None N/A N/A N/A RuntimeError Environment went away N/A rv N/A property instanciate_plugin N/A N/A self plugin_id plugin_cls N/A N/A N/A env N/A self env N/A N/A plugin_id N/A env plugins N/A N/A N/A RuntimeError N/A Plugin "%s" is already registered plugin_id N/A N/A N/A env plugins N/A plugin_id N/A plugin_cls env plugin_id N/A N/A N/A env plugin_ids_by_class N/A plugin_cls plugin_id N/A iter_plugins N/A N/A self N/A N/A N/A N/A N/A N/A N/A self env plugins itervalues N/A emit N/A N/A self event N/A kwargs N/A N/A rv N/A N/A funcname N/A on_ N/A N/A event replace - _ N/A plugin N/A N/A self iter_plugins N/A N/A handler N/A getattr plugin funcname None N/A N/A handler None N/A N/A N/A rv N/A N/A plugin id N/A handler kwargs N/A rv N/A N/A