Преглед на файлове

videos for multiple doc pages

Chris Holdgraf преди 7 години
родител
ревизия
1fb05dc80d

+ 25 - 5
docs/source/user/code_console.rst

@@ -12,26 +12,46 @@ cells.
 Create a new code console by clicking the ``+`` button in the :ref:`file
 browser <left_sidebar>` and selecting the kernel:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/7Sb_a6veU1s?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Run code using ``Shift Enter``. Use the up and down arrows to browse the
 history of previously-run code:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/L52yh9FPAtY?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Tab completion (``Tab``) and tooltips (``Shift Tab``) work as in the
 notebook:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/WoqFgmSuigE?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Clear the cells of the code console without restarting the kernel by
 right-clicking on the code console and selecting “Clear Console Cells”:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/Aj7sQgP39z8?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Creating a code console from the :ref:`file menu <menu_bar>` lets you select an existing
 kernel for the code console. The code console then acts as a log of
 computations in that kernel, and a place you can interactively inspect
 and run code in the kernel:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/QyRuPrLrIOs?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>

BIN
docs/source/user/images/running_layout.png


BIN
docs/source/user/images/terminal_layout.png


+ 17 - 4
docs/source/user/running.rst

@@ -7,7 +7,8 @@ The Running tab in the left sidebar shows a list of all the kernels and
 terminals currently running across all notebooks, code consoles, and
 directories:
 
-[screenshot]
+.. image:: images/running_layout.png
+   :class: jp-screenshot
 
 As with the classic Jupyter Notebook, when you close a notebook
 document, code console, or terminal, the underlying kernel or terminal
@@ -15,13 +16,25 @@ running on the server continues to run. This allows you to perform
 long-running actions and return later. The Running tab allows you to
 re-open or focus the document linked to a given kernel or terminal:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/gDM5lwU6Dmo?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Kernels or terminals can be shut down from the Running tab:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/PBDN9AJWBlw?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 You can shut down all kernels and terminals by clicking the ``X``
 button:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/tOjequ-46Qc?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>

+ 12 - 3
docs/source/user/terminal.rst

@@ -11,14 +11,23 @@ running, with the privileges of your user. Thus, if JupyterLab is
 installed on your local machine, the JupyterLab terminals will run
 there.
 
-[screenshot]
+.. image:: images/terminal_layout.png
+   :class: jp-screenshot
 
 To open a new terminal, click the ``+`` button in the file browser and
 select the terminal in the new Launcher tab:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/ynMjz1tiq9o?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Closing a terminal tab will leave it running on the server, but you can
 re-open it using the Running tab in the left sidebar:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/gDM5lwU6Dmo?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>