[tutorial v1.1_000] Creating a structure file (config and doc)
This commit is contained in:
parent
0359f80bf5
commit
499dabb646
5 changed files with 96 additions and 1 deletions
50
README.md
50
README.md
|
|
@ -1,3 +1,12 @@
|
|||
- [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md)
|
||||
|
||||
# [tutorial v1.1_000] Creating a structure file
|
||||
|
||||
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_000~1..v1.1_000)
|
||||
|
||||
[Read the documentation](https://pedago.gwenaelremond.fr/bribes/rougail/tutorial/preliminary.html#creating-a-structure-file)
|
||||
|
||||
|
||||
## Screenshot
|
||||
|
||||
|
||||
|
|
@ -21,5 +30,44 @@ pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user-
|
|||
Then switch to the tutorial page:
|
||||
|
||||
```shell
|
||||
git switch --detach 1.1
|
||||
git switch --detach v1.1_000
|
||||
```
|
||||
|
||||
## Structure
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_000/./">.</a><br/>
|
||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_000/./firefox/">firefox</a><br/>
|
||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_000/./firefox/00-proxy.yml">00-proxy.yml</a><br/>
|
||||
<br/><br/></p>
|
||||
|
||||
Contents of the firefox/00-proxy.yml file
|
||||
|
||||
```yml
|
||||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
...
|
||||
|
||||
```
|
||||
## User datas
|
||||
|
||||
### Example 1
|
||||
|
||||
#### config/01/config.yml
|
||||
|
||||
|
||||
```yml
|
||||
---
|
||||
```
|
||||
#### Output
|
||||
|
||||
```shell
|
||||
rougail -m firefox/ -u yaml -yf config/01/config.yml
|
||||
```
|
||||
<pre></pre>
|
||||
|
||||
|
||||
- [[tutorial v1.1_001] Let’s add our first variable](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_001/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_001~1..v1.1_001))
|
||||
|
|
|
|||
1
config/01/cmd_ro.txt
Normal file
1
config/01/cmd_ro.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
rougail -m firefox/ -u yaml -yf config/01/config.yml
|
||||
1
config/01/config.yml
Normal file
1
config/01/config.yml
Normal file
|
|
@ -0,0 +1 @@
|
|||
---
|
||||
1
config/01/output_ro.html
Normal file
1
config/01/output_ro.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<pre></pre>
|
||||
44
tree.html
Normal file
44
tree.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="Author" content="Made by 'tree'">
|
||||
<meta name="GENERATOR" content="tree v2.2.1 © 1996 - 2024 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro">
|
||||
<title>Directory Tree</title>
|
||||
<style type="text/css">
|
||||
BODY { font-family : monospace, sans-serif; color: black;}
|
||||
P { font-family : monospace, sans-serif; color: black; margin:0px; padding: 0px;}
|
||||
A:visited { text-decoration : none; margin : 0px; padding : 0px;}
|
||||
A:link { text-decoration : none; margin : 0px; padding : 0px;}
|
||||
A:hover { text-decoration: underline; background-color : yellow; margin : 0px; padding : 0px;}
|
||||
A:active { margin : 0px; padding : 0px;}
|
||||
.VERSION { font-size: small; font-family : arial, sans-serif; }
|
||||
.NORM { color: black; }
|
||||
.FIFO { color: purple; }
|
||||
.CHAR { color: yellow; }
|
||||
.DIR { color: blue; }
|
||||
.BLOCK { color: yellow; }
|
||||
.LINK { color: aqua; }
|
||||
.SOCK { color: fuchsia;}
|
||||
.EXEC { color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Directory Tree</h1><p>
|
||||
<a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_000/./">.</a><br>
|
||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_000/./firefox/">firefox</a><br>
|
||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_000/./firefox/00-proxy.yml">00-proxy.yml</a><br>
|
||||
<br><br><p>
|
||||
|
||||
2 directories, 1 file
|
||||
|
||||
</p>
|
||||
<hr>
|
||||
<p class="VERSION">
|
||||
tree v2.2.1 © 1996 - 2024 by Steve Baker and Thomas Moore <br>
|
||||
HTML output hacked and copyleft © 1998 by Francesc Rocher <br>
|
||||
JSON output hacked and copyleft © 2014 by Florian Sesser <br>
|
||||
Charsets / OS/2 support © 2001 by Kyosuke Tokoro
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue