diff --git a/README.md b/README.md
index c997886..604f55f 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Now, in another terminal, use `abp.fancy.GraphState` to run a Clifford circuit:
```python
>>> from abp.fancy import GraphState
->>> g = GraphState(range(10))
+>>> g = GraphState(10)
>>> for i in range(10):
... g.act_hadamard(i)
...
diff --git a/abp/static/index.html b/abp/static/index.html
index 36c66ed..b9ceaa3 100644
--- a/abp/static/index.html
+++ b/abp/static/index.html
@@ -25,7 +25,7 @@
nothing
-Version 0.4.20
+Version 0.4.20 develop mode
diff --git a/doc/conf.py b/doc/conf.py
index cf72046..bce190c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -33,6 +33,7 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.mathjax',
+ 'sphinxcontrib.napoleon',
]
# Add any paths that contain templates here, relative to this directory.
diff --git a/doc/index.rst b/doc/index.rst
index 9d28590..b6fc530 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -48,7 +48,7 @@ Quickstart
It's pretty easy to build a graph state, act some gates, and do measurements::
>>> from abp import GraphState
- >>> g = GraphState(range(5))
+ >>> g = GraphState(5)
>>> for i in range(5):
... g.act_hadamard(i)
...
@@ -110,7 +110,7 @@ Then browse to ``http://localhost:5001/`` (in some circumstances ``abp`` will au
Now, in another terminal, use ``abp.fancy.GraphState`` to run a Clifford circuit::
>>> from abp.fancy import GraphState
- >>> g = GraphState(range(10))
+ >>> g = GraphState(10)
>>> g.act_circuit([(i, "hadamard") for i in range(10)])
>>> g.act_circuit([((i, i+1), "cz") for i in range(9)])
>>> g.update()