Browse Source

more media for docs

Chris Holdgraf 7 years ago
parent
commit
51cc98a577

+ 7 - 2
docs/source/user/commands.rst

@@ -9,9 +9,14 @@ command system. These commands are shared and used throughout JupyterLab
 in the left sidebar provides a keyboard-driven way to search for and run
 any JupyterLab command:
 
-[screenshot]
+.. image:: images/command_palette.png
+   :class: jp-screenshot
 
 The command palette can be accessed using the keyboard shortcut
 Command-Shift-C:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/lPuj57UkxYs?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>

+ 15 - 3
docs/source/user/documents_kernels.rst

@@ -11,19 +11,31 @@ text file in the kernel interactively.
 
 Right-click on a document and select “Create Console for Editor”:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/JS2mhCD3rwE?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 Once the code console is open, send a single line of code or select a
 block of code and send it to the code console by hitting
 ``Shift Enter``:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/ODevllc9PXw?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 In a Markdown document, ``Shift Enter`` will automatically detect if the
 cursor is within a code block, and run the entire block if there is no
 selection:
 
-[animation]
+.. raw:: html
+
+  <div class="jp-youtube-video">
+     <iframe src="https://www.youtube-nocookie.com/embed/Kz3e7SgqTnI?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+  </div>
 
 *Any* text file (Markdown, Python, R, LaTeX, C++, etc.) in a text file
 editor can be connected to a code console and kernel in this manner.

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