diff --git a/examples/docstring-demo/README.md b/examples/docstring-demo/README.md
index 4e4cb239..5ccfdb2e 100644
--- a/examples/docstring-demo/README.md
+++ b/examples/docstring-demo/README.md
@@ -2,4 +2,4 @@
We can see the docstring display in the IDE as follows:
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/examples/docstring-demo/imgs/docs.jpg b/examples/docstring-demo/imgs/docs.jpg
deleted file mode 100644
index 0799d3b4..00000000
Binary files a/examples/docstring-demo/imgs/docs.jpg and /dev/null differ
diff --git a/examples/docstring-demo/imgs/docs.png b/examples/docstring-demo/imgs/docs.png
new file mode 100644
index 00000000..8bd3cbbf
Binary files /dev/null and b/examples/docstring-demo/imgs/docs.png differ
diff --git a/examples/docstring-demo/lib/moon.pkg.json b/examples/docstring-demo/lib/moon.pkg.json
index 47b3a8cb..9e26dfee 100644
--- a/examples/docstring-demo/lib/moon.pkg.json
+++ b/examples/docstring-demo/lib/moon.pkg.json
@@ -1,3 +1 @@
-{
- "name": "lib"
-}
\ No newline at end of file
+{}
\ No newline at end of file
diff --git a/examples/docstring-demo/main/main.mbt b/examples/docstring-demo/main/main.mbt
index 27eed0c9..34212e84 100644
--- a/examples/docstring-demo/main/main.mbt
+++ b/examples/docstring-demo/main/main.mbt
@@ -1,3 +1,3 @@
-fn init {
+fn main {
print(@lib.hello())
}
diff --git a/examples/docstring-demo/main/moon.pkg.json b/examples/docstring-demo/main/moon.pkg.json
index fd225667..dedc85a0 100644
--- a/examples/docstring-demo/main/moon.pkg.json
+++ b/examples/docstring-demo/main/moon.pkg.json
@@ -1,6 +1,6 @@
{
- "name": "main",
- "import": {
- "docstring-demo/lib": ""
- }
+ "is_main": true,
+ "import": [
+ "docstring-demo/lib"
+ ]
}
\ No newline at end of file