File size: 5,322 Bytes
3a65265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!doctype html>
<html lang="en" data-theme="auto">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="color-scheme" content="light dark" />
    <title>
      {% if page.url == "/" %}{{ site.title }}{% else %}{{ page.title | default: page.path | split: "/" | last | replace: ".md", "" }} · {{ site.title }}{% endif %}
    </title>

    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=Fragment+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
      rel="stylesheet"
    />
    <script>
      (() => {
        try {
          const stored = localStorage.getItem("moltbot:theme");
          if (stored === "light" || stored === "dark") document.documentElement.dataset.theme = stored;
        } catch {
          // ignore
        }
      })();
    </script>
    <link rel="stylesheet" href="{{ "/assets/terminal.css" | relative_url }}" />
    <link rel="stylesheet" href="{{ "/assets/markdown.css" | relative_url }}" />
    <script defer src="{{ "/assets/theme.js" | relative_url }}"></script>
  </head>

  <body>
    <a class="skip-link" href="#content">Skip to content</a>

    <header class="shell">
      <div class="shell__frame" role="banner">
        <div class="shell__titlebar">
          <div class="brand" aria-label="Moltbot docs terminal">
            <img
              class="brand__logo"
              src="{{ "/assets/pixel-lobster.svg" | relative_url }}"
              alt=""
              width="40"
              height="40"
              decoding="async"
            />
            <div class="brand__text">
              <div class="brand__name">Moltbot</div>
              <div class="brand__hint">docs // lobster terminal</div>
            </div>
          </div>

          <div class="titlebar__actions">
            <a class="titlebar__cta" href="https://github.com/moltbot/moltbot">
              <span class="titlebar__cta-label">GitHub</span>
              <span class="titlebar__cta-meta">repo</span>
            </a>
            <a class="titlebar__cta titlebar__cta--accent" href="https://github.com/moltbot/moltbot/releases/latest">
              <span class="titlebar__cta-label">Download</span>
              <span class="titlebar__cta-meta">latest</span>
            </a>
          </div>
        </div>

        <div class="shell__nav" aria-label="Primary">
          <nav class="nav">
            {% assign nav = site.nav | default: empty %}
            {% for item in nav %}
              {% assign item_url = item.url | relative_url %}
              <a class="nav__link" href="{{ item_url }}">
                <span class="nav__chev"></span>{{ item.title }}
              </a>
            {% endfor %}
          </nav>

          <div class="shell__status" aria-hidden="true">
            <span class="status__dot"></span>
            <span class="status__text">
              {% if page.url == "/" %}
                ready
              {% else %}
                viewing: {{ page.path }}
              {% endif %}
            </span>
          </div>
        </div>
      </div>
    </header>

    <main id="content" class="content" role="main">
      <div class="terminal">
        <div class="terminal__prompt" aria-hidden="true">
          <span class="prompt__user">clawd</span>@<span class="prompt__host">moltbot</span>:<span class="prompt__path">~/docs</span>$<span class="prompt__cmd">
            {% if page.url == "/" %}cat index.md{% else %}less {{ page.path }}{% endif %}
          </span>
        </div>

        {% if page.summary %}
          <p class="terminal__summary">{{ page.summary }}</p>
        {% endif %}

        {% if page.read_when %}
          <details class="terminal__meta">
            <summary>Read when…</summary>
            <ul>
              {% for hint in page.read_when %}
                <li>{{ hint }}</li>
              {% endfor %}
            </ul>
          </details>
        {% endif %}

        <article class="markdown">
          {{ content }}
        </article>

        <footer class="terminal__footer" role="contentinfo">
          <div class="footer__line">
            <span class="footer__sig">moltbot.ai</span>
            <span class="footer__sep">·</span>
            <a href="https://github.com/moltbot/moltbot">source</a>
            <span class="footer__sep">·</span>
            <a href="https://github.com/moltbot/moltbot/releases">releases</a>
          </div>
          <div class="footer__hint" aria-hidden="true">
            tip: press <kbd>F2</kbd> (Mac: <kbd>fn</kbd>+<kbd>F2</kbd>) to flip
            the universe
          </div>
          <div class="footer__actions">
            <button
              class="theme-toggle"
              type="button"
              data-theme-toggle
              aria-label="Toggle theme (F2; on Mac: fn+F2)"
              aria-pressed="false"
            >
              <span class="theme-toggle__key">F2</span>
              <span class="theme-toggle__label" data-theme-label>theme</span>
            </button>
          </div>
	        </footer>
	      </div>
	    </main>
	  </body>
</html>