From 069425ac75faa3096b602337fab4d0d208b3c7bb Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Fri, 3 Nov 2023 23:55:40 +0000 Subject: [PATCH] Fix the links to src/jupytext --- docs/advanced-options.md | 2 +- docs/formats-scripts.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced-options.md b/docs/advanced-options.md index d668a26ad..c4514a85d 100644 --- a/docs/advanced-options.md +++ b/docs/advanced-options.md @@ -39,4 +39,4 @@ You might want to make some cell active only when the notebook is run in Jupyter ## More options -There are a couple more options available - please have a look at the `JupytextConfiguration` class in [config.py](https://github.com/mwouts/jupytext/blob/main/jupytext/config.py). +There are a couple more options available - please have a look at the `JupytextConfiguration` class in [config.py](https://github.com/mwouts/jupytext/blob/main/src/jupytext/config.py). diff --git a/docs/formats-scripts.md b/docs/formats-scripts.md index 65e88566f..445bba1b4 100644 --- a/docs/formats-scripts.md +++ b/docs/formats-scripts.md @@ -2,7 +2,7 @@ ## The `percent` format -The `percent` format is a representation of Jupyter notebooks as scripts, in which all cells are explicitly delimited with a commented double percent sign `# %%`. The `percent` format is currently available for these [languages](https://github.com/mwouts/jupytext/blob/main/jupytext/languages.py). +The `percent` format is a representation of Jupyter notebooks as scripts, in which all cells are explicitly delimited with a commented double percent sign `# %%`. The `percent` format is currently available for these [languages](https://github.com/mwouts/jupytext/blob/main/src/jupytext/languages.py). The format was introduced by Spyder in 2013, and is now supported by many editors, including - [Spyder IDE](https://docs.spyder-ide.org/editor.html#defining-code-cells), @@ -70,7 +70,7 @@ By default, [Jupyter magics](advanced-options.md#magic-commands) are commented i ## The `light` format -The `light` format was introduced by Jupytext. That format can represent any script in one of these [languages](https://github.com/mwouts/jupytext/blob/main/jupytext/languages.py) as a Jupyter notebook. +The `light` format was introduced by Jupytext. That format can represent any script in one of these [languages](https://github.com/mwouts/jupytext/blob/main/src/jupytext/languages.py) as a Jupyter notebook. When a script in the `light` format is converted to a notebook, Jupytext code paragraphs are turned into code cells, and comments that are not adjacent to code are converted to Markdown cells. Cell breaks occurs on blank lines outside of functions, classes or multiline comments.