Skip to content

Commit 81aeb3a

Browse files
authored
Add 3 featured notebooks with plutojl.org docs (#67)
1 parent feb3c0f commit 81aeb3a

File tree

2 files changed

+46
-26
lines changed

2 files changed

+46
-26
lines changed

.github/workflows/Export.yml

+25-1
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,38 @@ jobs:
5353
Pkg.activate("pluto-deployment-environment")
5454
Pkg.instantiate()
5555
56-
import PlutoSliderServer
56+
import PlutoSliderServer, Pluto
5757
5858
isdir("output") && rm("output"; recursive=true)
59+
60+
# run PlutoSliderServer
5961
PlutoSliderServer.github_action("src";
6062
Export_output_dir="output",
6163
Export_cache_dir="pluto_state_cache",
6264
# more parameters can go here
6365
)
66+
67+
# custom index
68+
index_html_contents = Pluto.generate_index_html(;
69+
version=PlutoSliderServer.try_get_exact_pluto_version(),
70+
featured_direct_html_links=true,
71+
featured_sources_js="""[
72+
// notebooks from this repo
73+
{
74+
url:`./pluto_export.json`
75+
},
76+
// additional: plutojl.org website
77+
{
78+
id: "pluto website",
79+
url: "https://plutojl.org/pluto_export.json",
80+
// this is one month before the expiry date of our domain registration at njal.la
81+
valid_until: "2025-10",
82+
},
83+
]""",
84+
)
85+
write(joinpath("output", "index.html"), index_html_contents)
86+
87+
6488
cp("netlify.toml", joinpath("output", "netlify.toml"))'
6589
6690

pluto-deployment-environment/Manifest.toml

+21-25
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ uuid = "c9fd44ac-77b5-486c-9482-9798bd063cc6"
2727
version = "0.1.5"
2828

2929
[[BitFlags]]
30-
git-tree-sha1 = "2dc09997850d68179b69dafb58ae806167a32b1b"
30+
git-tree-sha1 = "0691e34b3bb8be9307330f88d1a3c3f25466c24d"
3131
uuid = "d1d4a3ce-64b1-5f1a-9ba4-7e7e69966f35"
32-
version = "0.1.8"
32+
version = "0.1.9"
3333

3434
[[CodecZlib]]
3535
deps = ["TranscodingStreams", "Zlib_jll"]
36-
git-tree-sha1 = "59939d8a997469ee05c4b4944560a820f9ba0d73"
36+
git-tree-sha1 = "b8fe8546d52ca154ac556809e10c75e6e7430ac8"
3737
uuid = "944b1d66-785c-5afd-91f1-9de20f533193"
38-
version = "0.7.4"
38+
version = "0.7.5"
3939

4040
[[ConcurrentUtilities]]
4141
deps = ["Serialization", "Sockets"]
42-
git-tree-sha1 = "6cbbd4d241d7e6579ab354737f4dd95ca43946e1"
42+
git-tree-sha1 = "ea32b83ca4fefa1768dc84e504cc0a94fb1ab8d1"
4343
uuid = "f0e56b4a-5159-44fe-b623-3e5288b988bb"
44-
version = "2.4.1"
44+
version = "2.4.2"
4545

4646
[[Configurations]]
4747
deps = ["ExproniconLite", "OrderedCollections", "TOML"]
@@ -95,9 +95,9 @@ uuid = "21656369-7473-754a-2065-74616d696c43"
9595
version = "1.0.2"
9696

9797
[[ExproniconLite]]
98-
git-tree-sha1 = "6091a6fc0f16639f43d7f78fee225ba365712612"
98+
git-tree-sha1 = "4c9ed87a6b3cd90acf24c556f2119533435ded38"
9999
uuid = "55351af7-c7e9-48d6-89ff-24e801d99491"
100-
version = "0.10.8"
100+
version = "0.10.13"
101101

102102
[[FileWatching]]
103103
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
@@ -206,10 +206,6 @@ git-tree-sha1 = "f9557a255370125b405568f9767d6d195822a175"
206206
uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
207207
version = "1.17.0+0"
208208

209-
[[LinearAlgebra]]
210-
deps = ["Libdl"]
211-
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
212-
213209
[[Logging]]
214210
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
215211

@@ -267,9 +263,9 @@ version = "1.4.3"
267263

268264
[[OpenSSL_jll]]
269265
deps = ["Artifacts", "JLLWrappers", "Libdl"]
270-
git-tree-sha1 = "3da7367955dcc5c54c1ba4d402ccdc09a1a3e046"
266+
git-tree-sha1 = "a028ee3cb5641cccc4c24e90c36b0a4f7707bdf5"
271267
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
272-
version = "3.0.13+1"
268+
version = "3.0.14+0"
273269

274270
[[OrderedCollections]]
275271
git-tree-sha1 = "dfdf5519f235516220579f949664f1bf44e741c5"
@@ -292,9 +288,9 @@ uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
292288

293289
[[Pluto]]
294290
deps = ["Base64", "Configurations", "Dates", "Downloads", "ExpressionExplorer", "FileWatching", "FuzzyCompletions", "HTTP", "HypertextLiteral", "InteractiveUtils", "Logging", "LoggingExtras", "MIMEs", "Malt", "Markdown", "MsgPack", "Pkg", "PlutoDependencyExplorer", "PrecompileSignatures", "PrecompileTools", "REPL", "RegistryInstances", "RelocatableFolders", "Scratch", "Sockets", "TOML", "Tables", "URIs", "UUIDs"]
295-
git-tree-sha1 = "7074b3a8339fadaf8524a9252ae7565b85f648f1"
291+
git-tree-sha1 = "daa8d3f95b43a2e18c63f7bdbabab4f45f332bac"
296292
uuid = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
297-
version = "0.19.42"
293+
version = "0.19.45"
298294

299295
[[PlutoDependencyExplorer]]
300296
deps = ["ExpressionExplorer", "InteractiveUtils", "Markdown"]
@@ -304,9 +300,9 @@ version = "1.0.4"
304300

305301
[[PlutoSliderServer]]
306302
deps = ["AbstractPlutoDingetjes", "Base64", "BetterFileWatching", "Configurations", "Distributed", "FromFile", "Git", "GitHubActions", "Glob", "HTTP", "JSON", "Logging", "Pkg", "Pluto", "SHA", "Sockets", "TOML", "TerminalLoggers", "UUIDs"]
307-
git-tree-sha1 = "bebd149349757df4ef8f1f62b78408b68114e133"
303+
git-tree-sha1 = "96f804d8963e33862f23ce67d42e9ae9fd2df04f"
308304
uuid = "2fc8631c-6f24-4c5b-bca7-cbb509c42db4"
309-
version = "0.3.29"
305+
version = "0.3.31"
310306

311307
[[PrecompileSignatures]]
312308
git-tree-sha1 = "18ef344185f25ee9d51d80e179f8dad33dc48eb1"
@@ -392,10 +388,10 @@ uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c"
392388
version = "1.0.1"
393389

394390
[[Tables]]
395-
deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "OrderedCollections", "TableTraits"]
396-
git-tree-sha1 = "cb76cf677714c095e535e3501ac7954732aeea2d"
391+
deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "OrderedCollections", "TableTraits"]
392+
git-tree-sha1 = "598cd7c1f68d1e205689b1c2fe65a9f85846f297"
397393
uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
398-
version = "1.11.1"
394+
version = "1.12.0"
399395

400396
[[Tar]]
401397
deps = ["ArgTools", "SHA"]
@@ -413,14 +409,14 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
413409

414410
[[TranscodingStreams]]
415411
deps = ["Random", "Test"]
416-
git-tree-sha1 = "5d54d076465da49d6746c647022f3b3674e64156"
412+
git-tree-sha1 = "96612ac5365777520c3c5396314c8cf7408f436a"
417413
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
418-
version = "0.10.8"
414+
version = "0.11.1"
419415

420416
[[Tricks]]
421-
git-tree-sha1 = "eae1bb484cd63b36999ee58be2de6c178105112f"
417+
git-tree-sha1 = "7822b97e99a1672bfb1b49b668a6d46d58d8cbcb"
422418
uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
423-
version = "0.1.8"
419+
version = "0.1.9"
424420

425421
[[URIs]]
426422
git-tree-sha1 = "67db6cc7b3821e19ebe75791a9dd19c9b1188f2b"

0 commit comments

Comments
 (0)