Skip to content

Commit 4237a8f

Browse files
authored
Merge pull request #3558 from vkarak/doc/default-config
[doc] Document the builtin configuration
2 parents d00d143 + 538c48b commit 4237a8f

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/config_reference.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,3 +2425,18 @@ These are two examples of YAML logging configuration that uses one of those bind
24252425
level: debug2
24262426
format: "[%(asctime)s.%(msecs)03d] %(levelname)s: %(check_info)s: %(message)s"
24272427
append: false
2428+
2429+
2430+
.. _builtin-configuration:
2431+
2432+
Builtin configuration
2433+
=====================
2434+
2435+
This is the builtin configuration that ReFrame always loads.
2436+
2437+
.. literalinclude:: ../reframe/core/settings.py
2438+
:lines: 6-
2439+
2440+
.. seealso::
2441+
2442+
See also how configuration files are :ref:`loaded <manpage-configuration>` and how you can specify them with the :option:`--config-file` option.

docs/manpage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ Miscellaneous options
11151115
Use ``FILE`` as configuration file for ReFrame.
11161116

11171117
This option can be passed multiple times, in which case multiple configuration files will be read and loaded successively.
1118-
The base of the configuration chain is always the builtin configuration file, namely the ``${RFM_INSTALL_PREFIX}/reframe/core/settings.py``.
1118+
The base of the configuration chain is always the :ref:`builtin configuration file <builtin-configuration>`, namely the ``${RFM_INSTALL_PREFIX}/reframe/core/settings.py``.
11191119
At any point, the user can "break" the chain of configuration files by prefixing the configuration file name with a colon as in the following example: ``-C :/path/to/new_config.py``.
11201120
This will ignore any previously loaded configuration file and will only load the one specified.
11211121
Note, however, that the builtin configuration file cannot be overriden;

0 commit comments

Comments
 (0)