schema.json does not allow for a custom theme (2.28) · Issue #772 · rendercv/rendercv · GitHub
Skip to content

schema.json does not allow for a custom theme (2.28) #772

Description

@teto

with rendercv 2.28 obtained from nixos, I tried to customize my theme generating a new theme:

design:
  theme: moderncvmatt

the rendering works but I have a live yaml linter enabled with # yaml-language-server: $schema=https://raw.githubusercontent.com/rendercv/rendercv/refs/tags/v2.8/schema.json at the top of the file.

The previous snippet generates the following diagnostic:
my_CV.yaml|197 col 10-22 error 1| Value must be "classic" | "ember" | "engineeringclassic" | "engineeringresumes" | "harvard" | "ink" | "moderncv" | "opal" | "sb2nov".

I can disable it with # yaml-language-server-disable
on the line before but even better would be a schema fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions