Skip to content

Commit 550c9d5

Browse files
authored
Merge pull request #34 from DenisaCG/documentation
Added examples and docs
2 parents 5181e91 + 15300d9 commit 550c9d5

35 files changed

+397
-4
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ tests
1010
.github
1111
binder
1212
jupyterlab_blockly/labextension
13+
docs
14+
examples
1315
.eslintignore
1416
.eslintrc.js
1517
.gitignore

MANIFEST.in

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,16 @@ global-exclude *.pyc
2323
global-exclude *.pyo
2424
global-exclude .git
2525
global-exclude .ipynb_checkpoints
26+
27+
# Documentation
28+
recursive-include docs *.bat
29+
recursive-include docs *.gif
30+
recursive-include docs *.md
31+
recursive-include docs *.png
32+
recursive-include docs *.rst
33+
recursive-include docs *.txt
34+
recursive-include docs Makefile
35+
recursive-include docs *.py
36+
37+
# Examples
38+
recursive-include examples *.jpblockly

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Repo: https://github.com/google/blockly
2020
To install the extension, execute:
2121

2222
```bash
23-
micromamba create -n blockly -c conda-forge python jupyterlab==3.4 ipykernel xeus-python xeus-lua jupyterlab-language-pack-es-ES jupyterlab-language-pack-fr-FR
24-
micromamba activate blockly
25-
pip install jupyterlab_blockly
23+
conda install -c conda-forge jupyterlab-blockly
2624
```
2725

2826
#### Kernels
@@ -38,7 +36,7 @@ pip install jupyterlab_blockly
3836
To remove the extension, execute:
3937

4038
```bash
41-
pip uninstall jupyterlab_blockly
39+
conda uninstall -c conda-forge jupyterlab-blockly
4240
```
4341

4442
## Contributing

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = .
9+
BUILDDIR = _build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/_static/BlocklyOverview.png

73.5 KB
Loading

docs/_static/OverviewBlockly.gif

172 KB
Loading

docs/_static/changeKernel.png

59.4 KB
Loading

docs/_static/commentBlock.png

27.6 KB
Loading

docs/_static/creatingVariable.gif

102 KB
Loading

docs/_static/darkBlockly.png

69.7 KB
Loading

0 commit comments

Comments
 (0)