From 4d0fb9edd71dacaa71fe5ed8e00d1165bf6ee549 Mon Sep 17 00:00:00 2001 From: mhoennig Date: Sat, 25 Jul 2026 12:41:28 +0200 Subject: [PATCH] docs: Beispiel-Link auf den latest build (stabile Instanz hat sourceUrl noch nicht) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der Live-Beispiel-Link zeigte auf werkbaum.javagil.de — die stabile Instanz wird manuell deployt (scripts/deploy-prod.sh) und kennt ?sourceUrl= noch nicht (verifiziert: 0 Treffer im ausgelieferten HTML). Der Parameter waere dort stillschweigend ignoriert worden. Der Link zeigt nun auf die automatisch aus main deployte Pages-Instanz, die das Feature hat. Co-Authored-By: Claude Opus 4.8 --- README.de.md | 7 +++++-- README.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.de.md b/README.de.md index 1cee1db..4232923 100644 --- a/README.de.md +++ b/README.de.md @@ -44,13 +44,16 @@ Der Editor kann seinen Notationstext über den Query-Parameter `sourceUrl` aus einer externen Textdatei beziehen — praktisch zum Teilen eines Plans oder wenn die Quelle in Git oder einem Wiki gepflegt wird: -**▶ [Live-Beispiel](https://werkbaum.javagil.de/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt)** +**▶ [Live-Beispiel](https://mhoennig.github.io/werkbaum/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt)** — lädt [`docs/example-plan.txt`](docs/example-plan.txt): ``` -https://werkbaum.javagil.de/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt +https://mhoennig.github.io/werkbaum/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt ``` +(Das Beispiel zeigt auf den latest build 🚧; die stabile Instanz kann +`sourceUrl` ab ihrem nächsten Produktions-Deploy.) + Der geladene Text wird als **eigenes Dokument** geführt, dessen **Name die URL** ist — eigene Dokumente bleiben unberührt, und derselbe Link aktualisiert dieses eine Dokument, statt Kopien anzuhäufen. Die URL ist die Quelle der Wahrheit: Sie diff --git a/README.md b/README.md index 8760528..f120cd8 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,16 @@ The editor can pull its notation text from an external text file via the `sourceUrl` query parameter — handy for sharing a plan or keeping the source in Git or a wiki: -**▶ [Live example](https://werkbaum.javagil.de/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt)** +**▶ [Live example](https://mhoennig.github.io/werkbaum/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt)** — loads [`docs/example-plan.txt`](docs/example-plan.txt): ``` -https://werkbaum.javagil.de/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt +https://mhoennig.github.io/werkbaum/?sourceUrl=https://raw.githubusercontent.com/mhoennig/werkbaum/main/docs/example-plan.txt ``` +(The example points at the latest build 🚧; the stable instance supports +`sourceUrl` from its next production deploy on.) + The loaded text becomes its own document whose **name is the URL**, so your own documents stay untouched; the same link updates that one document instead of piling up copies. The URL is the source of truth — it is re-fetched on every