diff --git a/check_projects.py b/check_projects.py index 76d6fa1..155e7b4 100644 --- a/check_projects.py +++ b/check_projects.py @@ -107,7 +107,9 @@ def check_install_project(project, install_name, errors=None): for kind, label in _kind_to_label.items(): items = _get_as_list(project, kind) - if (label in labels) != bool(items): + if label == "plugin" and "theme" in labels and "plugin" not in labels: + pass + elif (label in labels) != bool(items): errors.append(f"'{label}' label should be present if and only if '{kind}:' is present") for item in items: diff --git a/projects.yaml b/projects.yaml index a1dafd6..d8ceba8 100644 --- a/projects.yaml +++ b/projects.yaml @@ -110,6 +110,7 @@ projects: category: theming - name: Bootstrap 4 mkdocs_theme: bootstrap4 + mkdocs_plugin: [bootstrap4-blockquotes, bootstrap4-tables] shadowed: [mkdocs_theme] github_id: LukeCarrier/mkdocs-theme-bootstrap4 pypi_id: mkdocs-theme-bootstrap4 @@ -165,6 +166,7 @@ projects: category: theming - name: Zettelkasten mkdocs_theme: zettelkasten-solarized-light + mkdocs_plugin: [zettelkasten] github_id: buvis-net/mkdocs-zettelkasten pypi_id: mkdocs-zettelkasten labels: [theme] @@ -196,6 +198,7 @@ projects: category: theming - name: Terminal for MkDocs mkdocs_theme: terminal + mkdocs_plugin: [terminal/md-to-html] github_id: ntno/mkdocs-terminal pypi_id: mkdocs-terminal labels: [theme] @@ -208,6 +211,7 @@ projects: category: theming - name: Risonia mkdocs_theme: risonia + mkdocs_plugin: [risonia/color-theme, risonia/w3css-classes] github_id: unverbuggt/mkdocs-risonia-theme pypi_id: mkdocs-risonia-theme labels: [theme]