1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/julia_course.git synced 2024-11-16 13:28:10 +00:00

Add export dir

This commit is contained in:
Mo 2024-05-14 17:45:06 +02:00
parent 6fac8eda97
commit ab83c2fab6
4 changed files with 101 additions and 0 deletions

11
export/404.html Normal file
View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>How 2 Julia</title>
</head>
<body style="text-align: center;">
<p>Not found!</p>
</body>
</html>

2
export/Project.toml Normal file
View file

@ -0,0 +1,2 @@
[deps]
PlutoSliderServer = "2fc8631c-6f24-4c5b-bca7-cbb509c42db4"

21
export/export.jl Normal file
View file

@ -0,0 +1,21 @@
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",
)

67
export/index.html Normal file
View file

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>How 2 Julia</title>
</head>
<body style="text-align: center;">
<h1>How 2 Julia</h1>
<h4>A 5-day Julia course</h4>
<p>
The notebooks are built with interactivity in mind but the links below let you only view them. If you want to use the notebooks interactively, follow the README instructions in the <a href="https://codeberg.org/mo8it/how-2-julia">course repository</a>.
</p>
<table style="margin-left: auto;
margin-right: auto;
border-collapse: collapse">
<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>
</td>
<td style="padding: 12px;">
<a href="tasks-day-1">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>
</td>
<td style="padding: 12px;">
<a href="tasks-day-2">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>
</td>
<td style="padding: 12px;">
<a href="tasks-day-3">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>
</td>
<td style="padding: 12px;">
<a href="tasks-day-4">Tasks notebook</a>
</td>
</tr>
<tr>
<td style="padding: 12px;">Day 5</td>
<td style="padding: 12px;">
<a href="/day-5">Main notebook</a>
</td>
<td style="padding: 12px;">
<a href="tasks-day-5">Tasks notebook</a>
</td>
</tr>
</table>
</body>
</html>