Skip to content

Commit 85d615a

Browse files
committed
copy over JuliaOnHPCClusters
0 parents  commit 85d615a

File tree

122 files changed

+3985
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+3985
-0
lines changed

.github/workflows/Deploy.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- 'website/**'
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
persist-credentials: false
16+
# NOTE: Python is necessary for the pre-rendering (minification) step
17+
- name: Install python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: '3.8'
21+
# NOTE: Here you can install dependencies such as matplotlib if you use
22+
# packages such as PyPlot.
23+
# - run: pip install matplotlib
24+
- name: Install Julia
25+
uses: julia-actions/setup-julia@v1
26+
with:
27+
version: 1.8
28+
# NOTE
29+
# The steps below ensure that NodeJS and Franklin are loaded then it
30+
# installs highlight.js which is needed for the prerendering step
31+
# (code highlighting + katex prerendering).
32+
# Then the environment is activated and instantiated to install all
33+
# Julia packages which may be required to successfully build your site.
34+
# The last line should be `optimize()` though you may want to give it
35+
# specific arguments, see the documentation or ?optimize in the REPL.
36+
- run: julia -e '
37+
cd("website");
38+
using Pkg; Pkg.activate("."); Pkg.instantiate();
39+
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
40+
run(`$(npm_cmd()) install lunr`);
41+
run(`$(npm_cmd()) install cheerio`);
42+
using Franklin;
43+
lunr();
44+
optimize()'
45+
- name: Build and Deploy
46+
uses: JamesIves/github-pages-deploy-action@releases/v3
47+
with:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
BRANCH: gh-pages
50+
FOLDER: website/__site

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
.vscode/
3+
.ipynb_checkpoints/

.nojekyll

