Skip to content

Commit 7d4cd69

Browse files
committed
Make push-pages
1 parent 7895e43 commit 7d4cd69

File tree

73 files changed

+613
-2912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+613
-2912
lines changed

README.html

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>&lt;no title&gt; &#8212; Voxelwise Encoding Model tutorials</title>
11+
<title>How to build the tutorials website &#8212; Voxelwise Encoding Model tutorials</title>
1212

1313

1414

@@ -32,7 +32,7 @@
3232
<link rel="stylesheet" type="text/css" href="_static/styles/sphinx-book-theme.css?v=eba8b062" />
3333
<link rel="stylesheet" type="text/css" href="_static/togglebutton.css?v=13237357" />
3434
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
35-
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
35+
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
3636
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
3737
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
3838

@@ -142,7 +142,7 @@
142142

143143

144144

145-
<a class="navbar-brand logo" href="index.html">
145+
<a class="navbar-brand logo" href="pages/index.html">
146146

147147

148148

@@ -174,32 +174,32 @@
174174

175175
<ul class="nav bd-sidenav bd-sidenav__home-link">
176176
<li class="toctree-l1">
177-
<a class="reference internal" href="index.html">
177+
<a class="reference internal" href="pages/index.html">
178178
Voxelwise Encoding Model (VEM) tutorials
179179
</a>
180180
</li>
181181
</ul>
182182
<ul class="nav bd-sidenav">
183-
<li class="toctree-l1"><a class="reference internal" href="voxelwise_modeling.html">Overview of the VEM framework</a></li>
184-
<li class="toctree-l1"><a class="reference internal" href="voxelwise_package.html">Helper Python package</a></li>
183+
<li class="toctree-l1"><a class="reference internal" href="pages/voxelwise_modeling.html">Overview of the VEM framework</a></li>
185184
<li class="toctree-l1 has-children"><a class="reference internal" href="notebooks/shortclips/README.html">Shortclips tutorial</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
186185
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/00_download_shortclips.html">Download the data set</a></li>
187186
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/01_plot_explainable_variance.html">Compute the explainable variance</a></li>
188187
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/02_plot_ridge_regression.html">Understand ridge regression and cross-validation</a></li>
189188
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/03_plot_wordnet_model.html">Fit a ridge model with wordnet features</a></li>
190189
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/04_plot_hemodynamic_response.html">Visualize the hemodynamic response</a></li>
191-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/05_plot_motion_energy_model.html">Fit a ridge model with motion energy features</a></li>
192-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/06_plot_banded_ridge_model.html">Fit a banded ridge model with both wordnet and motion energy features</a></li>
193-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/07_extract_motion_energy.html">Extract motion energy features from the stimuli</a></li>
190+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/05_plot_motion_energy_model.html">Fit a ridge model with motion-energy features</a></li>
191+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/06_plot_banded_ridge_model.html">Fit a banded ridge model with both wordnet and motion-energy features</a></li>
192+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/07_extract_motion_energy.html">Extract motion-energy features from the stimuli</a></li>
194193
</ul>
195194
</details></li>
196195
<li class="toctree-l1 has-children"><a class="reference internal" href="notebooks/vim2/README.html">Vim-2 tutorial (optional)</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
197196
<li class="toctree-l2"><a class="reference internal" href="notebooks/vim2/00_download_vim2.html">Download the data set from CRCNS</a></li>
198-
<li class="toctree-l2"><a class="reference internal" href="notebooks/vim2/01_extract_motion_energy.html">Extract motion energy features from the stimuli</a></li>
197+
<li class="toctree-l2"><a class="reference internal" href="notebooks/vim2/01_extract_motion_energy.html">Extract motion-energy features from the stimuli</a></li>
199198
<li class="toctree-l2"><a class="reference internal" href="notebooks/vim2/02_plot_ridge_model.html">Fit a ridge model with motion energy features</a></li>
200199
</ul>
201200
</details></li>
202-
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
201+
<li class="toctree-l1"><a class="reference internal" href="pages/references.html">References</a></li>
202+
<li class="toctree-l1"><a class="reference internal" href="pages/voxelwise_package.html"><code class="docutils literal notranslate"><span class="pre">voxelwise_tutorials</span></code> helper package</a></li>
203203
</ul>
204204

