Skip to content

Commit 91d420e

Browse files
authored
Update cookiecutter config (#160)
* Update cookiecutter config * Align with cookiecutter template
1 parent b534037 commit 91d420e

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

hello-world/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ like this:
2222

2323
```bash
2424
author_name []: tuto
25-
python_name [myextension]: hello_world
26-
extension_name [hello_world]: hello-world
25+
author_email []: [email protected]
26+
labextension_name [myextension]: hello-world
27+
python_name [hello_world]:
2728
project_short_description [A JupyterLab extension.]: Minimal JupyterLab example
29+
has_settings [n]:
2830
has_server_extension [n]:
2931
has_binder [n]: y
30-
repository [https://github.com/github_username/hello_world]:
32+
repository [https://github.com/github_username/hello-world]:
3133
```
3234

3335
> The python name should not contain `-`. It is nice for user to test your extension online, so the `has_binder` was set to _yes_.

server-extension/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ cookiecutter https://github.com/jupyterlab/extension-cookiecutter-ts
2727
like this (be careful to set _has\_server\_extension_ to _y_):
2828

2929
```bash
30-
author_name []: my_name
31-
python_name [myextension]: jlab_ext_example
32-
extension_name [jlab_ext_example]: jlab-ext-example
30+
author_name []: tuto
31+
author_email []: [email protected]
32+
labextension_name [myextension]: jlab-ext-example
33+
python_name [jlab_ext_example]:
3334
project_short_description [A JupyterLab extension.]: A minimal JupyterLab extension with backend and frontend parts.
35+
has_settings [n]:
3436
has_server_extension [n]: y
3537
has_binder [n]: y
36-
repository [https://github.com/github_username/jlab_ext_example]:
38+
repository [https://github.com/github_username/jlab-ext-example]:
3739
```
3840

3941
> The python name should not contain `-`. It is nice for user to test your extension online, so the `has_binder` was set to _yes_.

0 commit comments

Comments
 (0)