Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaou committed Oct 27, 2024
1 parent f4f0463 commit 5dfdbd9
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 66 deletions.
42 changes: 20 additions & 22 deletions WS1/0_python_basics/1_hello_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>2.7. Hello, World! &#8212; Dig4Bio-workshops</title>
<title>Hello, World! &#8212; Dig4Bio-workshops</title>



Expand Down Expand Up @@ -60,8 +60,8 @@
<script>DOCUMENTATION_OPTIONS.pagename = 'WS1/0_python_basics/1_hello_world';</script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="2.8. Statements and Packaging" href="2_statements.html" />
<link rel="prev" title="2. Introduction to Python" href="0_python_basics.html" />
<link rel="next" title="Statements and Packaging" href="2_statements.html" />
<link rel="prev" title="Introduction to Python" href="0_python_basics.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
Expand Down Expand Up @@ -182,14 +182,12 @@
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Introduction to Python (WS1)</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../intro_to_ws1.html">Intro to WS1</a></li>
<li class="toctree-l1 current active has-children"><a class="reference internal" href="0_python_basics.html">2. Python Basics</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul class="current">
<li class="toctree-l2 current active"><a class="current reference internal" href="#">2.7. Hello, World!</a></li>
<li class="toctree-l2"><a class="reference internal" href="2_statements.html">2.8. Statements and Packaging</a></li>
<li class="toctree-l2"><a class="reference internal" href="3_control_flow.html">Conditionality and Repetition</a></li>
<li class="toctree-l1"><a class="reference internal" href="0_python_basics.html">Python Basics</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Hello, World!</a></li>
<li class="toctree-l1"><a class="reference internal" href="2_statements.html">Statements and Packaging</a></li>
<li class="toctree-l1"><a class="reference internal" href="3_control_flow.html">Conditionality and Repetition</a></li>
</ul>
</details></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">WS2 - Modelling</span></p>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Model-based Techniques (WS2)</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../../notebooks.html">Content with notebooks</a></li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../markdown-notebooks.html">Notebooks with MyST Markdown</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
Expand Down Expand Up @@ -422,13 +420,13 @@ <h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax-semantics-and-pragmatics-of-a-programming-language">2.7.1. Syntax, Semantics and Pragmatics of a programming language</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax">2.7.1.1. Syntax</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#semantics">2.7.1.2. Semantics</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#pragmatics">2.7.1.3. Pragmatics</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax-semantics-and-pragmatics-of-a-programming-language">Syntax, Semantics and Pragmatics of a programming language</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax">Syntax</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#semantics">Semantics</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#pragmatics">Pragmatics</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#a-foolish-consistency-is-the-hobgoblin-of-little-minds">2.7.2. “A Foolish Consistency is the Hobgoblin of Little Minds”</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#a-foolish-consistency-is-the-hobgoblin-of-little-minds">“A Foolish Consistency is the Hobgoblin of Little Minds”</a></li>
</ul>
</nav>
</div>
Expand Down Expand Up @@ -663,15 +661,15 @@ <h2>“A Foolish Consistency is the Hobgoblin of Little Minds”<a class="header
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title"><span class="section-number">2. </span>Introduction to Python</p>
<p class="prev-next-title">Introduction to Python</p>
</div>
</a>
<a class="right-next"
href="2_statements.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title"><span class="section-number">2.8. </span>Statements and Packaging</p>
<p class="prev-next-title">Statements and Packaging</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand All @@ -691,13 +689,13 @@ <h2>“A Foolish Consistency is the Hobgoblin of Little Minds”<a class="header
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax-semantics-and-pragmatics-of-a-programming-language">2.7.1. Syntax, Semantics and Pragmatics of a programming language</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax">2.7.1.1. Syntax</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#semantics">2.7.1.2. Semantics</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#pragmatics">2.7.1.3. Pragmatics</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax-semantics-and-pragmatics-of-a-programming-language">Syntax, Semantics and Pragmatics of a programming language</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax">Syntax</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#semantics">Semantics</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#pragmatics">Pragmatics</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#a-foolish-consistency-is-the-hobgoblin-of-little-minds">2.7.2. “A Foolish Consistency is the Hobgoblin of Little Minds”</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#a-foolish-consistency-is-the-hobgoblin-of-little-minds">“A Foolish Consistency is the Hobgoblin of Little Minds”</a></li>
</ul>
</nav></div>

Expand Down
60 changes: 29 additions & 31 deletions WS1/0_python_basics/2_statements.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>2.8. Statements and Packaging &#8212; Dig4Bio-workshops</title>
<title>Statements and Packaging &#8212; Dig4Bio-workshops</title>



