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

quick includes from local folders (resolves #904) #905

Closed
wants to merge 1 commit into from

Conversation

alaindresse
Copy link
Contributor

@alaindresse alaindresse commented Sep 24, 2024

This PR (resolves #904 ) allows for antora includes resource ID like include::module:family$filename[] to be resolved directly without relying on an antora configuration.

This is enabled only if the setting antora.enableAntoraSupport is false (to avoid conflicts with proper management of resource IDs) and if antora.enableLocalIncludes is true (which I set at true by default in this PR).

Changes are:

  • Create an IncludeProcessor to handle the targetted resourceIds,
  • Register that includeProcessor
  • Add the new antora.enableLocalIncludes setting
  • Document the new antora.enableLocalIncludes setting (thank you Copilot for translation in languages I don't know)

@alaindresse
Copy link
Contributor Author

Rejected because this is essentially a workaround and should be replaced by a proper solution.

@alaindresse alaindresse deleted the local-includes branch October 14, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quick support for includes from local Antora hierarchy
1 participant