You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you already have an existing folder of Markdown files, you can bootstrap a LeafWiki navigation tree using a small community-contributed helper script.
352
-
353
-
354
-
> **Community Tool**
355
-
> Useful for **initial migration** from existing Markdown structures into LeafWiki.
356
-
> Optional, provided “as is”. Contributions are welcome
357
-
358
-
The script:
359
-
- Scans a Markdown directory (default: `data/root`)
360
-
- Normalizes folder/file names to LeafWiki conventions (lowercase, hyphens)
361
-
- Ensures every folder has an `index.md`
362
-
- Generates a `data/tree.json` so LeafWiki can navigate the structure
363
-
364
-
Location: `tools/generate-tree.py`
365
-
366
-
### preview changes (dry-run mode)
367
-
You can preview the changes without modifying any files using the `--preview` flag:
LeafWiki includes a built-in Markdown Importer that allows you to import existing Markdown files and folders into the wiki structure.
421
+
The importer is available as admin in the UI and can be used to quickly bring existing documentation into LeafWiki.
422
+
423
+
At the moment the importer does not support all features of the wiki (e.g. metadata, backlinks, assets, ...) but it provides a fast way to get started with existing Markdown content.
424
+
425
+
Please open an issue if you have specific feature requests or feedback for the importer.
0 commit comments