Expand Down Expand Up @@ -63,7 +63,7 @@
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Conditionality and Repetition" href="3_control_flow.html" />
<link rel="prev" title="2.7. Hello, World!" href="1_hello_world.html" />
<link rel="prev" title="Hello, World!" href="1_hello_world.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
Expand Down Expand Up @@ -184,14 +184,12 @@
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Introduction to Python (WS1)</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../intro_to_ws1.html">Intro to WS1</a></li>
<li class="toctree-l1 current active has-children"><a class="reference internal" href="0_python_basics.html">2. Python Basics</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="1_hello_world.html">2.7. Hello, World!</a></li>
<li class="toctree-l2 current active"><a class="current reference internal" href="#">2.8. Statements and Packaging</a></li>
<li class="toctree-l2"><a class="reference internal" href="3_control_flow.html">Conditionality and Repetition</a></li>
<li class="toctree-l1"><a class="reference internal" href="0_python_basics.html">Python Basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="1_hello_world.html">Hello, World!</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Statements and Packaging</a></li>
<li class="toctree-l1"><a class="reference internal" href="3_control_flow.html">Conditionality and Repetition</a></li>
</ul>
</details></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">WS2 - Modelling</span></p>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Model-based Techniques (WS2)</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../../notebooks.html">Content with notebooks</a></li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../markdown-notebooks.html">Notebooks with MyST Markdown</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
Expand Down Expand Up @@ -424,20 +422,20 @@ <h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#simple-statement">2.8.1. 1. Simple statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#assignment-statement">2.8.2. 2. Assignment statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#lists-and-generators">2.8.3. 3. Lists and generators</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#compound-statement">2.8.4. 4. Compound statement</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#if-statement">2.8.4.1. <strong>if statement</strong></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#loops">2.8.4.2. <strong>loops</strong></a><ul class="nav section-nav flex-column">
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#for-loop">2.8.4.2.1. for loop</a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#while-loop">2.8.4.2.2. while loop</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#simple-statement">1. Simple statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#assignment-statement">2. Assignment statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#lists-and-generators">3. Lists and generators</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#compound-statement">4. Compound statement</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#if-statement"><strong>if statement</strong></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#loops"><strong>loops</strong></a><ul class="nav section-nav flex-column">
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#for-loop">for loop</a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#while-loop">while loop</a></li>
</ul>
</li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#packaging">2.8.5. 5. Packaging</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#functions">2.8.5.1. Functions</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#packaging">5. Packaging</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#functions">Functions</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -745,7 +743,7 @@ <h2>3. Lists and generators<a class="headerlink" href="#lists-and-generators" ti
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;generator object &lt;genexpr&gt; at 0x0000024BA52934C0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;generator object &lt;genexpr&gt; at 0x00000233692134C0&gt;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -1107,7 +1105,7 @@ <h3>Functions<a class="headerlink" href="#functions" title="Link to this heading
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title"><span class="section-number">2.7. </span>Hello, World!</p>
<p class="prev-next-title">Hello, World!</p>
</div>
</a>
<a class="right-next"
Expand Down Expand Up @@ -1135,20 +1133,20 @@ <h3>Functions<a class="headerlink" href="#functions" title="Link to this heading
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#simple-statement">2.8.1. 1. Simple statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#assignment-statement">2.8.2. 2. Assignment statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#lists-and-generators">2.8.3. 3. Lists and generators</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#compound-statement">2.8.4. 4. Compound statement</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#if-statement">2.8.4.1. <strong>if statement</strong></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#loops">2.8.4.2. <strong>loops</strong></a><ul class="nav section-nav flex-column">
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#for-loop">2.8.4.2.1. for loop</a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#while-loop">2.8.4.2.2. while loop</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#simple-statement">1. Simple statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#assignment-statement">2. Assignment statement</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#lists-and-generators">3. Lists and generators</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#compound-statement">4. Compound statement</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#if-statement"><strong>if statement</strong></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#loops"><strong>loops</strong></a><ul class="nav section-nav flex-column">
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#for-loop">for loop</a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#while-loop">while loop</a></li>
</ul>
</li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#packaging">2.8.5. 5. Packaging</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#functions">2.8.5.1. Functions</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#packaging">5. Packaging</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#functions">Functions</a></li>
</ul>
</li>
</ul>
Expand Down
8 changes: 4 additions & 4 deletions WS1/0_python_basics/3_control_flow.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Content with notebooks" href="../../notebooks.html" />
<link rel="prev" title="2.8. Statements and Packaging" href="2_statements.html" />
<link rel="prev" title="Statements and Packaging" href="2_statements.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
Expand Down Expand Up @@ -183,8 +183,8 @@
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../intro_to_ws1.html">Intro to WS1</a></li>
<li class="toctree-l1"><a class="reference internal" href="0_python_basics.html">Python Basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="1_hello_world.html">2.7. Hello, World!</a></li>
<li class="toctree-l1"><a class="reference internal" href="2_statements.html">2.8. Statements and Packaging</a></li>
<li class="toctree-l1"><a class="reference internal" href="1_hello_world.html">Hello, World!</a></li>
<li class="toctree-l1"><a class="reference internal" href="2_statements.html">Statements and Packaging</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Conditionality and Repetition</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Model-based Techniques (WS2)</span></p>
Expand Down Expand Up @@ -758,7 +758,7 @@ <h2>Continue and Break<a class="headerlink" href="#continue-and-break" title="Li
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title"><span class="section-number">2.8. </span>Statements and Packaging</p>
<p class="prev-next-title">Statements and Packaging</p>
</div>
</a>
<a class="right-next"
Expand Down
Loading

0 comments on commit 5dfdbd9

Please sign in to comment.