Use text keyword for directory example code blocks
This commit is contained in:
parent
65afa967d0
commit
f5917d261c
|
@ -791,14 +791,14 @@ The following keyword arguments are supported:
|
||||||
Since 0.45.0
|
Since 0.45.0
|
||||||
|
|
||||||
For a given directory `foo`:
|
For a given directory `foo`:
|
||||||
```
|
```text
|
||||||
foo/
|
foo/
|
||||||
bar/
|
bar/
|
||||||
file1
|
file1
|
||||||
file2
|
file2
|
||||||
```
|
```
|
||||||
`install_subdir('foo', install_dir : 'share', strip_directory : false)` creates
|
`install_subdir('foo', install_dir : 'share', strip_directory : false)` creates
|
||||||
```
|
```text
|
||||||
share/
|
share/
|
||||||
foo/
|
foo/
|
||||||
bar/
|
bar/
|
||||||
|
@ -807,7 +807,7 @@ share/
|
||||||
```
|
```
|
||||||
|
|
||||||
`install_subdir('foo', install_dir : 'share', strip_directory : true)` creates
|
`install_subdir('foo', install_dir : 'share', strip_directory : true)` creates
|
||||||
```
|
```text
|
||||||
share/
|
share/
|
||||||
bar/
|
bar/
|
||||||
file1
|
file1
|
||||||
|
@ -815,14 +815,14 @@ share/
|
||||||
```
|
```
|
||||||
|
|
||||||
`install_subdir('foo/bar', install_dir : 'share', strip_directory : false)` creates
|
`install_subdir('foo/bar', install_dir : 'share', strip_directory : false)` creates
|
||||||
```
|
```text
|
||||||
share/
|
share/
|
||||||
bar/
|
bar/
|
||||||
file1
|
file1
|
||||||
```
|
```
|
||||||
|
|
||||||
`install_subdir('foo/bar', install_dir : 'share', strip_directory : true)` creates
|
`install_subdir('foo/bar', install_dir : 'share', strip_directory : true)` creates
|
||||||
```
|
```text
|
||||||
share/
|
share/
|
||||||
file1
|
file1
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue