diff --git a/QUICKSTART.md b/QUICKSTART.md index 0ee30cd..80e13c5 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -43,14 +43,26 @@ source .venv/bin/activate python workflow.py posts.yaml ``` -### 3. Ganzes Repository (Forgejo/Gitea) ⚠️ Experimentell +### 3. Ganzes Repository (Forgejo/Gitea) +**Alle Markdown-Dateien importieren:** ```bash source .venv/bin/activate python workflow.py --repo "https://codeberg.org/user/repo" main ``` -**Hinweis:** Diese Funktion wurde noch nicht ausgiebig getestet. Nutzen Sie zunächst Modus 1 oder 2. +**Nur bestimmte Dateien importieren (mit Filter):** +```bash +source .venv/bin/activate +python workflow.py --repo "https://git.rpi-virtuell.de/Comenius-Institut/FOERBICO_und_rpi-virtuell" main --filter 'Website/content/posts/*/index.md' +``` + +**Filter-Beispiele:** +- `'posts/*/index.md'` - Nur index.md in posts/-Unterverzeichnissen +- `'Website/content/posts/*/index.md'` - Mit vollständigem Pfad +- `'content/*.md'` - Alle .md-Dateien direkt in content/ + +**Hinweis:** Der Filter unterstützt Wildcards (`*`) für Verzeichnisnamen. ## Schnellstart-Schritte