A monorepo containing jupyter-blocks and jupyter-tidyblocks. Blockly extension for JupyterLab.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #87 from QuantStack/updateLite

Update JupyterLite deployment and docs

authored by

Denisa Checiu and committed by
GitHub
2d305c22 15ffb614

+7 -45
+5 -6
docs/build-environment.yml
··· 7 7 - mamba 8 8 - myst-parser 9 9 - pydata-sphinx-theme 10 - - python=3.9 10 + - python 11 + - jupyterlab-blockly 11 12 - pip: 12 - - jupyterlab-blockly 13 - # Remove all pinning when we support jupyterlab v4 in jupyterlab-blockly 14 - - jupyterlite-core===0.1.3 15 - - jupyterlite-sphinx===0.9.3 16 - - jupyterlite-xeus===0.1.8 13 + - jupyterlite-core 14 + - jupyterlite-sphinx 15 + - jupyterlite-xeus
+1 -1
docs/conf.py
··· 21 21 author = 'Denisa Checiu' 22 22 23 23 # The full version, including alpha/beta/rc tags 24 - release = '0.1.0' 24 + release = '0.3.0' 25 25 26 26 27 27 # -- General configuration ---------------------------------------------------
+1 -38
docs/other_extensions.md
··· 111 111 **NOTE** : `BlocklyNiryo` is defined in `niryo-one-python-generators.ts`. 112 112 113 113 114 - ## Include patches 115 - Currently, for the extension to work, you will need to include the following patch from the JupyterLab-Blockly extension (make sure it is placed in a file named `@jupyterlab+codeeditor+3.4.3.patch`, inside the `patches` folder): 116 - 117 - ``` 118 - // patches/@jupyterlab+codeeditor+3.4.3.patch 119 - 120 - diff --git a/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts b/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts 121 - index ffe8d1f..d63b2f8 100644 122 - --- a/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts 123 - +++ b/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts 124 - @@ -44,7 +44,7 @@ export declare namespace CodeEditor { 125 - /** 126 - * An interface describing editor state coordinates. 127 - */ 128 - - interface ICoordinate extends JSONObject, ClientRect { 129 - + interface ICoordinate extends JSONObject { 130 - } 131 - /** 132 - * A range. 133 - ``` 134 - 135 - You will also need to modify the `MANIFEST.in` file: 136 - ``` 137 - recursive-include patches *.patch 138 - ``` 139 - the `package.json` file: 140 - ``` 141 - "scripts": { 142 - ... 143 - "postinstall": "patch-package" 144 - } 145 - ```` 146 - and, finally, add `patch-package` as a dependency: 147 - ``` 148 - jlpm add patch-package 149 - ``` 150 - 151 114 ## Additional configurations 152 115 153 116 You will need to request the `jupyterlab-blockly` package as a dependency of your extension, in order to ensure it is installed and available to provide the token `IBlocklyRegistry`. To do this, you need to add the following line to your `setup.py` file. ··· 157 120 158 121 setup_args = dict( 159 122 ... 160 - install_requires=['jupyterlab-blockly>=0.1.1,<0.2'] 123 + install_requires=['jupyterlab-blockly>=0.3.0,<0.4'] 161 124 ... 162 125 ) 163 126 ```