-
Notifications
You must be signed in to change notification settings - Fork 18
Structure
|--tutorial-compiler
|--tutorials
|-- tutorials
|-- [playbook-name]
/--index.asciidoc
|-- images
/--image.jpg
Write your own tutorials in "./tutorials/[playbook-name]/index.asciidoc". Images must be saved in a folder called images
.
You will find all the details in the tutorials Developement page.
|-- tutorial-compiler
|--runners
|--[runner]
/--index.ts
runner
- console
- katacoda
- vscode
- wikiConsole
- wikiEclipse
- wikiEditor
Create your own commands as shown in tutorial-compilers's Developement page inside the "./index.ts"-files.
|--tutorial-compiler
|--assertions
Add assertions by adding a new class into the "./tutorial-compiler/assertions"-folder Learn more about it in Development
|-- tutorial-compiler
|--build
|--output
|--katacoda
|--[playbook-name]
You can find the generated katacoda tutorial inside "./tutorial-compiler/build/output/katacoda/[playbook-name]" You can copy the whole folder and add it to your katacoda repository.
Console |-- tutorial-compiler |--build |--working
Katacoda |-- root
The working directory is the start directory of each runner.
Without the devonfw IDE the workspace directory equals the working directory.
|--[working-directory]
In Functions you will find the phrase "relative to workspace", which means relative to the working directory. You can set a new workspace with the function changeWorkspace.
|--[working-directory]
|--devonfw
|--workspaces
|--main
The functions
will change the workspace to the "[working-directory]/devonfw/workspaces/main". The phrase "relative to workspace" means in this case relative to "./main" You can set a new workspace with the function changeWorkspace.
The function restoreWorkspace will change the workspace.
|--[working-directory]
|--workspaces
The phrase "relative to workspace" means in this case relative to "./workspaces"
|--[working-directory]
|--devonfw
|--workspaces
|--main
The phrase "relative to workspace" means in this case relative to "./main"