<filename>docs/python_docs/themes/mx-theme/mxtheme/__init__.py
from os import path
from .card import CardDirective

__version__ = '0.3.9'
__version_full__ = __version__

package_dir = path.dirname(path.abspath(__file__))

def get_path():
    return package_dir

def setup(app):
    app.add_html_theme('mxtheme', package_dir)

<filename>docs/python_docs/themes/mx-theme/mxtheme/__init__.py
from os import path
from .card import CardDirective

__version__ = '0.3.9'
__version_full__ = __version__

package_dir = path.dirname(path.abspath(__file__))

def get_path():
    return package_dir

def setup(app):
    app.add_html_theme('mxtheme', package_dir)
