I'd like to add a reference to an asciidoc file located in the root directory. Have tried the following syntax:
Please refer to xref:/TESTING.asciidoc#_testing_the_rest_layer[this section].
where TESTING.asciidoc is a file located in the root directory.
However, it's not working in both IntelliJ and on GitHub. You can view it on GitHub here: https://github.com/chen-ni/elasticsearch/blob/issue-88406-tmp/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/README.asciidoc#test-execution
I read the Document to Document Cross References, but couldn't find a solution.
Can anyone please help, thanks!
I'd like to add a reference to an asciidoc file located in the root directory. Have tried the following syntax:
where
TESTING.asciidocis a file located in the root directory.However, it's not working in both IntelliJ and on GitHub. You can view it on GitHub here: https://github.com/chen-ni/elasticsearch/blob/issue-88406-tmp/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/README.asciidoc#test-execution
I read the Document to Document Cross References, but couldn't find a solution.
Can anyone please help, thanks!