205205
</div>
@@ -301,7 +301,7 @@
301301

302302

303303

304-
<li><a href="_sources/README.rst" target="_blank"
304+
<li><a href="_sources/README.md" target="_blank"
305305
class="btn btn-sm btn-download-source-button dropdown-item"
306306
title="Download source file"
307307
data-bs-placement="left" data-bs-toggle="tooltip"
@@ -311,7 +311,7 @@
311311
<span class="btn__icon-container">
312312
<i class="fas fa-file"></i>
313313
</span>
314-
<span class="btn__text-container">.rst</span>
314+
<span class="btn__text-container">.md</span>
315315
</a>
316316
</li>
317317

@@ -385,7 +385,7 @@
385385

386386

387387
<div id="jb-print-docs-body" class="onlyprint">
388-
<h1><no title></h1>
388+
<h1>How to build the tutorials website</h1>
389389
<!-- Table of contents -->
390390
<div id="print-main-content">
391391
<div id="jb-print-toc">
@@ -394,9 +394,10 @@ <h1><no title></h1>
394394
<h2> Contents </h2>
395395
</div>
396396
<nav aria-label="Page">
397-
<ul class="simple visible nav section-nav flex-column">
397+
<ul class="visible nav section-nav flex-column">
398+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#build-the-website">Build the website</a></li>
399+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#merge-notebooks">Merge notebooks</a></li>
398400
</ul>
399-
400401
</nav>
401402
</div>
402403
</div>
@@ -407,8 +408,31 @@ <h2> Contents </h2>
407408
<div id="searchbox"></div>
408409
<article class="bd-article">
409410

410-
<p>(If you are looking for some Jupyter notebooks, check the <a class="reference external" href="https://github.com/gallantlab/voxelwise_tutorials/tree/main/tutorials/notebooks">notebooks</a>
411-
directory.)</p>
411+
<section class="tex2jax_ignore mathjax_ignore" id="how-to-build-the-tutorials-website">
412+
<h1>How to build the tutorials website<a class="headerlink" href="#how-to-build-the-tutorials-website" title="Link to this heading">#</a></h1>
413+
<p>Everything can be managed through the Makefile.
414+
The website is built using <code class="docutils literal notranslate"><span class="pre">jupyter-book</span></code>.
415+
Install all the required dependencies with:</p>
416+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="w"> </span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/gallantlab/voxelwise_tutorials.git
417+
<span class="w"> </span><span class="nb">cd</span><span class="w"> </span>voxelwise_tutorials
418+
<span class="w"> </span>python<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span><span class="s2">&quot;.[github,docs]&quot;</span>
419+
</pre></div>
420+
</div>
421+
<section id="build-the-website">
422+
<h2>Build the website<a class="headerlink" href="#build-the-website" title="Link to this heading">#</a></h2>
423+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>make<span class="w"> </span>clean<span class="w"> </span><span class="c1"># Remove all files generated by the website build</span>
424+
make<span class="w"> </span>build<span class="w"> </span><span class="c1"># Build the website</span>
425+
make<span class="w"> </span>push-pages<span class="w"> </span><span class="c1"># Push the website to GitHub pages</span>
426+
</pre></div>
427+
</div>
428+
</section>
429+
<section id="merge-notebooks">
430+
<h2>Merge notebooks<a class="headerlink" href="#merge-notebooks" title="Link to this heading">#</a></h2>
431+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>make<span class="w"> </span>notebooks<span class="w"> </span><span class="c1"># Create a new version of the merged notebooks</span>
432+
</pre></div>
433+
</div>
434+
</section>
435+
</section>
412436

413437
<script type="text/x-thebe-config">
414438
{
@@ -455,9 +479,10 @@ <h2> Contents </h2>
455479
<i class="fa-solid fa-list"></i> Contents
456480
</div>
457481
<nav class="bd-toc-nav page-toc">
458-
<ul class="simple visible nav section-nav flex-column">
482+
<ul class="visible nav section-nav flex-column">
483+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#build-the-website">Build the website</a></li>
484+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#merge-notebooks">Merge notebooks</a></li>
459485
</ul>
460-
461486
</nav></div>
462487

463488
</div></div>
Binary file not shown.
Binary file not shown.
425 KB
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)