diff --git a/lib/yui/common/yuidoc.json b/lib/yui/common/yuidoc.json
new file mode 100644
index 00000000000..1203b2c64cf
--- /dev/null
+++ b/lib/yui/common/yuidoc.json
@@ -0,0 +1,15 @@
+{
+    "name": "Moodle",
+    "description": "YUI documentation for Moodle",
+    "url": "https://moodle.org",
+    "options": {
+        "external": {
+            "data": "http://yuilibrary.com/yui/docs/api/data.json"
+        },
+        "linkNatives": true,
+        "attributesEmit": "true",
+        "selleck": "true",
+        "outdir": "../yuidocs",
+        "paths": "**/yui/src/*"
+    }
+}