new: Added info on how to output folder structure for documentation.
This commit is contained in:
parent
4368f792dc
commit
0a33147adf
1 changed files with 18 additions and 0 deletions
|
|
@ -31,3 +31,21 @@ Create png images from Draw.io diagrams using the following command.
|
||||||
```bash
|
```bash
|
||||||
drawio -x -f png -b 10 -o <output>.png <file>.drawio
|
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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue