diff options
author | snermolaev <snermolaev@yandex-team.com> | 2023-10-21 04:38:25 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2023-10-21 06:03:09 +0300 |
commit | 0bda539b8bc3912c619b47d3f08b3478858c84d9 (patch) | |
tree | eea503935b558a213ca2ab9267bcc30a18394dad | |
parent | c54401c23da1403dff8184f139a342ad669df08d (diff) | |
download | ydb-0bda539b8bc3912c619b47d3f08b3478858c84d9.tar.gz |
stable order of variables for MKDOCS
-rw-r--r-- | build/plugins/docs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/plugins/docs.py b/build/plugins/docs.py index 62da53f679..f68b7231ea 100644 --- a/build/plugins/docs.py +++ b/build/plugins/docs.py @@ -1,4 +1,5 @@ import json +import six def extract_macro_calls(unit, macro_value_name): @@ -50,4 +51,4 @@ def onprocess_docs(unit, *args): def onprocess_mkdocs(unit, *args): variables = get_variables(unit) if variables: - unit.set(['_DOCS_VARS_FLAG', ' '.join(['--var {}={}'.format(k, v) for k, v in variables.items()])]) + unit.set(['_DOCS_VARS_FLAG', ' '.join(['--var {}={}'.format(k, v) for k, v in sorted(six.iteritems(variables))])]) |