new: Added info on how to output folder structure for documentation.

This commit is contained in:
Jan Jambor 2024-10-09 10:01:04 +02:00
parent 4368f792dc
commit 0a33147adf

View file

@ -31,3 +31,21 @@ Create png images from Draw.io diagrams using the following command.
```bash
drawio -x -f png -b 10 -o <output>.png <file>.drawio
```
## Folder Structure
If you want to add an optional folder structure to your documentation, you can use the following command to generate a tree-like structure.
```bash
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
```
Example output:
```text
|-know-how
|-resources
|---diagrams
|---images
|---scripts
```