We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
xref
true
Hi,
I'm somewhat confused about the autocomplete behavior when cross-referencing pages in other component versions.
Content sources section in my antora-playbook-local.yml:
antora-playbook-local.yml
sources: - url: . branches: HEAD start_path: ./root_component - url: ../doc-writing-guide/ branches: HEAD
The decriptor, i.e. contents of antora.yml:
antora.yml
name: ROOT title: Documentation version: ~ nav: - modules/ROOT/nav.adoc
name: writing-guide title: Writing Guide version: true prerelease: "-draft" start_page: index.adoc nav: - modules/ROOT/nav.adoc
I'm editing the ROOT/pages/index.adoc file in my ROOT component, where I'm trying to cross-reference a page in my writing-guide component:
ROOT/pages/index.adoc
ROOT
writing-guide
As you can see from my typing, I don't want to refer to an explicit version here. Regardless, the autocomplete forces me to use that.
Is this expected behavior? Am I perhaps misunderstanding something?
Thanks for your help and this great plugin!
The text was updated successfully, but these errors were encountered:
Thank you for providing this example. I think you found two bugs:
version
I'll fix this in the next upcoming release. I'll let you know once a preview is available.
Sorry, something went wrong.
Autocomplete now suggests xref without a version number for the lates…
42ed001
…t component version (#1708) Autocomplete will never suggest the version `true` as it has a special meaning (#1708)
The issue you reported should now be fixed in pre-release 0.43.2 of the plugin. I hope it now works for you as you expect.
The pre-release of the plugin is available from GitHub releases and the IntelliJ AsciiDoc EAP repository.
Yes, it works fine now. Thanks for the fix!
ahus1
No branches or pull requests
Description
Hi,
I'm somewhat confused about the autocomplete behavior when cross-referencing pages in other component versions.
Files
Playbook
Content sources section in my
antora-playbook-local.yml
:Component versions
Root component version
The decriptor, i.e. contents of
antora.yml
:Writing Guide component version
The decriptor, i.e. contents of
antora.yml
:The problem
I'm editing the
ROOT/pages/index.adoc
file in myROOT
component, where I'm trying to cross-reference a page in mywriting-guide
component:As you can see from my typing, I don't want to refer to an explicit version here. Regardless, the autocomplete forces me to use that.
Is this expected behavior? Am I perhaps misunderstanding something?
Thanks for your help and this great plugin!
The text was updated successfully, but these errors were encountered: