Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antora preview doesn't work if version is not specified in antora.yml #882

Closed
alaindresse opened this issue May 27, 2024 · 0 comments · Fixed by #883
Closed

Antora preview doesn't work if version is not specified in antora.yml #882

alaindresse opened this issue May 27, 2024 · 0 comments · Fixed by #883
Labels

Comments

@alaindresse
Copy link
Contributor

Antora allows using a refname projection as version from the antora playbook (see here on the antora docs).

Earlier in that page, the docs specify that

If you want the playbook to be able to control the value of the version key, don’t set the version key in the component version descriptor (antora.yml file). [bold added for this quote]

Issue:
If the version is excluded from the antoray.yml file, than the preview in vscode no longer works.

This is similar to the issue reported in #829, reporting that image preview did not work when version:true was configured. That issue was fixed in #871.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant