-
Notifications
You must be signed in to change notification settings - Fork 387
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
Version 1.16-dev #1147
Merged
Merged
Version 1.16-dev #1147
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
3ad6851
Version 1.16.0-dev
mwouts 42033f5
Update the documentation
mwouts de82dfb
Fix CI badge
mwouts bb98433
Include CHANGELOG.md and README.md in the docs
mwouts 1648ea9
Issue rather than PR
mwouts e2ac5ef
Denote the legacy extension as such
mwouts 0f26996
Pairing commands are also available in Jupyter Notebook
mwouts a9284a2
Fix test_changelog
mwouts dd86869
Filter out the logo
mwouts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
```{include} ../CHANGELOG.md | ||
``` |
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 |
---|---|---|
|
@@ -44,31 +44,32 @@ jupyter labextension enable jupyterlab-jupytext | |
jupyter labextension disable jupyterlab-jupytext | ||
``` | ||
|
||
From Jupytext 1.9.0 on, the version of the extension is compatible with JupyterLab 3.x only. If you wish to use Jupytext with JupyterLab 2.x or 1.x, please | ||
From Jupytext 1.16.0 on, the version of the extension is compatible with JupyterLab 4.x only. If you wish to use Jupytext with JupyterLab 3.x or older, please | ||
- install the `jupytext` package using `pip` or `conda` | ||
- and then, install the last version of the `jupyterlab-jupytext` extension that is compatible with your version of JupyterLab, i.e. | ||
``` | ||
jupyter labextension install [email protected] # for JupyterLab 3.x | ||
jupyter labextension install [email protected] # for JupyterLab 2.x | ||
jupyter labextension install [email protected] # for JupyterLab 1.x | ||
``` | ||
|
||
## Jupytext menu in Jupyter Notebook | ||
|
||
*Note*: as of this writing (version 1.15.1) this section **applies only to | ||
notebook classic**, i.e. Jupyter Notebook 6.x and below. See [PR | ||
#1095](https://github.com/mwouts/jupytext/issues/1095) where we discuss how to | ||
add a Jupytext menu to Jupyter Lab and Notebook 7.x. | ||
In Jupyter Notebook 7 you can use the same pairing commands as in JupyterLab (see above). | ||
|
||
Jupytext includes an extensions for Jupyter Notebook that adds a Jupytext section in the File menu. | ||
In Jupyter Notebook **classic**, i.e. Jupyter Notebook 6.x and below, Jupytext used to provided an extension that added a Jupytext section in the File menu. | ||
|
||
![](images/jupytext_menu.png) | ||
|
||
Here again, the extension should be automatically installed. If need be, you can install and activate it manually with | ||
That extension is available only for `jupytext<1.16`, and is automatically installed. If need be, you can install and activate it manually with | ||
``` | ||
jupyter nbextension install --py jupytext [--user] | ||
jupyter nbextension enable --py jupytext [--user] | ||
``` | ||
|
||
See also [Issue #1095](https://github.com/mwouts/jupytext/issues/1095) where we discuss how to | ||
add a Jupytext menu to Jupyter Lab and Notebook 7.x. | ||
|
||
## Jupytext's command line interface | ||
|
||
Jupytext provides a `jupytext` command in the terminal that you can use to pair, synchronize or convert notebooks in different formats. | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Jupytext's version number""" | ||
|
||
__version__ = "1.15.2" | ||
__version__ = "1.16.0-dev" |
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
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.
I recommend using a
<!-- SPHINX-START -->
tag to change the header. This is particularly useful for theREADME.md
to filter out the badges. Another cool feature is to use markdown reference-style links to correct the links. It should work with myst-parserThere 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.
Oh interesting. In
index.md
we currently have the badges so I was thinking of keeping them, but sure I will filter out the logo. Yes I've seen about the links and it's very useful to convert the links from theREADME.md
where there point to docs, toindex.md
where they are local.