Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
abikesa committed Sep 14, 2023
1 parent 9e6554a commit c110737
Show file tree
Hide file tree
Showing 6 changed files with 329 additions and 97 deletions.
204 changes: 172 additions & 32 deletions _sources/act_1/act_1_0/act_1_0_1/act_1_0_1_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,178 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# \n",
"\n",
"# 58\n",
"\n",
"*`May the fourth be with you!`*\n",
"\n",
"<Details>\n",
"<Summary>1. Philosophy</Summary>\n",
"\n",
"(Data generating process) \n",
" \n",
"Agents - $F=ma$\n",
"- gods\n",
"- demigods\n",
"- heroes\n",
"- villains\n",
"- mortals \n",
"\n",
"Verbs - $W=Fd$\n",
"- create\n",
"- shepherd \n",
"- free\n",
"- control \n",
"- usurp \n",
"\n",
"Objects - $Credo$\n",
"- cosmos\n",
"- planets 🪐\n",
"- life \n",
"- emotion\n",
"- social \n",
"\n",
"# "
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"tags": [
"hide-input"
]
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<!DOCTYPE html>\n",
"<html>\n",
"<head>\n",
" <style>\n",
" .expanded-info {\n",
" display: none;\n",
" }\n",
" span.expanded-word {\n",
" text-decoration: underline;\n",
" cursor: pointer;\n",
" }\n",
" </style>\n",
" <script>\n",
" function toggleExpand(elementId) {\n",
" var expandedInfo = document.getElementById(elementId);\n",
" if (expandedInfo.style.display === 'none' || expandedInfo.style.display === '') {\n",
" expandedInfo.style.display = 'block';\n",
" } else {\n",
" expandedInfo.style.display = 'none';\n",
" }\n",
" }\n",
" </script>\n",
" <script type=\"text/javascript\" async\n",
" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML\">\n",
" </script>\n",
"</head>\n",
"<body>\n",
" <details>\n",
" <summary>1. Philosophy</summary>\n",
" (Data generating process) <br>\n",
" Agents - <span>\\( F=ma \\)</span>\n",
" <ul>\n",
" <li>gods</li>\n",
" <li>demigods</li>\n",
" <li>heroes</li>\n",
" <li>villains</li>\n",
" <li>mortals</li>\n",
" </ul>\n",
"\n",
" Verbs - <span>\\( W=Fd \\)</span>\n",
" <ul>\n",
" <li>create</li>\n",
" <li>shepherd</li>\n",
" <li>free</li>\n",
" <li>control</li>\n",
" <li>usurp</li>\n",
" </ul>\n",
"\n",
" Objects - <span>\\( Credo \\)</span>\n",
" <ul>\n",
" <li>cosmos</li>\n",
" <li>planets 🪐</li>\n",
" <li>life</li>\n",
" <li><span class=\"expanded-word\" onclick=\"toggleExpand('emotion')\">emotion</span>\n",
" <div id=\"emotion\" class=\"expanded-info\">\n",
" <ul>\n",
" <li>reverence</li>\n",
" <li>worship</li>\n",
" <li>terror</li>\n",
" </ul>\n",
" </div>\n",
" </li>\n",
" <li>social</li>\n",
" </ul>\n",
" </details>\n",
"</body>\n",
"</html>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from IPython.display import display, HTML # Updated import line\n",
"\n",
"html_code = '''\n",
"<!DOCTYPE html>\n",
"<html>\n",
"<head>\n",
" <style>\n",
" .expanded-info {\n",
" display: none;\n",
" }\n",
" span.expanded-word {\n",
" text-decoration: underline;\n",
" cursor: pointer;\n",
" }\n",
" </style>\n",
" <script>\n",
" function toggleExpand(elementId) {\n",
" var expandedInfo = document.getElementById(elementId);\n",
" if (expandedInfo.style.display === 'none' || expandedInfo.style.display === '') {\n",
" expandedInfo.style.display = 'block';\n",
" } else {\n",
" expandedInfo.style.display = 'none';\n",
" }\n",
" }\n",
" </script>\n",
" <script type=\"text/javascript\" async\n",
" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML\">\n",
" </script>\n",
"</head>\n",
"<body>\n",
" <details>\n",
" <summary>1. Philosophy</summary>\n",
" (Data generating process) <br>\n",
" Agents - <span>\\\\( F=ma \\\\)</span>\n",
" <ul>\n",
" <li>gods</li>\n",
" <li>demigods</li>\n",
" <li>heroes</li>\n",
" <li>villains</li>\n",
" <li>mortals</li>\n",
" </ul>\n",
"\n",
" Verbs - <span>\\\\( W=Fd \\\\)</span>\n",
" <ul>\n",
" <li>create</li>\n",
" <li>shepherd</li>\n",
" <li>free</li>\n",
" <li>control</li>\n",
" <li>usurp</li>\n",
" </ul>\n",
"\n",
" Objects - <span>\\\\( Credo \\\\)</span>\n",
" <ul>\n",
" <li>cosmos</li>\n",
" <li>planets 🪐</li>\n",
" <li>life</li>\n",
" <li><span class=\"expanded-word\" onclick=\"toggleExpand('emotion')\">emotion</span>\n",
" <div id=\"emotion\" class=\"expanded-info\">\n",
" <ul>\n",
" <li>reverence</li>\n",
" <li>worship</li>\n",
" <li>terror</li>\n",
" </ul>\n",
" </div>\n",
" </li>\n",
" <li>social</li>\n",
" </ul>\n",
" </details>\n",
"</body>\n",
"</html>\n",
"'''\n",
"\n",
"display(HTML(html_code))\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"</Details>\n",
"\n",
"<Details>\n",
Expand Down
Loading

0 comments on commit c110737

Please sign in to comment.