Skip to content

Commit 636af42

Browse files
committed
Fix Windows Jupyter redirect
1 parent 8ef33a3 commit 636af42

File tree

7 files changed

+18
-13
lines changed

7 files changed

+18
-13
lines changed

_partials/es/nbextensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Mejora `jupyter` notebook
1+
### Mejora Jupyter Notebook
22

33
Mejora la visualización del [elemento `details` para revelación de información](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) en tus notebooks.
44

_partials/es/python_checkup.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Chequeo de la configuración de Python
22

3+
### Chequeo de Python y packages
4+
35
Reinicia tu terminal:
46

57
```bash
@@ -21,6 +23,8 @@ Ahora ejecuta el siguiente comando para verificar que puedas cargar estos paquet
2123
python -c "$(curl -fsSL <PIP_LOADER_URL>)"
2224
```
2325

26+
### Chequeo de Jupyter
27+
2428
Ahora verifica que puedas iniciar un servidor de notebook en tu máquina:
2529

2630
```bash

_partials/es/win_jupyter.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
## Configuración de Jupyter Notebook para abrirlo en tu navegador
1+
### Configuración de Jupyter Notebook para abrirlo en tu navegador
32

43
Genera el archivo de configuración para **Jupyter Notebook**...
54

@@ -18,13 +17,13 @@ Ahora edita el archivo de configuración de Jupyter generado:
1817
Localiza la siguiente línea en el archivo de configuración:
1918

2019
``` python
21-
# c.NotebookApp.use_redirect_file = True
20+
# c.ServerApp.use_redirect_file = True
2221
```
2322

2423
Y reemplázala por éste **precisamente** 👇 (incluyendo la eliminación del símbolo `#`)
2524

2625
``` python
27-
c.NotebookApp.use_redirect_file = False
26+
c.ServerApp.use_redirect_file = False
2827
```
2928

3029
Intenta usar Jupyter:

_partials/nbextensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### `jupyter` notebook tweaking
1+
### Jupyter Notebook tweaking
22

33
Let's improve the display of the [`details` disclosure elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) in your notebooks.
44

_partials/python_checkup.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## Python setup check up
1+
## Python setup check
2+
3+
### Python and packages check
24

35
Let's reset your terminal:
46

@@ -21,6 +23,8 @@ Now run the following command to check if you can load these packages:
2123
python -c "$(curl -fsSL <PIP_LOADER_URL>)"
2224
```
2325

26+
### Jupyter check
27+
2428
Make sure you can run Jupyter:
2529

2630
```bash

_partials/win_jupyter.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11

2-
## Configuring Jupyter Notebook to open in your browser
2+
### Configuring Jupyter Notebook to open in your browser
33

44
Let's generate the configuration file for **Jupyter Notebook**...
55

66
``` bash
77
jupyter notebook --generate-config
88
```
99

10-
⚠️ Please copy the path returned by the previous command.
11-
1210
We will now edit the generated Jupyter configuration file:
1311

1412
``` bash
@@ -18,13 +16,13 @@ We will now edit the generated Jupyter configuration file:
1816
Locate the following line in the configuration file:
1917

2018
``` python
21-
# c.NotebookApp.use_redirect_file = True
19+
# c.ServerApp.use_redirect_file = True
2220
```
2321

2422
And replace it with this one **precisely** 👇 (including removing the `#` symbol)
2523

2624
``` python
27-
c.NotebookApp.use_redirect_file = False
25+
c.ServerApp.use_redirect_file = False
2826
```
2927

3028
Let's try to run Jupyter:

build.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
ubuntu_python
8181
virtualenv
8282
pip
83-
win_jupyter
8483
nbextensions
84+
win_jupyter
8585
python_checkup
8686
dbeaver
8787
setup/windows_settings

0 commit comments

Comments
 (0)