summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 71d91ec..22c2361 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -71,7 +71,7 @@ Then, you are ready to read and write gerber files:
from gerbonara import LayerStack
- stack = LayerStack.from_directory('output/gerber')
+ stack = LayerStack.open('output/gerber')
w, h = stack.outline.size('mm')
print(f'Board size is {w:.1f} mm x {h:.1f} mm')