mint dev or mint validate with a relative path such as /contact in the logo.href, navbar.links[].href, or navbar.primary.href fields of docs.json, an outdated CLI reports errors like these:
/ in these fields. Relative paths keep links working across preview deployments, custom domains, and local previews without hardcoding your production domain.
Update the CLI
Update to the latest CLI version:mint update isn’t available on your version, reinstall the CLI. See Install the CLI for the reinstall commands.
Then check your version and run validation again:
Example configuration
docs.json
/. A value like contact without a leading slash still fails validation. The github and discord button types still require a GitHub repository URL or Discord invite URL.
For the full field reference, see logo and navbar.