Remove AGENT-MANUAL.md and drop references
Node reference stays in docs/NODES.md; docx build script points there instead. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -77,5 +77,4 @@ https://kode.hannesahlin.se/n3wk/nextcloud-collabora-nodered
|
|||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
- [docs/NODES.md](docs/NODES.md) — node reference and examples
|
- [docs/NODES.md](docs/NODES.md) — node reference and examples
|
||||||
- [docs/AGENT-MANUAL.md](docs/AGENT-MANUAL.md) — flow-building guide for agents
|
|
||||||
- [docs/INFRASTRUCTURE.md](docs/INFRASTRUCTURE.md) — server layout
|
- [docs/INFRASTRUCTURE.md](docs/INFRASTRUCTURE.md) — server layout
|
||||||
|
|||||||
+4
-4
@@ -1,7 +1,7 @@
|
|||||||
# Docx-manual
|
# Docx export
|
||||||
|
|
||||||
Kör `./scripts/build-manual.sh` (kräver pandoc) för att generera:
|
Run `./scripts/build-manual.sh` (needs pandoc) to generate:
|
||||||
|
|
||||||
`Assistentmanual-Nextcloud-Collabora-noder.docx`
|
`Nextcloud-Collabora-noder.docx`
|
||||||
|
|
||||||
Källtext: [../docs/AGENT-MANUAL.md](../docs/AGENT-MANUAL.md)
|
Source: [../docs/NODES.md](../docs/NODES.md)
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Bygger artifacts/Assistentmanual-Nextcloud-Collabora-noder.docx från docs/AGENT-MANUAL.md
|
# Build artifacts/Nextcloud-Collabora-noder.docx from docs/NODES.md
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
MD="${ROOT}/docs/AGENT-MANUAL.md"
|
MD="${ROOT}/docs/NODES.md"
|
||||||
OUT="${ROOT}/artifacts/Assistentmanual-Nextcloud-Collabora-noder.docx"
|
OUT="${ROOT}/artifacts/Nextcloud-Collabora-noder.docx"
|
||||||
|
|
||||||
if ! command -v pandoc >/dev/null 2>&1; then
|
if ! command -v pandoc >/dev/null 2>&1; then
|
||||||
echo "pandoc saknas — installera med: sudo apt install pandoc"
|
echo "pandoc not found — install with: sudo apt install pandoc"
|
||||||
echo "Markdown-källa finns i: ${MD}"
|
echo "Markdown source: ${MD}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "${ROOT}/artifacts"
|
mkdir -p "${ROOT}/artifacts"
|
||||||
pandoc "${MD}" -o "${OUT}"
|
pandoc "${MD}" -o "${OUT}"
|
||||||
echo "Skapad: ${OUT}"
|
echo "Created: ${OUT}"
|
||||||
|
|||||||
Reference in New Issue
Block a user