mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
replace do
with set _ =
This commit is contained in:
parent
2d214c8e48
commit
2b8f7d3669
2 changed files with 2 additions and 3 deletions
4
doc/_themes/saltstack2/layout.html
vendored
4
doc/_themes/saltstack2/layout.html
vendored
|
@ -4,13 +4,13 @@
|
|||
|
||||
{%- set link_text = [] %}
|
||||
{%- for link_tuple in rellinks %}
|
||||
{%- do link_text.append(link_tuple[3]) %}
|
||||
{%- set _ = link_text.append(link_tuple[3]) %}
|
||||
{%- endfor %}
|
||||
{%- for rellink_add in [
|
||||
('glossary', 'Glossary', 'g', 'Glossary'),
|
||||
('contents', 'Table of Contents', 't', 'Table of Contents'),
|
||||
] %}
|
||||
{%- if rellink_add[3] not in link_text %}{% do = rellinks.append(rellink_add) %}{% endif %}
|
||||
{%- if rellink_add[3] not in link_text %}{% set _ = rellinks.append(rellink_add) %}{% endif %}
|
||||
{%- endfor %}
|
||||
|
||||
{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
|
||||
|
|
|
@ -153,7 +153,6 @@ extensions = [
|
|||
"saltrepo",
|
||||
"myst_parser",
|
||||
"sphinxcontrib.spelling",
|
||||
"jinja2.ext.do",
|
||||
#'saltautodoc', # Must be AFTER autodoc
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue