Skip to content

Commit

Permalink
add en/main to URL, build with sphinx-multiversion #15
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed May 10, 2021
1 parent f8a30be commit adb2165
Show file tree
Hide file tree
Showing 106 changed files with 542 additions and 326 deletions.
4 changes: 4 additions & 0 deletions en/main/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8a24a36c88b9ccb125ffc2822f23b463
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added en/main/.doctrees/contrib/index.doctree
Binary file not shown.
Binary file added en/main/.doctrees/contrib/pull-requests.doctree
Binary file not shown.
Binary file added en/main/.doctrees/contrib/python.doctree
Binary file not shown.
Binary file added en/main/.doctrees/environment.pickle
Binary file not shown.
Binary file added en/main/.doctrees/index.doctree
Binary file not shown.
Binary file added en/main/.doctrees/quickstart/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added en/main/.doctrees/smartnoise/index.doctree
Binary file not shown.
Binary file added en/main/.doctrees/smartnoise/quickstart.doctree
Binary file not shown.
Binary file added en/main/.doctrees/user/index.doctree
Binary file not shown.
Binary file added en/main/.doctrees/user/intro.doctree
Binary file not shown.
File renamed without changes
6 changes: 6 additions & 0 deletions _modules/index.html → en/main/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="index.html">main</a></li>
</ul>


</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="api.html">main</a></li>
</ul>


</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="base.html">main</a></li>
</ul>


</div>


Expand Down Expand Up @@ -1063,7 +1069,7 @@ <h1>Source code for opendp.smartnoise.core.base</h1><div class="highlight"><pre>

<span class="n">graph</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_make_networkx</span><span class="p">()</span>
<span class="n">nx</span><span class="o">.</span><span class="n">draw</span><span class="p">(</span><span class="n">graph</span><span class="p">,</span> <span class="n">with_labels</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">node_color</span><span class="o">=</span><span class="s1">&#39;white&#39;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">pause</span><span class="p">(</span><span class="o">.</span><span class="mi">001</span><span class="p">)</span></div></div>
<span class="n">plt</span><span class="o">.</span><span class="n">pause</span><span class="p">(</span><span class="mf">.001</span><span class="p">)</span></div></div>


<span class="c1"># sugary syntax for managing analysis contexts</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="components.html">main</a></li>
</ul>


</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="value.html">main</a></li>
</ul>


</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="sql.html">main</a></li>
</ul>


</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@

</div>
</nav>
<h6>Branches</h6>
<ul>
<li><a href="parse.html">main</a></li>
</ul>


</div>


Expand Down Expand Up @@ -469,38 +475,26 @@ <h1>Source code for opendp.smartnoise.sql.parse</h1><div class="highlight"><pre>
<span class="k">class</span> <span class="nc">CaseExpressionVisitor</span><span class="p">(</span><span class="n">SqlSmallVisitor</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">visitCaseBaseExpr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">ctx</span><span class="p">):</span>
<span class="n">wxp</span> <span class="o">=</span> <span class="n">ctx</span><span class="o">.</span><span class="n">whenBaseExpression</span><span class="p">()</span>
<span class="n">whenExpressions</span> <span class="o">=</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">we</span><span class="p">)</span> <span class="k">for</span> <span class="n">we</span> <span class="ow">in</span> <span class="n">wxp</span><span class="p">]</span> <span class="k">if</span> <span class="n">wxp</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="n">expression</span> <span class="o">=</span> <span class="p">(</span>
<span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">baseCaseExpr</span><span class="p">)</span> <span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">baseCaseExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="p">)</span>
<span class="n">whenExpressions</span> <span class="o">=</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">we</span><span class="p">)</span> <span class="k">for</span> <span class="n">we</span> <span class="ow">in</span> <span class="n">wxp</span><span class="p">]</span>
<span class="n">expression</span> <span class="o">=</span> <span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">baseCaseExpr</span><span class="p">)</span>
<span class="n">else_expr</span> <span class="o">=</span> <span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">elseExpr</span><span class="p">)</span> <span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">elseExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="k">return</span> <span class="n">CaseExpression</span><span class="p">(</span><span class="n">expression</span><span class="p">,</span> <span class="n">whenExpressions</span><span class="p">,</span> <span class="n">else_expr</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">visitCaseWhenExpr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">ctx</span><span class="p">):</span>
<span class="n">wxp</span> <span class="o">=</span> <span class="n">ctx</span><span class="o">.</span><span class="n">whenExpression</span><span class="p">()</span>
<span class="n">whenExpressions</span> <span class="o">=</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">we</span><span class="p">)</span> <span class="k">for</span> <span class="n">we</span> <span class="ow">in</span> <span class="n">wxp</span><span class="p">]</span> <span class="k">if</span> <span class="n">wxp</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="n">whenExpressions</span> <span class="o">=</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">we</span><span class="p">)</span> <span class="k">for</span> <span class="n">we</span> <span class="ow">in</span> <span class="n">wxp</span><span class="p">]</span>
<span class="n">expression</span> <span class="o">=</span> <span class="kc">None</span>
<span class="n">else_expr</span> <span class="o">=</span> <span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">elseExpr</span><span class="p">)</span> <span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">elseExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="k">return</span> <span class="n">CaseExpression</span><span class="p">(</span><span class="n">expression</span><span class="p">,</span> <span class="n">whenExpressions</span><span class="p">,</span> <span class="n">else_expr</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">visitWhenExpression</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">ctx</span><span class="p">):</span>
<span class="n">expression</span> <span class="o">=</span> <span class="p">(</span>
<span class="n">BooleanExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">baseBoolExpr</span><span class="p">)</span>
<span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">baseBoolExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
<span class="k">else</span> <span class="kc">None</span>
<span class="p">)</span>
<span class="n">thenExpression</span> <span class="o">=</span> <span class="p">(</span>
<span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">thenExpr</span><span class="p">)</span> <span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">thenExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="p">)</span>
<span class="n">expression</span> <span class="o">=</span> <span class="n">BooleanExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">baseBoolExpr</span><span class="p">)</span>
<span class="n">thenExpression</span> <span class="o">=</span> <span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">thenExpr</span><span class="p">)</span>
<span class="k">return</span> <span class="n">WhenExpression</span><span class="p">(</span><span class="n">expression</span><span class="p">,</span> <span class="n">thenExpression</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">visitWhenBaseExpression</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">ctx</span><span class="p">):</span>
<span class="n">expression</span> <span class="o">=</span> <span class="p">(</span>
<span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">baseWhenExpr</span><span class="p">)</span> <span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">baseWhenExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="p">)</span>
<span class="n">thenExpression</span> <span class="o">=</span> <span class="p">(</span>
<span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">thenExpr</span><span class="p">)</span> <span class="k">if</span> <span class="n">ctx</span><span class="o">.</span><span class="n">thenExpr</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
<span class="p">)</span>
<span class="n">expression</span> <span class="o">=</span> <span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">baseWhenExpr</span><span class="p">)</span>
<span class="n">thenExpression</span> <span class="o">=</span> <span class="n">ExpressionVisitor</span><span class="p">()</span><span class="o">.</span><span class="n">visit</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">thenExpr</span><span class="p">)</span>
<span class="k">return</span> <span class="n">WhenExpression</span><span class="p">(</span><span class="n">expression</span><span class="p">,</span> <span class="n">thenExpression</span><span class="p">)</span>


Expand Down
Loading

0 comments on commit adb2165

Please sign in to comment.