mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 04:18:42 +00:00
deploy: c17fef37b3
This commit is contained in:
parent
7a57fe21da
commit
cb8a58ae42
@ -1,6 +1,6 @@
|
|||||||
const themeFlyoutDisplay = "hidden";
|
const themeFlyoutDisplay = "hidden";
|
||||||
const themeVersionSelector = "True";
|
const themeVersionSelector = true;
|
||||||
const themeLanguageSelector = "True";
|
const themeLanguageSelector = true;
|
||||||
|
|
||||||
if (themeFlyoutDisplay === "attached") {
|
if (themeFlyoutDisplay === "attached") {
|
||||||
function renderLanguages(config) {
|
function renderLanguages(config) {
|
||||||
@ -8,10 +8,14 @@ if (themeFlyoutDisplay === "attached") {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Insert the current language to the options on the selector
|
||||||
|
let languages = config.projects.translations.concat(config.projects.current);
|
||||||
|
languages = languages.sort((a, b) => a.language.name.localeCompare(b.language.name));
|
||||||
|
|
||||||
const languagesHTML = `
|
const languagesHTML = `
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Languages</dt>
|
<dt>Languages</dt>
|
||||||
${config.projects.translations
|
${languages
|
||||||
.map(
|
.map(
|
||||||
(translation) => `
|
(translation) => `
|
||||||
<dd ${translation.slug == config.projects.current.slug ? 'class="rtd-current-item"' : ""}>
|
<dd ${translation.slug == config.projects.current.slug ? 'class="rtd-current-item"' : ""}>
|
||||||
|
|||||||
@ -304,7 +304,8 @@ see <a class="reference internal" href="#ansible-collections-community-docker-do
|
|||||||
<div class="ansibleOptionAnchor" id="parameter-detach"></div><p class="ansible-option-title" id="ansible-collections-community-docker-docker-stack-module-parameter-detach"><strong>detach</strong></p>
|
<div class="ansibleOptionAnchor" id="parameter-detach"></div><p class="ansible-option-title" id="ansible-collections-community-docker-docker-stack-module-parameter-detach"><strong>detach</strong></p>
|
||||||
<a class="ansibleOptionLink" href="#parameter-detach" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
|
<a class="ansibleOptionLink" href="#parameter-detach" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
|
||||||
</div></td>
|
</div></td>
|
||||||
<td><div class="ansible-option-cell"><p>If false will add the <code class="docutils literal notranslate"><span class="pre">--detach=false</span></code> option to the <code class="docutils literal notranslate"><span class="pre">docker</span> <span class="pre">stack</span> <span class="pre">deploy</span></code> command. This will have docker exit immediately instead of waiting for the stack services to converge.</p>
|
<td><div class="ansible-option-cell"><p>If <code class="ansible-value docutils literal notranslate"><span class="pre">false</span></code>, the <code class="docutils literal notranslate"><span class="pre">--detach=false</span></code> option is added to the <code class="docutils literal notranslate"><span class="pre">docker</span> <span class="pre">stack</span> <span class="pre">deploy</span></code> command, allowing docker to wait for tasks to converge before exiting.</p>
|
||||||
|
<p>If <code class="ansible-value docutils literal notranslate"><span class="pre">true</span></code> (default), docker exits immediately instead of waiting for tasks to converge.</p>
|
||||||
<p class="ansible-option-line"><strong class="ansible-option-choices">Choices:</strong></p>
|
<p class="ansible-option-line"><strong class="ansible-option-choices">Choices:</strong></p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">false</span></code></p></li>
|
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">false</span></code></p></li>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user