Back to Salt

{{ title

doc/_themes/saltstack2/layout.html

2019.85.9 KB
Original Source

{%- block doctype -%} {%- endblock %} {%- set link_text = [] %} {%- for link_tuple in rellinks %} {%- 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 %}{% set _ = rellinks.append(rellink_add) %}{% endif %} {%- endfor %} {%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %} {%- set url_root = pathto('', 1) %} {# XXX necessary? #} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} {%- set titlesuffix = " — "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {% set script_files = ['_static/js/core.min.js', '_static/js/webhelp.min_v1.4.4.js',] %} {% set css_files = ['_static/css/core.min.css', '_static/css/webhelp.min_v1.4.5.css',] %} {%- macro relbar() %} {%- for rellink in rellinks|reverse %}

  • {{ rellink[3] }} {# {%- if not loop.last %}{{ reldelim2 }}{% endif %} #} {%- endfor %} {%- block relbaritems %} {% endblock %} {%- endmacro %} {%- macro script() %} {%- for scriptfile in script_files %} {%- endfor %} {%- endmacro %} {%- macro css() %} {%- for cssfile in css_files %} {%- endfor %} {%- endmacro %} {{ metatags }} {%- block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} {%- endblock %} {{ css() }} {%- if favicon %} {%- endif %} {%- block linktags %} {%- if hasdoc('about') %} {%- endif %} {%- if hasdoc('genindex') %} {%- endif %} {%- if hasdoc('search') %} {%- endif %} {%- if hasdoc('copyright') %} {%- endif %} {%- if parents %} {%- endif %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} {%- endblock %} {%- block content %}

{% if "topics/releases" in pagename and "0" in pagename and not release in pagename and not "In Progress" in title %} These release notes are for an old release of Salt. This release might contain known security and other issues that are fixed in the latest release. {% elif build_type == repo_primary_branch and on_saltstack %} You are viewing docs from the {{ repo_primary_branch }} branch, some of these features are not yet released. {% elif build_type == "inactive" and on_saltstack %} You are viewing docs from a branch that is no longer active. You might want to view docs for the {{ latest_release }} release instead. {% endif %} {% if build_type == "next" and on_saltstack %} You are previewing docs for the next major release, {{ next_release }}. {% endif %} {%- block document %} {% block body %} {% endblock %} {%- endblock %} {%- if prev %} Previous {%- endif %} {%- if next %} Next {%- endif %}

{%- block footer %}


{% if on_saltstack %}

{{ today }}

{% if build_type == "latest" %}

You are viewing docs for the latest stable release, {{ latest_release }}. Switch to docs for the previous stable release, {{ previous_release }}, or to a recent doc build from the {{ repo_primary_branch }} branch.

{% elif build_type == "previous" %}

You are viewing docs for the previous stable release, {{ previous_release }}. Switch to docs for the latest stable release, {{ latest_release }}, or to a recent doc build from the {{ repo_primary_branch }} branch.

{% elif build_type == "inactive" %}

You are viewing docs for an inactive release, {{ previous_release }}. Switch to docs for the latest stable release, {{ latest_release }}, or to a recent doc build from the {{ repo_primary_branch }} branch.

{% elif build_type == repo_primary_branch %}

You are viewing docs built from a recent snapshot of the {{ repo_primary_branch }} branch. Switch to docs for the latest stable release, {{ latest_release }}.

{% elif build_type == "next" %}

You are viewing preview docs for the next major release, {{ next_release }}. Switch to docs for the latest stable release, {{ latest_release }}.

{% endif %}

saltproject.io

© {{ copyright }} VMware, Inc. | Privacy Policy

{% endif %}

{%- endblock %}

{% if build_type=="next" %}

{{ next_release }} (Not Released)

{% else %} {{ previous_release }}{% if build_type == "previous" or build_type == "inactive" %} {% endif %}{{ latest_release }}{% if build_type == "latest" %} {% endif %}{{ repo_primary_branch | capitalize }}{% if build_type == repo_primary_branch %} {% endif %} {% endif %} {% else %}

Version {{ version }}

{% endif %}

{% block menu %} {% set toctree = toctree(maxdepth=8, collapse=True, includehidden=True) %} {% if toctree %} {{ toctree }} {% else %} {{ toc }} {% endif %} {% endblock %}

{%- endblock %} {%- if not embedded %} {{ script() }} {%- if use_opensearch %} {%- endif %} {%- endif %} {% if on_saltstack %} {% endif %}