From c1107371d5a8a21221d8f73754b670d690598afd Mon Sep 17 00:00:00 2001 From: abikesa Date: Wed, 13 Sep 2023 23:28:38 -0400 Subject: [PATCH] Update documentation --- .../act_1/act_1_0/act_1_0_1/act_1_0_1_2.ipynb | 204 +++++++++++++--- act_1/act_1_0/act_1_0_1/act_1_0_1_2.html | 217 +++++++++++++----- genindex.html | 1 - intro.html | 1 - search.html | 1 - searchindex.js | 2 +- 6 files changed, 329 insertions(+), 97 deletions(-) diff --git a/_sources/act_1/act_1_0/act_1_0_1/act_1_0_1_2.ipynb b/_sources/act_1/act_1_0/act_1_0_1/act_1_0_1_2.ipynb index 07e12ea..63bef0d 100644 --- a/_sources/act_1/act_1_0/act_1_0_1/act_1_0_1_2.ipynb +++ b/_sources/act_1/act_1_0/act_1_0_1/act_1_0_1_2.ipynb @@ -4,38 +4,178 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# \n", - "\n", - "# 58\n", - "\n", - "*`May the fourth be with you!`*\n", - "\n", - "
\n", - "1. Philosophy\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", + "\n", + "\n", + "\n", + " \n", + " \n", + " \n", + "\n", + "\n", + "
\n", + " 1. Philosophy\n", + " (Data generating process)
\n", + " Agents - \\( F=ma \\)\n", + "
    \n", + "
  • gods
  • \n", + "
  • demigods
  • \n", + "
  • heroes
  • \n", + "
  • villains
  • \n", + "
  • mortals
  • \n", + "
\n", + "\n", + " Verbs - \\( W=Fd \\)\n", + "
    \n", + "
  • create
  • \n", + "
  • shepherd
  • \n", + "
  • free
  • \n", + "
  • control
  • \n", + "
  • usurp
  • \n", + "
\n", + "\n", + " Objects - \\( Credo \\)\n", + "
    \n", + "
  • cosmos
  • \n", + "
  • planets 🪐
  • \n", + "
  • life
  • \n", + "
  • emotion\n", + "
    \n", + "
      \n", + "
    • reverence
    • \n", + "
    • worship
    • \n", + "
    • terror
    • \n", + "
    \n", + "
    \n", + "
  • \n", + "
  • social
  • \n", + "
\n", + "
\n", + "\n", + "\n" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "from IPython.display import display, HTML # Updated import line\n", + "\n", + "html_code = '''\n", + "\n", + "\n", + "\n", + " \n", + " \n", + " \n", + "\n", + "\n", + "
\n", + " 1. Philosophy\n", + " (Data generating process)
\n", + " Agents - \\\\( F=ma \\\\)\n", + "
    \n", + "
  • gods
  • \n", + "
  • demigods
  • \n", + "
  • heroes
  • \n", + "
  • villains
  • \n", + "
  • mortals
  • \n", + "
\n", + "\n", + " Verbs - \\\\( W=Fd \\\\)\n", + "
    \n", + "
  • create
  • \n", + "
  • shepherd
  • \n", + "
  • free
  • \n", + "
  • control
  • \n", + "
  • usurp
  • \n", + "
\n", + "\n", + " Objects - \\\\( Credo \\\\)\n", + "
    \n", + "
  • cosmos
  • \n", + "
  • planets 🪐
  • \n", + "
  • life
  • \n", + "
  • emotion\n", + "
    \n", + "
      \n", + "
    • reverence
    • \n", + "
    • worship
    • \n", + "
    • terror
    • \n", + "
    \n", + "
    \n", + "
  • \n", + "
  • social
  • \n", + "
