Skip to content

Commit

Permalink
build based on b1114d0
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jul 25, 2024
1 parent 0414cda commit 920b0b5
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-07-25T08:44:26","documenter_version":"1.5.0"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-07-25T13:11:33","documenter_version":"1.5.0"}}
2 changes: 1 addition & 1 deletion dev/10-full-guide/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/20-explanation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/90-contributing/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/91-developer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
- Alice
{% if AddBob %}- Bob{% endif}
- Carlos
- Diana</code></pre><h3 id="Dependent-files-and-directories"><a class="docs-heading-anchor" href="#Dependent-files-and-directories">Dependent files and directories</a><a id="Dependent-files-and-directories-1"></a><a class="docs-heading-anchor-permalink" href="#Dependent-files-and-directories" title="Permalink"></a></h3><p>To make a file depend on a variable, you can change the name of the file to include the conditional and the <code>.jinja</code> extension.</p><pre><code class="language-jinja hljs">{% if AddSomeFile %}some-file.txt{% endif %}.jinja</code></pre><p>If <code>AddSomeFile</code>, then <code>some-file.txt</code> will exist.</p><p>For directories, you do the same, except that you don&#39;t add the <code>.jinja</code> extension.</p><pre><code class="language-jinja hljs">{% if AddGitHubTemplates %}ISSUE_TEMPLATE{% endif %}</code></pre><h3 id="Using-answers"><a class="docs-heading-anchor" href="#Using-answers">Using answers</a><a id="Using-answers-1"></a><a class="docs-heading-anchor-permalink" href="#Using-answers" title="Permalink"></a></h3><p>To use the answers of a question outside of a conditional, you can use <code>{{ SomeValue }}</code>. This will translate to the value of <code>SomeValue</code> as answered by the user. For instance</p><pre><code class="language-jinja hljs">whoami() = &quot;Hi, I&#39;m package {{ PackageName }}.jl&quot;</code></pre><p>This also works on file names and in the <code>copier.yml</code> file.</p><h3 id="Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files"><a class="docs-heading-anchor" href="#Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files">Raw tag and avoiding clashes in GitHub workflow files</a><a id="Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files-1"></a><a class="docs-heading-anchor-permalink" href="#Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files" title="Permalink"></a></h3><p>Since the GitHub workflow also uses <code>{</code> and <code>}</code> for their commands, we want to enclose them using the <code>{% raw %}...{% endraw %}</code> tag:</p><pre><code class="language-jinja hljs">os: {% raw %}%{{ matrix.os }}{% endraw %}</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../90-contributing/">« Contributing guidelines</a><a class="docs-footer-nextpage" href="../95-reference/">Reference »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 25 July 2024 08:44">Thursday 25 July 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
- Diana</code></pre><h3 id="Dependent-files-and-directories"><a class="docs-heading-anchor" href="#Dependent-files-and-directories">Dependent files and directories</a><a id="Dependent-files-and-directories-1"></a><a class="docs-heading-anchor-permalink" href="#Dependent-files-and-directories" title="Permalink"></a></h3><p>To make a file depend on a variable, you can change the name of the file to include the conditional and the <code>.jinja</code> extension.</p><pre><code class="language-jinja hljs">{% if AddSomeFile %}some-file.txt{% endif %}.jinja</code></pre><p>If <code>AddSomeFile</code>, then <code>some-file.txt</code> will exist.</p><p>For directories, you do the same, except that you don&#39;t add the <code>.jinja</code> extension.</p><pre><code class="language-jinja hljs">{% if AddGitHubTemplates %}ISSUE_TEMPLATE{% endif %}</code></pre><h3 id="Using-answers"><a class="docs-heading-anchor" href="#Using-answers">Using answers</a><a id="Using-answers-1"></a><a class="docs-heading-anchor-permalink" href="#Using-answers" title="Permalink"></a></h3><p>To use the answers of a question outside of a conditional, you can use <code>{{ SomeValue }}</code>. This will translate to the value of <code>SomeValue</code> as answered by the user. For instance</p><pre><code class="language-jinja hljs">whoami() = &quot;Hi, I&#39;m package {{ PackageName }}.jl&quot;</code></pre><p>This also works on file names and in the <code>copier.yml</code> file.</p><h3 id="Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files"><a class="docs-heading-anchor" href="#Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files">Raw tag and avoiding clashes in GitHub workflow files</a><a id="Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files-1"></a><a class="docs-heading-anchor-permalink" href="#Raw-tag-and-avoiding-clashes-in-GitHub-workflow-files" title="Permalink"></a></h3><p>Since the GitHub workflow also uses <code>{</code> and <code>}</code> for their commands, we want to enclose them using the <code>{% raw %}...{% endraw %}</code> tag:</p><pre><code class="language-jinja hljs">os: {% raw %}%{{ matrix.os }}{% endraw %}</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../90-contributing/">« Contributing guidelines</a><a class="docs-footer-nextpage" href="../95-reference/">Reference »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 25 July 2024 13:11">Thursday 25 July 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 920b0b5

Please sign in to comment.