Whitespace-only changes.

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# JuliaOnHPCClusters
2+
3+
Notes on how to use/set up Julia on HPC clusters. Visit the rendered website under [https://juliahpc.github.io/JuliaOnHPCClusters/](https://juliahpc.github.io/JuliaOnHPCClusters/).

website/.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
__site/
2+
.DS_Store
3+
franklin
4+
franklin.pub
5+
node_modules/
6+
Manifest.toml

website/.nojekyll

Whitespace-only changes.

website/404.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 404: File not found
2+
3+
The requested file was not found.
4+
5+
Please [click here](/) to go to the home page.

website/LICENSE.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The material in this repository is licensed as follows:
2+
3+
- The **code** is under the [MIT license](https://opensource.org/licenses/MIT).
4+
5+
- The **text** is under the [CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0).
6+
7+
8+
Copyright Carsten Bauer, 2023

website/Project.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[deps]
2+
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e"
3+
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
4+
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
5+
NodeJS = "2bd173c7-0d6d-553b-b6af-13a54713934c"

website/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Julia On HPC Clusters website
2+
3+
Visit it under [https://juliahpc.github.io/JuliaOnHPCClusters/](https://juliahpc.github.io/JuliaOnHPCClusters/).

website/_assets/element_chat.svg

+7
Loading

website/_assets/favicon.png

675 Bytes
Loading

website/_assets/julia-logo.svg

+10
Loading

website/_css/custom.css

+260
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,260 @@
1+
@import url("https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
2+
3+
h1 {
4+
border-bottom: 1px solid #999 !important;
5+
margin-bottom: 1em !important;
6+
}
7+
8+
h1,
9+
h2 {
10+
color: #555;
11+
font-family: "PT Sans Caption";
12+
font-weight: bold;
13+
}
14+
15+
html,
16+
body {
17+
font-family: "PT Sans", sans-serif;
18+
font-size: 18px;
19+
}
20+
21+
.sidebar {
22+
z-index: 2;
23+
overflow-y: auto;
24+
overflow-x: hidden;
25+
/* background-color: #00004d; */
26+
/* background-color: #00205b; */
27+
background-color: #013d5b;
28+
}
29+
30+
.content {
31+
padding-top: 0;
32+
}
33+
34+
.frankin-content {
35+
margin-top: 2em;
36+
}
37+
.franklin-content pre > code {
38+
border: 1px solid #6b8e2340;
39+
padding: 1.5em;
40+
border-radius: 0;
41+
}
42+
pre.code-output {
43+
background: #6b8e2340;
44+
padding-left: 0.5em;
45+
}
46+
47+
.code-output code {
48+
border-radius: 0;
49+
padding-left: 1em !important;
50+
background: white;
51+
}
52+
53+
.docstring {
54+
border: 1px solid #f1f1f1;
55+
padding: 1em;
56+
margin-bottom: 2em;
57+
}
58+
59+
.franklin-content .docstring h2.doc-header {
60+
font-size: 1.25em;
61+
color: #008080;
62+
margin: 16px 0;
63+
}
64+
65+
.franklin-content .docstring h1 {
66+
font-size: 1.2em;
67+
}
68+
.franklin-content .docstring h2 {
69+
font-size: 1em;
70+
}
71+
72+
.docstring .doc-type {
73+
font-size: 1em;
74+
color: #6b8e2350;
75+
float: right;
76+
}
77+
78+
.franklin-content h1 {
79+
margin-bottom: 0;
80+
font-size: 1.66em;
81+
border: none;
82+
}
83+
.franklin-content h2 {
84+
border: none;
85+
font-size: 1.33em;
86+
font-style: normal;
87+
font-weight: bold;
88+
}
89+
90+
.sidebar-about h1 {
91+
font-family: "Recursive", sans-serif;
92+
border-bottom: none !important;
93+
font-size: 1.1em;
94+
opacity: 0.95;
95+
}
96+
97+
.sidebar-about h2 {
98+
font-family: "Recursive", sans-serif;
99+
border-bottom: none !important;
100+
font-size: 0.8em;
101+
color: White;
102+
font-style: italic;
103+
font-weight: bold;
104+
margin-top: -1em;
105+
}
106+
107+
@media (min-width: 768px) {
108+
.sidebar-nav {
109+
}
110+
}
111+
.sidebar .container.sidebar-sticky {
112+
top: 1rem;
113+
}
114+
.sidebar-nav .sidebar-nav-item.active {
115+
box-sizing: border-box;
116+
background: #f0f8ff40;
117+
margin-right: -1em;
118+
margin-left: -0.5em;
119+
padding-left: 0.5em;
120+
color: white;
121+
font-weight: normal !important;
122+
}
123+
.sidebar-nav .sidebar-nav-item {
124+
/*font-size: 0.97em;*/
125+
color: #cccccc;
126+
margin: 0.25em 0;
127+
}
128+
129+
.sidebar-nav .course-section {
130+
/*font-style: italic;*/
131+
/*display: flex;*/
132+
align-items: center;
133+
/* color: #ffff80; */
134+
color: #edae4a;
135+
/* color: #fecf6e; */
136+
margin-top: 1em;
137+
}
138+
.sidebar-nav .course-section::before,
139+
.sidebar-nav .course-section::after {
140+
content: " ";
141+
flex: 1;
142+
border-bottom: 1px dashed #d9a200;
143+
}
144+
.sidebar-nav .course-section::before {
145+
margin-right: 0.25em;
146+
}
147+
.sidebar-nav .course-section::after {
148+
margin-left: 0.25em;
149+
}
150+
151+
.sidebar-nav .book-chapter {
152+
align-items: center;
153+
color: #d93d00;
154+
margin-top: 1em;
155+
}
156+
.sidebar-nav .book-chapter::before,
157+
.sidebar-nav .book-chapter::after {
158+
content: " ";
159+
flex: 1;
160+
border-bottom: 1px dashed #d93d00;
161+
}
162+
163+
h1 {
164+
margin-top: 2em;
165+
}
166+
h2 {
167+
margin-top: 1em;
168+
}
169+
170+
.page-foot img.github-logo {
171+
width: 1em;
172+
height: 1em;
173+
margin: 0;
174+
padding: 0;
175+
display: inline-block;
176+
margin-bottom: -2px;
177+
}
178+
179+
.page-foot {
180+
margin-bottom: 0;
181+
}
182+
183+
/* Extra Styling for Logo bagdes*/
184+
img[src*="#badge"] {
185+
height: 100px;
186+
width: auto;
187+
display: inline-block;
188+
padding: 25px;
189+
align-items: center;
190+
}
191+
192+
/* Extra Styling for student feedback cards*/
193+
.column {
194+
width: 100%;
195+
float: left;
196+
margin-bottom: 16px;
197+
padding: 8px;
198+
}
199+
200+
@media (min-width: 768px) {
201+
.column {
202+
float: left;
203+
width: 45%;
204+
margin-bottom: 16px;
205+
padding: 8px;
206+
}
207+
}
208+
209+
.card {
210+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
211+
}
212+
.card-container {
213+
padding: 4px 16px;
214+
}
215+
.card-container::after,
216+
.row::after {
217+
content: "";
218+
clear: both;
219+
display: table;
220+
}
221+
.title {
222+
color: black;
223+
font-weight: bold;
224+
font-size: large;
225+
}
226+
.semester {
227+
color: grey;
228+
}
229+
.feedback {
230+
margin-top: 0.5em;
231+
}
232+
233+
.live-label {
234+
font-size: 1.5rem;
235+
font-family: monospace;
236+
font-weight: 900;
237+
}
238+
.live-label::before {
239+
content: " ";
240+
width: 1em;
241+
height: 1em;
242+
margin-right: 0.5em;
243+
margin-bottom: -0.2em;
244+
border-radius: 0.5em;
245+
background: rgb(212, 39, 39);
246+
display: inline-block;
247+
/* animation: pulsered 1.5s ease-in-out infinite; */
248+
/* animation: name duration timing-function delay iteration-count alternate fill-mode; */
249+
/* animation: pulsered 1.5s ease-in-out 0s infinite alternate; */
250+
opacity: 0.8;
251+
}
252+
253+
@keyframes pulsered {
254+
0% {
255+
opacity: 1;
256+
}
257+
100% {
258+
opacity: 0.6;
259+
}
260+
}

0 commit comments

Comments
 (0)