Skip to content

Commit

Permalink
docs: update conf references
Browse files Browse the repository at this point in the history
  • Loading branch information
rezib committed Dec 2, 2024
1 parent b227154 commit d42d3f6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(#415#417).
- conf: Update description of `agent` > `racksdb_version` to describe its new
semantic.
- docs: Update configuration reference documentation.

## [4.0.0] - 2024-11-28

Expand Down
7 changes: 6 additions & 1 deletion docs/modules/conf/examples/gateway.ini
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ url=
# Default value: 4.0.0
version=4.0.0

# Version of RacksDB API
# Minimal supported version of RacksDB API
#
# CAUTION: You SHOULD NOT change this parameter unless you really know what
# you are doing. This parameter is more intented for Slurm-web developers
# rather than end users. Slurm-web is officially tested and validated with
# the default value only.
#
# Default value: 0.4.0
racksdb_version=0.4.0
Expand Down
8 changes: 7 additions & 1 deletion docs/modules/conf/partials/conf-gateway.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,13 @@ _No default value_
|racksdb_version
|str
|Version of RacksDB API
|Minimal supported version of RacksDB API
CAUTION: You SHOULD NOT change this parameter unless you really know what
you are doing. This parameter is more intented for Slurm-web developers
rather than end users. Slurm-web is officially tested and validated with
the default value only.
Expand Down
2 changes: 0 additions & 2 deletions docs/utils/conf-ex.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
{%- endif %}
{%- if parameter._type == "bool" %}
{%- set value = "yes" if value == True else "no" %}
{%- elif parameter._type == "uri" %}
{%- set value = value.geturl() %}
{%- endif %}
{%- if value.__class__.__name__ == 'list' %}
{%- set value = "\n " + value | join('\n ') %}
Expand Down

0 comments on commit d42d3f6

Please sign in to comment.