mirror of
https://gitlab.rlp.net/mobitar/julia_course.git
synced 2024-12-07 13:50:32 +00:00
Done export automation
This commit is contained in:
parent
1325881d18
commit
49a32724d0
23 changed files with 38 additions and 36 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -5,8 +5,11 @@ Manifest.toml
|
|||
*.mp4
|
||||
*.pdf
|
||||
|
||||
Solutions*.jl
|
||||
solutions.jl
|
||||
|
||||
Day_2/resources/new_test.txt
|
||||
day-2/resources/new_test.txt
|
||||
day-3/resources/df2.csv
|
||||
|
||||
Day_3/resources/df2.csv
|
||||
export
|
||||
!export/index.html
|
||||
!export/404.html
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
[deps]
|
||||
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
|
||||
PlutoSliderServer = "2fc8631c-6f24-4c5b-bca7-cbb509c42db4"
|
||||
|
|
21
export.jl
Normal file
21
export.jl
Normal file
|
@ -0,0 +1,21 @@
|
|||
import PlutoSliderServer
|
||||
|
||||
notebook_paths = [
|
||||
"day-1/main.jl",
|
||||
"day-1/tasks.jl",
|
||||
"day-2/main.jl",
|
||||
"day-2/tasks.jl",
|
||||
"day-3/main.jl",
|
||||
"day-3/tasks.jl",
|
||||
"day-4/main.jl",
|
||||
"day-4/tasks.jl",
|
||||
"day-5/main.jl",
|
||||
"day-5/tasks.jl",
|
||||
]
|
||||
|
||||
PlutoSliderServer.export_directory(;
|
||||
notebook_paths,
|
||||
Export_create_index=false,
|
||||
Export_offer_binder=false,
|
||||
Export_output_dir="export",
|
||||
)
|
|
@ -1,2 +0,0 @@
|
|||
[deps]
|
||||
PlutoSliderServer = "2fc8631c-6f24-4c5b-bca7-cbb509c42db4"
|
|
@ -1,21 +0,0 @@
|
|||
import PlutoSliderServer
|
||||
|
||||
notebook_paths = [
|
||||
"../Day_1/Day_1.jl",
|
||||
"../Day_1/Tasks_day_1.jl",
|
||||
"../Day_2/Day_2.jl",
|
||||
"../Day_2/Tasks_day_2.jl",
|
||||
"../Day_3/Day_3.jl",
|
||||
"../Day_3/Tasks_day_3.jl",
|
||||
"../Day_4/Day_4.jl",
|
||||
"../Day_4/Tasks_day_4.jl",
|
||||
"../Day_5/Day_5.jl",
|
||||
"../Day_5/Tasks_day_5.jl",
|
||||
]
|
||||
|
||||
PlutoSliderServer.export_directory(;
|
||||
notebook_paths,
|
||||
Export_create_index=false,
|
||||
Export_offer_binder=false,
|
||||
Export_output_dir="export",
|
||||
)
|
|
@ -20,46 +20,46 @@
|
|||
<tr style="border-bottom: 1px solid black;">
|
||||
<td style="padding: 12px;">Day 1</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="/day-1">Main notebook</a>
|
||||
<a href="day-1/main.html">Main notebook</a>
|
||||
</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="tasks-day-1">Tasks notebook</a>
|
||||
<a href="day-1/tasks.html">Tasks notebook</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="border-bottom: 1px solid black;">
|
||||
<td style="padding: 12px;">Day 2</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="/day-2">Main notebook</a>
|
||||
<a href="day-2/main.html">Main notebook</a>
|
||||
</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="tasks-day-2">Tasks notebook</a>
|
||||
<a href="day-2/tasks.html">Tasks notebook</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="border-bottom: 1px solid black;">
|
||||
<td style="padding: 12px;">Day 3</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="/day-3">Main notebook</a>
|
||||
<a href="day-3/main.html">Main notebook</a>
|
||||
</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="tasks-day-3">Tasks notebook</a>
|
||||
<a href="day-3/tasks.html">Tasks notebook</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="border-bottom: 1px solid black;">
|
||||
<td style="padding: 12px;">Day 4</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="/day-4">Main notebook</a>
|
||||
<a href="day-4/main.html">Main notebook</a>
|
||||
</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="tasks-day-4">Tasks notebook</a>
|
||||
<a href="day-4/tasks.html">Tasks notebook</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 12px;">Day 5</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="/day-5">Main notebook</a>
|
||||
<a href="day-5/main.html">Main notebook</a>
|
||||
</td>
|
||||
<td style="padding: 12px;">
|
||||
<a href="tasks-day-5">Tasks notebook</a>
|
||||
<a href="day-5/tasks.html">Tasks notebook</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue