2020-04-19 12:07:35 +02:00
|
|
|
# Teaching-Boilerplate
|
2018-04-20 17:27:59 +02:00
|
|
|
|
2022-01-25 16:06:04 +01:00
|
|
|
## Prerequisites :
|
2018-04-20 17:27:59 +02:00
|
|
|
|
2022-06-20 12:14:42 +02:00
|
|
|
Make sure you have docker installed
|
2018-04-20 17:27:59 +02:00
|
|
|
|
2022-06-20 12:14:42 +02:00
|
|
|
## Usage
|
2018-04-20 17:27:59 +02:00
|
|
|
|
2022-06-20 12:14:42 +02:00
|
|
|
### Create your directory tree
|
2018-04-20 17:27:59 +02:00
|
|
|
|
2022-06-20 12:14:42 +02:00
|
|
|
```
|
|
|
|
. # project directory
|
|
|
|
|- docs # where website documents go
|
|
|
|
| `- *.md
|
|
|
|
|- slides # where presentation documents go
|
|
|
|
| `- *.md
|
|
|
|
|- images/ # where images go
|
|
|
|
|- ...
|
|
|
|
```
|
2020-04-19 12:07:35 +02:00
|
|
|
|
2022-06-20 12:14:42 +02:00
|
|
|
### Write content for docs
|
2021-07-21 13:58:16 +02:00
|
|
|
|
|
|
|
|
2022-06-20 12:14:42 +02:00
|
|
|
### Write content for slides
|
2021-07-21 13:58:16 +02:00
|
|
|
|
|
|
|
|
2020-04-19 12:07:35 +02:00
|
|
|
### Watch mode
|
|
|
|
|
|
|
|
This mode allows you the result on-the-fly as you makea changes in the content.
|
|
|
|
|
|
|
|
To use watch mode, type:
|
|
|
|
|
|
|
|
make watch
|
|
|
|
|
|
|
|
To use watch mode for slides only type:
|
|
|
|
|
|
|
|
make watch-slides
|
|
|
|
|
|
|
|
To use watch mode for docs only type:
|
|
|
|
|
|
|
|
make watch-docs
|
|
|
|
|
|
|
|
|
|
|
|
### Build mode
|
|
|
|
|
|
|
|
This mode builds final content for delivery (website, PDF files)
|
|
|
|
|
|
|
|
To use build mode:
|
|
|
|
|
|
|
|
make build
|