Skip to content

Commit

Permalink
Fix the links to src/jupytext
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Nov 5, 2023
1 parent b6f0ae6 commit 069425a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/advanced-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
4 changes: 2 additions & 2 deletions docs/formats-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 069425a

Please sign in to comment.