diff --git a/demo/src/assets/agentarray.js b/demo/src/assets/agentarray.js
new file mode 100644
index 00000000..2e4f4ea6
--- /dev/null
+++ b/demo/src/assets/agentarray.js
@@ -0,0 +1,26 @@
+function runSomeScript() {
+ console.log('%c AgentScript', 'font-weight: bold; font-size: 50px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)');
+}
+
+runSomeScript()
+
+
+function addLiveCodeExampleForAgentArrayPage() {
+ const containerElement = document.querySelector('body article div')
+ const liveCodeContainer = document.createElement('div')
+
+ /**
+ * Adding some clean-jsdoc-theme class names
+ */
+ liveCodeContainer.classList.add('method-member-container', 'flex', 'flex-col', 'w-100', 'overflow-auto', 'mt-20')
+
+
+ liveCodeContainer.innerHTML += `
+ Coding Playground
+
+ `
+
+ containerElement.append(liveCodeContainer)
+}
+
+window.addEventListener('DOMContentLoaded', addLiveCodeExampleForAgentArrayPage);
diff --git a/jsdoc-config.json b/jsdoc-config.json
index 1f0f7acd..c200d61a 100644
--- a/jsdoc-config.json
+++ b/jsdoc-config.json
@@ -24,11 +24,22 @@
"default_theme": "dark",
"exclude_inherited": false,
"include_css": [
- "./demo/src/assets/style.css"
+ {
+ "filepath": "./demo/src/assets/style.css",
+ "targets": [
+ "AgentArray"
+ ]
+ }
],
"include_js": [
"./demo/src/assets/script.js",
- "./demo/src/assets/run-only-for-agentscript.js"
+ {
+ "filepath": "./demo/src/assets/agentarray.js",
+ "targets": [
+ "AgentArray",
+ "tutorial-AgentArray_"
+ ]
+ }
],
"static_dir": [
"./demo/src/assets/png",