diff --git a/.gitignore b/.gitignore
index c3ab632..82f7656 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
*.pyc
*.c
*.cpp
-*.html
+armaclass/*.html
*.pyd
*.so
*.prof
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..e907a73
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,99 @@
+
+
+
+
+
+ Armaclass Live Demo
+
+
+
+
+
+ packages = ["armaclass"]
+
+
+def input_changed():
+ import js
+ import armaclass
+ import json
+
+ input_obj = js.document.getElementById("input")
+ output_obj = js.document.getElementById("output")
+ errors_obj = js.document.getElementById("errors")
+ value = input_obj.value
+
+ try:
+ parsed = armaclass.parse(value)
+ output_text = json.dumps(parsed, indent=4)
+ except Exception as exc:
+ output_obj.textContent = ""
+ errors_obj.textContent = str(exc)
+ errors_obj.className = "invalid"
+ else:
+ output_obj.textContent = output_text
+ errors_obj.textContent = ""
+ errors_obj.className = ""
+
+
+
+
+
+
+ input_changed()
+
+
\ No newline at end of file