Metadata-Version: 2.4
Name: webifier-extensions
Version: 1.0.1
Summary: First-party extensions for Webifier static sites.
Author-email: Vahid Zehtab <vahid98zee@gmail.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: beautifulsoup4
Requires-Dist: markupsafe
Requires-Dist: nbconvert<8,>=7
Requires-Dist: nbformat
Provides-Extra: dev
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# Webifier Extensions

First-party extensions for Webifier.

This distribution is installed automatically when users install `webifier`:

```shell
pip install webifier
```

For local extension development, install this package in the same environment as
the local Webifier core.

Enable named instances in a site configuration:

```yaml
config:
  webifier:
    extensions:
      site:
        uses: webifier.standard
      markdown:
        uses: webifier.markdown
      search:
        uses: webifier.search
```

Extensions can register renderers, content renderers, templates, themes, assets,
resolvers, format loaders, hooks, and config defaults. Hooks are page-aware, so a
`head` hook can inspect the current page data or page-local config and inject
JavaScript only on pages that need it.
