changes
Some checks failed
Build Org Website / build (push) Has been cancelled

This commit is contained in:
2026-05-08 12:44:07 +01:00
parent dbc897370c
commit a68e262730
9 changed files with 56 additions and 36 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -697,53 +697,59 @@ APP_HTML = r"""<!doctype html>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Org Site Authoring</title>
<style>
:root { color-scheme: light; --bg: #f6f3ed; --panel: #fffdf8; --ink: #222; --muted: #64615b; --line: #d8d1c3; --accent: #18615b; --accent-2: #8f3f2b; }
:root { color-scheme: light; --bg: #f4f5f2; --sidebar: #e8ece6; --panel: #fffefa; --panel-2: #f8faf7; --ink: #1e2524; --muted: #67706d; --line: #d7ddd6; --line-strong: #b9c5bd; --accent: #0f6861; --accent-2: #a64f2e; --focus: rgba(15, 104, 97, 0.16); --shadow: 0 16px 36px rgba(31, 42, 39, 0.08); }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button { border: 1px solid var(--line); background: #fff; color: var(--ink); min-height: 38px; padding: 0 12px; border-radius: 6px; cursor: pointer; }
button.primary { background: var(--accent); color: white; border-color: var(--accent); }
button { border: 1px solid var(--line); background: var(--panel); color: var(--ink); min-height: 38px; padding: 0 12px; border-radius: 7px; cursor: pointer; transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease; }
button:hover { border-color: var(--line-strong); background: #ffffff; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--focus); border-color: var(--accent); }
button.primary { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 8px 20px rgba(15, 104, 97, 0.18); }
button.primary:hover { background: #0b5953; border-color: #0b5953; }
button.icon { min-width: 38px; padding: 0 10px; font-weight: 700; }
.app { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, 420px) 1fr; }
aside { border-right: 1px solid var(--line); background: #eee8dc; padding: 18px; overflow: auto; max-height: 100vh; }
main { padding: 20px clamp(18px, 3vw, 42px); overflow: auto; max-height: 100vh; }
aside { border-right: 1px solid var(--line); background: var(--sidebar); padding: 18px; overflow: auto; max-height: 100vh; }
main { padding: 24px clamp(18px, 3vw, 42px); overflow: auto; max-height: 100vh; }
.topbar { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 16px; }
h1 { font-size: 20px; margin: 0; font-weight: 700; }
h2 { font-size: 15px; margin: 18px 0 8px; color: var(--muted); font-weight: 700; }
.status { border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; border-radius: 6px; font-size: 14px; margin-bottom: 14px; }
.status.running { border-color: var(--accent-2); }
.status.ok { border-color: var(--accent); }
.status.fail { border-color: #a12a2a; }
.quick-link { display: inline-block; color: var(--accent); font-size: 13px; margin: -6px 0 14px; }
h1 { font-size: 20px; margin: 0; font-weight: 760; }
h2 { font-size: 13px; margin: 22px 0 9px; color: var(--muted); font-weight: 760; text-transform: uppercase; }
.status { border: 1px solid var(--line); background: rgba(255, 254, 250, 0.78); padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset; }
.status.running { border-color: #d1a15a; background: #fff9ec; }
.status.ok { border-color: #86b9a6; background: #f3fbf7; }
.status.fail { border-color: #d69a92; background: #fff4f2; }
.quick-link { display: inline-block; color: var(--accent); font-size: 13px; margin: -7px 0 14px; text-decoration: none; }
.quick-link:hover { text-decoration: underline; }
.filters { display: grid; gap: 8px; margin-bottom: 14px; }
.page-list { display: grid; gap: 3px; }
.page-list { display: grid; gap: 4px; }
.tree-dir { margin: 1px 0; }
.tree-dir summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 34px; padding: 6px 8px; border-radius: 6px; cursor: pointer; color: var(--ink); }
.tree-dir summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 36px; padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; color: var(--ink); }
.tree-dir summary::-webkit-details-marker { display: none; }
.tree-dir summary:hover, .page-item:hover { background: rgba(255, 253, 248, 0.78); }
.tree-dir summary:hover, .page-item:hover { background: rgba(255, 254, 250, 0.72); border-color: rgba(185, 197, 189, 0.7); }
.tree-dir summary::before { content: ">"; display: inline-block; width: 14px; color: var(--muted); }
.tree-dir[open] > summary::before { content: "v"; }
.tree-label { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tree-label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.tree-label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 720; }
.tree-label span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.tree-children { display: grid; gap: 2px; margin-left: 15px; padding-left: 10px; border-left: 1px solid var(--line); }
.tree-add { min-height: 28px; padding: 0 8px; font-size: 12px; color: var(--accent); background: transparent; }
.page-item { width: 100%; text-align: left; min-height: auto; padding: 8px 10px; background: transparent; }
.page-item.active { border-color: var(--accent); background: var(--panel); }
.page-item strong { display: block; font-size: 14px; margin-bottom: 2px; overflow-wrap: anywhere; }
.tree-children { display: grid; gap: 3px; margin-left: 15px; padding-left: 10px; border-left: 1px solid var(--line); }
.tree-add { min-height: 28px; padding: 0 8px; font-size: 12px; color: var(--accent); background: transparent; opacity: 0.82; }
.tree-add:hover { opacity: 1; background: #ffffff; }
.page-item { width: 100%; text-align: left; min-height: auto; padding: 9px 10px; background: transparent; border-color: transparent; }
.page-item.active { border-color: rgba(15, 104, 97, 0.55); background: var(--panel); box-shadow: 0 8px 18px rgba(31, 42, 39, 0.06); }
.page-item strong { display: block; font-size: 14px; margin-bottom: 2px; overflow-wrap: anywhere; font-weight: 720; }
.page-item span { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.page-item .filename { color: var(--ink); }
form { display: grid; gap: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 7px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--panel-2); border-radius: 8px; padding: 7px; }
.toolbar input[type="file"] { display: none; }
.link-picker { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 8px; }
.link-picker { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--panel-2); border-radius: 8px; padding: 8px; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); padding: 9px 10px; }
textarea { min-height: 48vh; resize: vertical; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; line-height: 1.45; font-size: 14px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); padding: 10px 11px; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }
input:hover, textarea:hover, select:hover { border-color: var(--line-strong); }
textarea { min-height: 48vh; resize: vertical; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; line-height: 1.5; font-size: 14px; }
.content-layout { display: grid; gap: 12px; }
.content-layout.previewing { grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); align-items: start; }
.preview-panel { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 12px 14px; min-height: 48vh; overflow: auto; overflow-wrap: anywhere; }
.preview-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 14px 16px; min-height: 48vh; overflow: auto; overflow-wrap: anywhere; box-shadow: var(--shadow); }
.preview-panel h1, .preview-panel h2, .preview-panel h3 { color: var(--ink); margin: 0.8em 0 0.35em; }
.preview-panel h1 { font-size: 24px; }
.preview-panel h2 { font-size: 20px; }
@@ -755,12 +761,12 @@ APP_HTML = r"""<!doctype html>
.hint { color: var(--muted); font-size: 13px; }
.full { grid-column: 1 / -1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: #e5eee9; color: #134d48; padding: 2px 7px; border-radius: 999px; font-size: 12px; }
.tag { background: #e3f0ec; color: #134d48; padding: 2px 7px; border-radius: 999px; font-size: 12px; }
.queue-list { display: grid; gap: 8px; margin-bottom: 12px; }
.queue-item { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 9px 10px; font-size: 13px; }
.queue-item { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 10px 11px; font-size: 13px; box-shadow: 0 6px 18px rgba(31, 42, 39, 0.04); }
.queue-item strong { display: block; overflow-wrap: anywhere; }
.queue-item span { color: var(--muted); overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow: auto; max-height: 280px; background: #201f1d; color: #f7f1e4; padding: 12px; border-radius: 6px; font-size: 12px; }
pre { white-space: pre-wrap; overflow: auto; max-height: 280px; background: #1d2422; color: #edf5ef; padding: 14px; border-radius: 8px; font-size: 12px; box-shadow: var(--shadow); }
@media (max-width: 980px) { .content-layout.previewing { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } aside, main { max-height: none; } aside { border-right: 0; border-bottom: 1px solid var(--line); } .grid { grid-template-columns: 1fr; } .link-picker { grid-template-columns: 1fr; } }
</style>
@@ -862,7 +868,7 @@ APP_HTML = r"""<!doctype html>
</main>
</div>
<script>
const state = { pages: [], currentPath: "", build: null, pathManual: false };
const state = { pages: [], currentPath: "", build: null, pathManual: false, treeOpen: {} };
const $ = (selector) => document.querySelector(selector);
const editor = $("#editor");
const mdToolbar = $("#mdToolbar");
@@ -977,7 +983,11 @@ APP_HTML = r"""<!doctype html>
function renderDirectory(name, node, expandAll) {
const details = document.createElement("details");
details.className = "tree-dir";
details.open = expandAll || node.path.split("/").length <= 2 || containsCurrentPath(node);
const savedOpen = Object.prototype.hasOwnProperty.call(state.treeOpen, node.path) ? state.treeOpen[node.path] : null;
details.open = expandAll || (savedOpen === null ? node.path.split("/").length <= 2 || containsCurrentPath(node) : savedOpen);
details.addEventListener("toggle", () => {
if (!expandAll) state.treeOpen[node.path] = details.open;
});
const summary = document.createElement("summary");
const label = document.createElement("span");

View File

@@ -0,0 +1,8 @@
#+TITLE: Datacamp AI
#+OPTIONS: num:nil
#+DATE: <2026-05-08 Fri 12:40>
#+filetags: :life:
#+COMMENTS: t
#+SLUG: datacamp-ai
Something interesting I came across:

View File

@@ -6,6 +6,7 @@ See the categories: @@html:<a href="../home/categories.html">Categories</a>@@
* 2026
** May 2026
- [[file:2026/05-may/datacamp-ai.org][Datacamp AI]] @@html:<span class="post-date">08-05-2026 12:40</span>@@ @@html:<a href="/tags/life.html"><span class="post-tag">life</span></a>@@
- [[file:2026/05-may/using-codex-07-05-26.org][Using Codex]] @@html:<span class="post-date">07-05-2026 16:12</span>@@ @@html:<a href="/tags/life.html"><span class="post-tag">life</span></a>@@
- [[file:2026/05-may/03-05-week-review.org][[03-05-2026] - Weekly Review]] @@html:<span class="post-date">03-05-2026 12:00</span>@@ @@html:<a href="/tags/review.html"><span class="post-tag">review</span></a>@@
- [[file:2026/05-may/sun-soak-01-05.org][Soaking in the sun]] @@html:<span class="post-date">01-05-2026 12:27</span>@@ @@html:<a href="/tags/life.html"><span class="post-tag">life</span></a>@@

View File

@@ -7,7 +7,7 @@
- [[file:../tags/insights.org][@@html:<span class="post-tag">insights</span>@@]] (4)
- [[file:../tags/introduction.org][@@html:<span class="post-tag">introduction</span>@@]] (3)
- [[file:../tags/learning.org][@@html:<span class="post-tag">learning</span>@@]] (16)
- [[file:../tags/life.org][@@html:<span class="post-tag">life</span>@@]] (29)
- [[file:../tags/life.org][@@html:<span class="post-tag">life</span>@@]] (30)
- [[file:../tags/maths.org][@@html:<span class="post-tag">maths</span>@@]] (1)
- [[file:../tags/notes.org][@@html:<span class="post-tag">notes</span>@@]] (17)
- [[file:../tags/reading.org][@@html:<span class="post-tag">reading</span>@@]] (1)

View File

@@ -4,7 +4,7 @@
See the categories: @@html:<a href="../home/categories.html">Categories</a>@@
* Posts:
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">08-05-2026 12:27</span>@@
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">08-05-2026 12:43</span>@@
- [[file:posts-list.sync-conflict-20260417-233432-VT6366A.org][Posts List]] @@html:<span class="post-date">14-04-2026 16:36</span>@@
- [[file:career/ha-dr.org][High Availability, Disaster Recovery and Business Continuity]] @@html:<span class="post-date">11-03-2026 17:18</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
- [[file:career/javascript.org][Understands the Javascript language]] @@html:<span class="post-date">11-03-2026 16:52</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@

View File

@@ -2,6 +2,7 @@
#+OPTIONS: toc:nil num:nil
* Recently Updated (top 26 files)
- [[file:blogs/2026/05-may/datacamp-ai.org][Datacamp AI]] @@html:<span class="post-date">2026-05-08 12:40</span>@@
- [[file:blogs/2026/05-may/using-codex-07-05-26.org][Using Codex]] @@html:<span class="post-date">2026-05-07 16:12</span>@@
- [[file:blogs/2026/05-may/03-05-week-review.org][[03-05-2026] - Weekly Review]] @@html:<span class="post-date">2026-05-03 12:00</span>@@
- [[file:blogs/2026/05-may/sun-soak-01-05.org][Soaking in the sun]] @@html:<span class="post-date">2026-05-01 12:27</span>@@
@@ -27,4 +28,3 @@
- [[file:blogs/2026/03-march/intellectually-challenging-myself-30-03-26.org][Intellectually challenging oneself]] @@html:<span class="post-date">2026-03-31 11:14</span>@@
- [[file:blogs/2026/03-march/cooking-dinner-29-03-26.org][Cooking Dinner (num)]] @@html:<span class="post-date">2026-03-30 11:49</span>@@
- [[file:blogs/2026/03-march/29-03-week-review.org][[29-03-2026] - Weekly Review]] @@html:<span class="post-date">2026-03-29 12:00</span>@@
- [[file:blogs/2026/03-march/training-on-friday-afternoon-27-03-26.org][Training time on Friday afternoon]] @@html:<span class="post-date">2026-03-27 15:09</span>@@

View File

@@ -11,12 +11,12 @@
- [[file:tags/notes.org][Tag: notes]]
- [[file:tags/review.org][Tag: review]]
- [[file:tags/website.org][Tag: website]]
- [[file:tags/update.org][Tag: update]]
- [[file:tags/life.org][Tag: life]]
- [[file:tags/education.org][Tag: education]]
- [[file:tags/update.org][Tag: update]]
- [[file:tags/insights.org][Tag: insights]]
- [[file:tags/reading.org][Tag: reading]]
- [[file:tags/emacs.org][Tag: emacs]]
- [[file:tags/reading.org][Tag: reading]]
- [[file:tags/maths.org][Tag: maths]]
- home
- [[file:home/countdown.org][Countdown]]

View File

@@ -2,6 +2,7 @@
#+OPTIONS: toc:nil num:nil title:nil
* Posts tagged life
- [[file:../blogs/2026/05-may/datacamp-ai.org][Datacamp AI]]
- [[file:../blogs/2026/05-may/using-codex-07-05-26.org][Using Codex]]
- [[file:../blogs/2026/05-may/sun-soak-01-05.org][Soaking in the sun]]
- [[file:../blogs/2026/04-april/wise-words-29-04.org][Wise Words I need to engrain]]