Skip to content

Commit 9b6c85f

Browse files
committed
fix code style
1 parent a71b54c commit 9b6c85f

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ node_modules/
66
*.tsbuildinfo
77
__pycache__
88
.idea/
9+
dist/

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# jupyterlab-snippets
1+
# notebook-snippets
22

3-
![Github Actions Status](https://github.com/mkzilla/jupyterlab-snippets/workflows/Build/badge.svg)
3+
![Github Actions Status](https://github.com/mkzilla/notebook-snippets/workflows/Build/badge.svg)
44

55
code snippets integration for JupyterLab
66

@@ -12,7 +12,7 @@ code snippets integration for JupyterLab
1212
## Install
1313

1414
```bash
15-
jupyter labextension install jupyterlab-snippets
15+
jupyter labextension install notebook-snippets
1616
```
1717

1818
## Contributing
@@ -25,7 +25,7 @@ The `jlpm` command is JupyterLab's pinned version of
2525

2626
```bash
2727
# Clone the repo to your local environment
28-
# Move to jupyterlab-snippets directory
28+
# Move to notebook-snippets directory
2929
# Install dependencies
3030
jlpm
3131
# Build Typescript source
@@ -50,6 +50,6 @@ jupyter lab --watch
5050
### Uninstall
5151

5252
```bash
53-
jupyter labextension uninstall jupyterlab-snippets
53+
jupyter labextension uninstall notebook-snippets
5454
```
5555

notebook_snippets/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.1'
1+
__version__ = '1.0.2'

pypi.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
python setup.py clean
2+
python setup.py sdist
3+
twine upload dist/*
4+
python setup.py clean

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
cmdclass=cmdclass,
2323
author='chengtian',
2424
author_email='792400644@qq.com',
25-
url='https://github.com/mkzilla/jupyterlab-snippets',
25+
url='https://github.com/mkzilla/notebook-snippets',
2626
license='MIT',
2727
platforms='Linux, Mac OS X, Windows',
2828
keywords=['Jupyter', 'JupyterLab', 'snippets'],

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44

55
import {SnippetsBrowser} from './snippets';
66

7-
const PLUGIN_ID = 'mkzilla:jupyterlab-snippets';
7+
const PLUGIN_ID = 'mkzilla:notebook-snippets';
88

99
/**
1010
* Initialization data for the jupyterlab-snippets extension.

0 commit comments

Comments
 (0)