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

resolves #3918: Improve docinfo docs about location [skip ci] #3919

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/modules/ROOT/pages/docinfo.adoc
Expand Up @@ -189,15 +189,17 @@ If other AsciiDoc files are added to the same folder, and `docinfo` is set to `s
[#resolving]
== Locating docinfo files

By default, docinfo files are searched for in the same folder as the document file.
By default, docinfo files are searched for in `base_dir` which for standalone conversion of files is the same folder as the document file.
If you want to keep them anywhere else, set the `docinfodir` attribute to their location:

[source,asciidoc]
----
:docinfodir: common/meta
----

Note that if you use this attribute, only the specified folder will be searched; docinfo files in the document folder will no longer be found.
The value of `docinfodir` is resolved relative to `base_dir`.

Note that if you use this attribute, only the specified folder will be searched; docinfo files in the default location will no longer be found.

[#attribute-substitution]
== Attribute substitution in docinfo files
Expand Down