Skip to content

Generalise configuration-setting substitution across the guides - #993

Open
abrudz wants to merge 4 commits into
Dyalog:mainfrom
abrudz:988-substitution-parameters
Open

Generalise configuration-setting substitution across the guides#993
abrudz wants to merge 4 commits into
Dyalog:mainfrom
abrudz:988-substitution-parameters

Conversation

@abrudz

@abrudz abrudz commented Aug 10, 2026

Copy link
Copy Markdown
Member

Substitution parameters apply to all configuration settings, not only those defined in configuration files. In the Unix guide, move the References to other Configuration Parameters section up from the configuration files page to the general configuration parameters page. In the Windows guide, note the pre-defined [=DOCUMENTS] substitution.

Fixes #988.

Substitution parameters apply to all configuration settings, not only
those defined in configuration files. In the Unix guide, move the
References to other Configuration Parameters section up from the
configuration files page to the general configuration parameters page.
In the Windows guide, note the pre-defined [=DOCUMENTS] substitution.

Part of Dyalog#988.
@abrudz
abrudz requested a review from DyalogRichard August 10, 2026 15:11

## References to other Configuration Parameters

Configuration parameters that are string values can include references to other configuration parameters (irrespective of where they are defined) using square bracket delimiters. For example, `MySetting: "[DYALOG]/MyFile"` will replace `[DYALOG]` with the value of the **DYALOG** configuration parameter.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All configuration parameters are string values - strike "that are string values"

(When this text was describing only configuration files, this was alluding to the JSON format, which allows both numeric and string values - obviously, [XXX] cannot appear in a JSON numeric value, only in JSON strings. But both forms ultimately created config settings with string values.)


For more information on configuration files, see [Configuration Files](configuration-files.md). For more information on environment variables, see [Environment Variables](environment-variables.md).

## References to other Configuration Parameters

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pertinent to Windows too.

abrudz added 3 commits August 10, 2026 16:51
All configuration parameters are string values, so the qualifier is
redundant; strike it in both the Unix and Windows guides, per review.
Per review, the relocation of References to other Configuration
Parameters is pertinent to Windows too: move it from the configuration
files page up to the general configuration parameters page, matching the
Unix guide, since substitution applies to all configuration settings
regardless of how they are defined.
@abrudz
abrudz requested a review from DyalogRichard August 10, 2026 16:23
@DyalogRichard

Copy link
Copy Markdown
Contributor

I'm afraid it is getting very hard in GitHub to see what is what now. However, I have noticed one important error in the move of the description of [XXX] substitution from config files to configuration settings in general: the [.] substitution (which expands to the config file directory) is still relevant to config files only - it would be meaningless anywhere else. So that bit needs moving back.

Perhaps when this is done, a rendered copy of the changed documents could be supplied?

@xpqz

xpqz commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

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.

00436 Substitution parameters in config settings

3 participants