Skip to content

Commit f699d32

Browse files
authored
Fix copier command in documentation (jupyterlab#14671)
1 parent 86326b2 commit f699d32

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

RELEASE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ To seed the latest version of the extension template (first commit), you
311311
can execute (assuming you are editing the first commit):
312312

313313
```sh
314-
copier copy https://github.com/jupyterlab/extension-template .
314+
copier copy --UNSAFE https://github.com/jupyterlab/extension-template .
315315
# Fix any conflicts
316316
git commit --amend '-S'
317317
```
@@ -330,7 +330,7 @@ updating package versions, then do the next steps instead.
330330
git checkout --orphan name-of-branch
331331
git rm -rf .
332332
git clean -dfx
333-
copier https://github.com/jupyterlab/extension-template .
333+
copier copy --UNSAFE https://github.com/jupyterlab/extension-template .
334334
```
335335

336336
- Create a new PR in JupyterLab.

docs/source/extension/extension_migration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ First, make sure to update to JupyterLab 4 and install ``copier`` and some depen
2323
.. code:: bash
2424
2525
pip install -U jupyterlab
26-
pip install copier jinja2-time tomli-w
26+
pip install "copier~=8.0" jinja2-time tomli-w
2727
2828
2929
Or with ``conda``:
3030

3131
.. code:: bash
3232
33-
conda install -c conda-forge jupyterlab=4 copier jinja2-time tomli-w
33+
conda install -c conda-forge jupyterlab=4 "copier=8" jinja2-time tomli-w
3434
3535
3636
Then at the root folder of the extension, run:

docs/source/extension/extension_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ new environment named ``jupyterlab-ext``.
6666

6767
.. code:: bash
6868
69-
conda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=4 nodejs=18 git copier jinja2-time
69+
conda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=4 nodejs=18 git copier=8 jinja2-time
7070
7171
Now activate the new environment so that all further commands you run
7272
work out of that environment.
@@ -101,7 +101,7 @@ This will create a new folder for your extension in your current directory.
101101
102102
mkdir my_first_extension
103103
cd my_first_extension
104-
copier https://github.com/jupyterlab/extension-template .
104+
copier copy --UNSAFE https://github.com/jupyterlab/extension-template .
105105
106106
When prompted, enter values like the following for all of the template
107107
prompts (``apod`` stands for Astronomy Picture of the Day, the NASA service we

docs/source/extension/notebook.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ Start from the extension template.
209209

210210
.. code-block:: shell
211211
212-
pip install copier jinja2-time
212+
pip install "copier~=8.0" jinja2-time
213213
mkdir myextension
214214
cd myextension
215-
copier https://github.com/jupyterlab/extension-template .
215+
copier copy --UNSAFE https://github.com/jupyterlab/extension-template .
216216
217217
Install the dependencies. Note that extensions are built against the
218218
released npm packages, not the development versions.

0 commit comments

Comments
 (0)