Skip to content

Plugin incorrectly demands existence of define_env() in module #191

Description

@fralau

There is a requirement in the plugin.py file that the define_env() function should be present in the module file (main.py).

This was correct in the past, but nowadays it could also be on _pre_page_macros and others.

Workaround

Just add this function to the module file:

def define_env(env):
   pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedA fix has been submittedplease testAn updated was pushed. This needs to be testedstaleNo news, closing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions