docs: Beispiel-Link auf den latest build (stabile Instanz hat sourceUrl noch nicht)
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
ca98f0a055
commit
4d0fb9edd7
+5
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user