Docs: Add filter examples to QUICKSTART.md
- Added --filter option examples for repository imports - Included practical filter patterns (posts/*/index.md, etc.) - Removed experimental warning as feature is now tested - Added real-world example with FOERBICO repository
This commit is contained in:
parent
86717185c4
commit
a931ff9ace
1 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue