Skip to content

Commit

Permalink
Deployed 14a6c4a with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored Aug 29, 2024
1 parent 1868264 commit e1ca513
Show file tree
Hide file tree
Showing 13 changed files with 715 additions and 125 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down
2 changes: 1 addition & 1 deletion assets/tables/markdown_table/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down
6 changes: 3 additions & 3 deletions howto/alternatives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down Expand Up @@ -716,7 +716,7 @@ <h2 id="write-tables-to-markdown-files">Write tables to markdown files</h2>
<li>if you move the page you have to update the path (if you used a relative path for the snippet)</li>
</ul>
<h2 id="execute-python-during-build">Execute python during build</h2>
<p>You could also choose to insert the markdown for tables dynamically, using packages like <a href="">markdown-exec</a> or <a href="https://mkdocs-macros-plugin.readthedocs.io/">mkdocs-macros-plugin</a>.</p>
<p>You could also choose to insert the markdown for tables dynamically, using packages like <a href="https://pypi.org/project/markdown-exec/">markdown-exec</a>.</p>
<p>For example:</p>
<div class="highlight"><pre><span></span><code>```python exec=&quot;true&quot;
import pandas as pd
Expand Down Expand Up @@ -745,7 +745,7 @@ <h2 id="execute-python-during-build">Execute python during build</h2>
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-10-11T14:06:20+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-10-11</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-08-27T18:25:17+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-08-27</span>
</span>


Expand Down
24 changes: 15 additions & 9 deletions howto/customize_tables/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down Expand Up @@ -738,7 +738,8 @@ <h2 id="aligning-columns">Aligning columns</h2>
<div class="tabbed-set tabbed-alternate" data-tabs="1:3"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><input id="__tabbed_1_3" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1"><img alt="" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/2b05.svg" title=":arrow_left:" /> left</label><label for="__tabbed_1_2"><img alt="" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/2194.svg" title=":left_right_arrow:" /> center</label><label for="__tabbed_1_3"><img alt="" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/27a1.svg" title=":arrow_right:" /> right</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<p><code>{{ read_csv('tables/basic_table.csv', colalign=("left",)) }}</code></p>
<div class="highlight"><pre><span></span><code>{{ read_csv(&#39;tables/basic_table.csv&#39;, colalign=(&quot;left&quot;,)) }}
</code></pre></div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -767,7 +768,8 @@ <h2 id="aligning-columns">Aligning columns</h2>
</table>
</div>
<div class="tabbed-block">
<p><code>{{ read_csv('tables/basic_table.csv', colalign=("center",)) }}</code></p>
<div class="highlight"><pre><span></span><code>{{ read_csv(&#39;tables/basic_table.csv&#39;, colalign=(&quot;center&quot;,)) }}
</code></pre></div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -796,7 +798,8 @@ <h2 id="aligning-columns">Aligning columns</h2>
</table>
</div>
<div class="tabbed-block">
<p><code>{{ read_csv('tables/basic_table.csv', colalign=("right",)) }}</code></p>
<div class="highlight"><pre><span></span><code>{{ read_csv(&#39;tables/basic_table.csv&#39;, colalign=(&quot;right&quot;,)) }}
</code></pre></div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -830,10 +833,11 @@ <h2 id="sortable-tables">Sortable tables</h2>
<p>If you use <a href="https://squidfunk.github.io/mkdocs-material">mkdocs-material</a>, you can configure <a href="https://squidfunk.github.io/mkdocs-material/reference/data-tables/?h=tables#sortable-tables">sortable tables</a>.</p>
<h2 id="number-formatting">Number formatting</h2>
<p>You can use <a href="https://pypi.org/project/tabulate/">tabulate</a>'s <a href="https://github.com/astanin/python-tabulate#number-formatting">number formatting</a>. Example:</p>
<div class="tabbed-set tabbed-alternate" data-tabs="2:3"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><input id="__tabbed_2_3" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1"><img alt="0⃣" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/30-20e3.svg" title=":zero:" /></label><label for="__tabbed_2_2"><img alt="1⃣" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/31-20e3.svg" title=":one:" /></label><label for="__tabbed_2_3"><img alt="2⃣" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/32-20e3.svg" title=":two:" /></label></div>
<div class="tabbed-set tabbed-alternate" data-tabs="2:3"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><input id="__tabbed_2_3" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">zero points</label><label for="__tabbed_2_2">one points</label><label for="__tabbed_2_3">two points</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<p><code>{{ read_fwf('tables/fixedwidth_table.txt', floatfmt=".0f") }}</code></p>
<div class="highlight"><pre><span></span><code>{{ read_fwf(&#39;tables/fixedwidth_table.txt&#39;, floatfmt=&quot;.0f&quot;) }}
</code></pre></div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -862,7 +866,8 @@ <h2 id="number-formatting">Number formatting</h2>
</table>
</div>
<div class="tabbed-block">
<p><code>{{ read_fwf('tables/fixedwidth_table.txt', floatfmt=".1f") }}</code></p>
<div class="highlight"><pre><span></span><code>{{ read_fwf(&#39;tables/fixedwidth_table.txt&#39;, floatfmt=&quot;.1f&quot;) }}
</code></pre></div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -891,7 +896,8 @@ <h2 id="number-formatting">Number formatting</h2>
</table>
</div>
<div class="tabbed-block">
<p><code>{{ read_fwf('tables/fixedwidth_table.txt', floatfmt=".2f") }}</code></p>
<div class="highlight"><pre><span></span><code>{{ read_fwf(&#39;tables/fixedwidth_table.txt&#39;, floatfmt=&quot;.2f&quot;) }}
</code></pre></div>
<table>
<thead>
<tr>
Expand Down Expand Up @@ -941,7 +947,7 @@ <h2 id="number-formatting">Number formatting</h2>
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-01-30T13:27:38+01:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-01-30</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-08-27T18:25:17+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-08-27</span>
</span>


Expand Down
2 changes: 1 addition & 1 deletion howto/docker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down
4 changes: 2 additions & 2 deletions howto/preprocess_tables/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down Expand Up @@ -798,7 +798,7 @@ <h2 id="download-a-table-from-an-api">Download a table from an API</h2>
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-08-26T16:20:18+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-08-26</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-08-27T18:25:17+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-08-27</span>
</span>


Expand Down
6 changes: 3 additions & 3 deletions howto/project_structure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@


<span class="md-ellipsis">
Use jinja2 for automation
Macros plugin compatibility
</span>


Expand Down Expand Up @@ -705,7 +705,7 @@ <h2 id="one-table-per-markdown-file">One table per markdown file</h2>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code>Here is the table:

\{\{ read_csv(&quot;another_table.csv&quot;) \}\}
{{ read_csv(&quot;another_table.csv&quot;) }}
</code></pre></div>
</div>
</div>
Expand Down Expand Up @@ -757,7 +757,7 @@ <h2 id="re-using-tables-across-markdown-files">Re-using tables across markdown f
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-08-15T13:28:12+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-08-15</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2024-08-27T18:25:17+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2024-08-27</span>
</span>


Expand Down
Loading

0 comments on commit e1ca513

Please sign in to comment.