New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JupyterHub integration #6451
Merged
Merged
JupyterHub integration #6451
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
a6e3896
Clarifies exporting, and adds clarification on reveal.js slides workf…
duarteocarmo 254287b
Merge remote-tracking branch 'origin/master' into docs/exporting
duarteocarmo e80fbf7
wip hub integration
blink1073 09782b7
integrity
blink1073 2ed5f9a
integry
blink1073 2f0d850
integrity
blink1073 0f74dcb
clean up hub_prefix handling
blink1073 6de3310
Explicitly type dummy promise as void.
ian-r-rose 610c1a1
Use JupyterFrontEnd.IPaths.
ian-r-rose 570d6a9
Use the right pageConfig.
ian-r-rose ed42fa8
Fix LabHubApp.
ian-r-rose 8f3c6e7
This is an extension.
ian-r-rose d99a4e3
Add commands to file menu, command palette.
ian-r-rose a33f18d
If running im JupyterHub, provide a dialog that prompts the user to
ian-r-rose 65c7866
Disable chunksSort in HtmlWebpackPlugin
mlucool 864aa69
Adds note about nbconvert options. Closes #5018
duarteocarmo e7cd812
Merge pull request #6500 from mlucool/fix-htmlwebpack-plugin
blink1073 726ce5e
Make kernel message typing follow the spec more closely.
jasongrout ca4a22e
Fix a promise typing.
jasongrout 681d7da
Fix test compilation errors.
jasongrout 7eba2ae
Fix services test errors.
jasongrout 3d998b3
Only write to text if the text would change
jasongrout 129b2b9
Make the DefaultSession own (create and dispose) its kernel connection.
jasongrout eafd1f9
Merge pull request #6472 from duarteocarmo/docs/exporting
blink1073 a276231
Merge pull request #6502 from jasongrout/safari
blink1073 244f6be
Merge pull request #6503 from jasongrout/duplicatekernel
blink1073 bd04328
Merge pull request #6433 from jasongrout/kerneltypings
blink1073 fbdaeff
Add docstring documenting the intended use of LabHubApp.
ian-r-rose a12b762
Don't append content in rendered output upon rerendering.
ian-r-rose d25118b
Add tests checking that a model can be re-rendered correctly.
ian-r-rose a918f2c
Clarify comment.
ian-r-rose 8d36127
Merge pull request #6513 from ian-r-rose/no-append-on-rerender
blink1073 a9cc9d2
wip hub integration
blink1073 f034683
integrity
blink1073 b08ea7e
integry
blink1073 654a4f8
integrity
blink1073 a699f51
clean up hub_prefix handling
blink1073 43028a1
Explicitly type dummy promise as void.
ian-r-rose 3da56c7
Use JupyterFrontEnd.IPaths.
ian-r-rose 9f14551
Use the right pageConfig.
ian-r-rose 908c2a5
Fix LabHubApp.
ian-r-rose 83ac052
This is an extension.
ian-r-rose 16f274a
Add commands to file menu, command palette.
ian-r-rose d5e1c61
If running im JupyterHub, provide a dialog that prompts the user to
ian-r-rose 3293670
remove dependency on hub extension
blink1073 a2f9d2d
Merge branch 'jhub-integration' of https://github.com/blink1073/jupyt…
blink1073 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.. _user_export: | ||
|
||
Exporting Notebooks | ||
------------------- | ||
|
||
JupyterLab allows you to export your jupyter notebook files (``.ipynb``) | ||
into other file formats such as: | ||
|
||
- Asciidoc ``.asciidoc`` | ||
- HTML ``.html`` | ||
- Latex ``.tex`` | ||
- Markdown ``.md`` | ||
- PDF ``.pdf`` | ||
- ReStructured Text ``.rst`` | ||
- Executable Script ``.py`` | ||
- Reveal.js Slides ``.html`` | ||
|
||
To access these options, while a notebook is open, browse the File menu: | ||
|
||
.. image:: images/exporting_menu.png | ||
:align: center | ||
:class: jp-screenshot | ||
|
||
Note: The exporting options depend on your nbconvert configuration. For more | ||
information visit the | ||
`official nbconvert documentation <https://nbconvert.readthedocs.io/en/latest/>`__. | ||
|
||
.. _user_export_revealjs: | ||
|
||
Reveal.js Slides | ||
~~~~~~~~~~~~~~~~ | ||
In order to export your notebooks as `Reveal.js <https://github.com/hakimel/reveal.js>`__ | ||
slides, follow these steps: | ||
|
||
1. Open a notebook by double clicking it in the | ||
:ref:`file browser <working-with-files>`. | ||
2. Select Cell tools in the :ref:`left sidebar <left-sidebar>`. | ||
3. Select the slide type (Slide, Subslide, Fragment, Skip, Notes). | ||
|
||
.. image:: images/exporting_slide_type.png | ||
:align: center | ||
:class: jp-screenshot | ||
|
||
4. Activate another cell. | ||
5. Repeat 3 and 4 until you selected the slide type for all of your cells. | ||
|
||
After completing these steps, browse the file menu and export as described in | ||
the :ref:`exporting notebooks <user_export>` section. A ``.html`` file that | ||
you will be prompted to download. | ||
|
||
If you don't know how to navigate and interact with a Reveal.js presentation, | ||
visit the project's `website <https://github.com/hakimel/reveal.js>`__. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @jupyterlab/hub-extension | ||
|
||
JupyterLab](https://github.com/jupyterlab/jupyterlab) integration for | ||
[JupyterHub](https://github.com/jupyterhub/jupyterhub). | ||
|
||
This adds a "Hub" menu to JupyterLab that allows a user to log out of JupyterHub | ||
or access their JupyterHub control panel. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check doesn't appear to be working, at least not in my testing. At the time the server extension is loaded, it doesn't seem like the
hub_prefix
traitlet has been set.labhubapp.py
seems to be working correctly.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm concerned that we won't actually be able to deprecate
LabHubApp
. Without it, I'm not sure that JupyterHub spawners can easily configure theLabApp
specific traitlets (which is a problem I'm having while testing this).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why you saw this state. I'm seeing it working fine locally...