Skip to content

Commit

Permalink
No signature for magics; Update pyproject toml
Browse files Browse the repository at this point in the history
- Update library.md algoesup.magics options to not show signature
- Change mkdocs-jupyter version in pyproject.toml (`poetry run mkdocs
  serve` was failing with previous version on my system)
  • Loading branch information
densnow committed Feb 28, 2024
1 parent 1952e04 commit 83628d4
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 47 deletions.
2 changes: 1 addition & 1 deletion Deepnote/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM python:3.10

RUN pip install matplotlib==3.8.0 pytype==2023.12.8 ruff==0.1.8 allowed==1.3
RUN pip install matplotlib==3.8.0 pytype==2023.12.8 ruff==0.1.8 allowed algoesup
14 changes: 7 additions & 7 deletions docs/library/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1569,14 +1569,14 @@ <h3 id="algoesup.magics.allowed" class="doc doc-heading">


</h3>
<div class="doc-signature highlight"><pre><span></span><code><span class="n">allowed</span><span class="p">(</span><span class="n">line</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span>
<div class="doc-signature highlight"><pre><span></span><code><span class="n">allowed</span>
</code></pre></div>

<div class="doc doc-contents ">

<p>Activate/deactivate the <code>pytype</code> linter.</p>
<p>This magic command controls the activation state of the <code>allowed</code> linter within
the ipython environment. It can be toggled on or off, or queried for its
<p>Activate/deactivate the <code>allowed</code> linter.</p>
<p>This ipython magic command controls the activation state of the <code>allowed</code> linter
within the ipython environment. It can be toggled on or off, or queried for its
current state.</p>


Expand Down Expand Up @@ -1604,7 +1604,7 @@ <h3 id="algoesup.magics.pytype" class="doc doc-heading">


</h3>
<div class="doc-signature highlight"><pre><span></span><code><span class="n">pytype</span><span class="p">(</span><span class="n">line</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span>
<div class="doc-signature highlight"><pre><span></span><code><span class="n">pytype</span>
</code></pre></div>

<div class="doc doc-contents ">
Expand Down Expand Up @@ -1639,14 +1639,14 @@ <h3 id="algoesup.magics.ruff" class="doc doc-heading">


</h3>
<div class="doc-signature highlight"><pre><span></span><code><span class="n">ruff</span><span class="p">(</span><span class="n">line</span><span class="p">:</span> <span class="nb">str</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span>
<div class="doc-signature highlight"><pre><span></span><code><span class="n">ruff</span>
</code></pre></div>

<div class="doc doc-contents ">

<p>Activate/deactivate the <code>ruff</code> linter.</p>
<p>This ipython magic command controls the activation state of the <code>ruff</code> linter within
the interactive environment. It can be toggled on or off, or queried for its
the ipython environment. It can be toggled on or off, or queried for its
current state.</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,82 +2,82 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://dsa-ou.github.io/algoesup/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/deepnote-background/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/deepnote-how-to/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/deepnote-reference/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/deepnote/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/example-essays/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/feedback/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/getting-started/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/library/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/writing/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/essays/example-1-to-n/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/essays/example-jewels/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/essays/example-two-sum-2/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/essays/example-two-sum-3/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/essays/template-data-structures/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://dsa-ou.github.io/algoesup/essays/template-intro-programming/</loc>
<lastmod>2024-02-27</lastmod>
<lastmod>2024-02-28</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.
55 changes: 34 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pytype = {version = ">=2023.04.27", markers = "platform_system != 'Windows'"}
mkdocs = "^1.5.3"
mkdocs-material = "^9.5.11"
mkdocstrings = { version = "^0.24.0", extras = ["python"] }
mkdocs-jupyter = "^0.24.6"
mkdocs-jupyter = "^0.24.0"
mkdocs-open-in-new-tab = "^1.0.3"

[build-system]
Expand Down
1 change: 1 addition & 0 deletions src/docs/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The `algoesup` library provides support for testing, timing and linting code.
options:
heading_level: 3
show_root_toc_entry: false
show_signature: false
members:
- allowed
- pytype
Expand Down

0 comments on commit 83628d4

Please sign in to comment.