diff --git a/documentation-guidelines.md b/documentation-guidelines.md index f87a749..670ac91 100644 --- a/documentation-guidelines.md +++ b/documentation-guidelines.md @@ -31,3 +31,21 @@ Create png images from Draw.io diagrams using the following command. ```bash drawio -x -f png -b 10 -o .png .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 +```