-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed b1da3e6 with MkDocs version: 1.6.1
- Loading branch information
0 parents
commit e350884
Showing
228 changed files
with
83,321 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = | ||
SPHINXBUILD = sphinx-build | ||
SPHINXPROJ = segger | ||
SOURCEDIR = source | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en" data-content_root="../"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>cli — Segger 0.1.0 documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=d1102ebc" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=12dfc556" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=fd3f3429" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" /> | ||
<script src="../_static/documentation_options.js?v=a1637f0b"></script> | ||
<script src="../_static/doctools.js?v=9a2dae69"></script> | ||
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script> | ||
<script src="../_static/clipboard.min.js?v=a7894cd8"></script> | ||
<script src="../_static/copybutton.js?v=4ea706d9"></script> | ||
<script src="../_static/scripts/sphinx-book-theme.js"></script> | ||
<script src="../_static/design-tabs.js?v=f930bc37"></script> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" /> | ||
|
||
|
||
|
||
|
||
|
||
</head><body> | ||
|
||
|
||
<div class="document"> | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
|
||
|
||
<div class="body" role="main"> | ||
|
||
<h1>Source code for cli</h1><div class="highlight"><pre> | ||
<span></span><span class="kn">from</span> <span class="nn">segger.cli.create_dataset</span> <span class="kn">import</span> <span class="n">create_dataset</span> | ||
<span class="kn">from</span> <span class="nn">segger.cli.train_model</span> <span class="kn">import</span> <span class="n">train</span> | ||
<span class="kn">from</span> <span class="nn">segger.cli.predict</span> <span class="kn">import</span> <span class="n">predict</span> | ||
<span class="kn">import</span> <span class="nn">click</span> | ||
|
||
<span class="c1"># Setup main CLI command</span> | ||
<span class="nd">@click</span><span class="o">.</span><span class="n">group</span><span class="p">(</span><span class="n">help</span><span class="o">=</span><span class="s2">"Command line interface for the Segger segmentation package"</span><span class="p">)</span> | ||
<div class="viewcode-block" id="segger"> | ||
<a class="viewcode-back" href="../api/cli/index.html#cli.segger">[docs]</a> | ||
<span class="k">def</span> <span class="nf">segger</span><span class="p">():</span> | ||
<span class="k">pass</span></div> | ||
|
||
|
||
<span class="c1"># Add sub-commands to main CLI commands</span> | ||
<span class="n">segger</span><span class="o">.</span><span class="n">add_command</span><span class="p">(</span><span class="n">create_dataset</span><span class="p">)</span> | ||
<span class="n">segger</span><span class="o">.</span><span class="n">add_command</span><span class="p">(</span><span class="n">train</span><span class="p">)</span> | ||
<span class="n">segger</span><span class="o">.</span><span class="n">add_command</span><span class="p">(</span><span class="n">predict</span><span class="p">)</span> | ||
</pre></div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="sphinxsidebar" role="navigation" aria-label="Main"> | ||
<div class="sphinxsidebarwrapper"> | ||
<h1 class="logo"><a href="../index.html">Segger</a></h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3> | ||
|
||
<div class="relations"> | ||
<h3>Related Topics</h3> | ||
<ul> | ||
<li><a href="../index.html">Documentation overview</a><ul> | ||
<li><a href="index.html">Module code</a><ul> | ||
</ul></li> | ||
</ul></li> | ||
</ul> | ||
</div> | ||
<search id="searchbox" style="display: none" role="search"> | ||
<h3 id="searchlabel">Quick search</h3> | ||
<div class="searchformwrapper"> | ||
<form class="search" action="../search.html" method="get"> | ||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> | ||
<input type="submit" value="Go" /> | ||
</form> | ||
</div> | ||
</search> | ||
<script>document.getElementById('searchbox').style.display = "block"</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
<div class="clearer"></div> | ||
</div> | ||
<div class="footer"> | ||
©. | ||
|
||
| | ||
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.0.2</a> | ||
& <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.