\n", + "
\n", + "\n", + "\n", + "'''\n", + "\n", + "display(HTML(html_code))\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ "
\n", "\n", "
\n", diff --git a/act_1/act_1_0/act_1_0_1/act_1_0_1_2.html b/act_1/act_1_0/act_1_0_1/act_1_0_1_2.html index 661d639..e913bc2 100644 --- a/act_1/act_1_0/act_1_0_1/act_1_0_1_2.html +++ b/act_1/act_1_0/act_1_0_1/act_1_0_1_2.html @@ -271,7 +271,6 @@
  • -
  • .
  • @@ -519,9 +518,7 @@ `); - + @@ -537,16 +534,6 @@

    -
    -

    Contents

    -
    -
    @@ -558,37 +545,161 @@

    Contents

    #

    -
    -
    -

    58#

    -

    May the fourth be with you!

    -
    -1. Philosophy -

    (Data generating process)

    -

    Agents - \(F=ma\)

    -
      -
    • gods

    • -
    • demigods

    • -
    • heroes

    • -
    • villains

    • -
    • mortals

    • -
    -

    Verbs - \(W=Fd\)

    -
      -
    • create

    • -
    • shepherd

    • -
    • free

    • -
    • control

    • -
    • usurp

    • -
    -

    Objects - \(Credo\)

    -
      -
    • cosmos

    • -
    • planets 🪐

    • -
    • life

    • -
    • emotion

    • -
    • social

    • -
    +
    +
    + + +Hide code cell source + +
    +
    from IPython.display import display, HTML  # Updated import line
    +
    +html_code = '''
    +<!DOCTYPE html>
    +<html>
    +<head>
    +    <style>
    +        .expanded-info {
    +            display: none;
    +        }
    +        span.expanded-word {
    +            text-decoration: underline;
    +            cursor: pointer;
    +        }
    +    </style>
    +    <script>
    +        function toggleExpand(elementId) {
    +            var expandedInfo = document.getElementById(elementId);
    +            if (expandedInfo.style.display === 'none' || expandedInfo.style.display === '') {
    +                expandedInfo.style.display = 'block';
    +            } else {
    +                expandedInfo.style.display = 'none';
    +            }
    +        }
    +    </script>
    +    <script type="text/javascript" async
    +      src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
    +    </script>
    +</head>
    +<body>
    +    <details>
    +        <summary>1. Philosophy</summary>
    +        (Data generating process) <br>
    +        Agents - <span>\\( F=ma \\)</span>
    +        <ul>
    +            <li>gods</li>
    +            <li>demigods</li>
    +            <li>heroes</li>
    +            <li>villains</li>
    +            <li>mortals</li>
    +        </ul>
    +
    +        Verbs - <span>\\( W=Fd \\)</span>
    +        <ul>
    +            <li>create</li>
    +            <li>shepherd</li>
    +            <li>free</li>
    +            <li>control</li>
    +            <li>usurp</li>
    +        </ul>
    +
    +        Objects - <span>\\( Credo \\)</span>
    +        <ul>
    +            <li>cosmos</li>
    +            <li>planets 🪐</li>
    +            <li>life</li>
    +            <li><span class="expanded-word" onclick="toggleExpand('emotion')">emotion</span>
    +                <div id="emotion" class="expanded-info">
    +                    <ul>
    +                        <li>reverence</li>
    +                        <li>worship</li>
    +                        <li>terror</li>
    +                    </ul>
    +                </div>
    +            </li>
    +            <li>social</li>
    +        </ul>
    +    </details>
    +</body>
    +</html>
    +'''
    +
    +display(HTML(html_code))
    +
    +
    +
    +
    +
    +
    + + + + + + + + +
    + 1. Philosophy + (Data generating process)
    + Agents - \( F=ma \) +
      +
    • gods
    • +
    • demigods
    • +
    • heroes
    • +
    • villains
    • +
    • mortals
    • +
    + + Verbs - \( W=Fd \) +
      +
    • create
    • +
    • shepherd
    • +
    • free
    • +
    • control
    • +
    • usurp
    • +
    + + Objects - \( Credo \) +
      +
    • cosmos
    • +
    • planets 🪐
    • +
    • life
    • +
    • emotion +
      +
        +
      • reverence
      • +
      • worship
      • +
      • terror
      • +
      +
      +
    • +
    • social
    • +
    +
    + + +
    +
    2. Knowledge @@ -968,22 +1079,6 @@

    58#< -
    -