Skip to content

Commit 8c66a20

Browse files
committed
Julia website
1 parent 232a431 commit 8c66a20

File tree

681 files changed

+8866
-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.

681 files changed

+8866
-0
lines changed

.github/workflows/Deploy.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Files generated by invoking Julia with --code-coverage
2+
*.jl
23
*.jl.cov
34
*.jl.*.cov
45

.gitlab-ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
image: julia:1.6
2+
3+
before_script:
4+
- apt-get -qq update; apt-get -y install git python3-dev python3-pip
5+
- pip3 install css-html-js-minify
6+
7+
pages:
8+
stage: deploy
9+
script:
10+
- julia --project=@. -e 'import Pkg; Pkg.instantiate();
11+
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
12+
using Franklin;
13+
optimize()'
14+
- mv __site public
15+
artifacts:
16+
paths:
17+
- public
18+
only:
19+
- main
20+

404.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@def title = "404"
2+
3+
~~~
4+
<div style="margin-top: 40px; font-size: 40px; text-align: center;">
5+
6+
<br>
7+
8+
<div style="font-weight: bold;">
9+
404
10+
</div>
11+
12+
<br>
13+
<br>
14+
15+
The requested page was not found
16+
17+
<br>
18+
<br>
19+
<br>
20+
<br>
21+
22+
<div style="margin-bottom: 300px; font-size: 24px">
23+
<a href="/">Click here</a> to go back to the homepage.
24+
</div>
25+
26+
</div>
27+
~~~

Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e"
3+
NodeJS = "2bd173c7-0d6d-553b-b6af-13a54713934c"

__site/404.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
7+
8+
<link rel="stylesheet" href="/css/franklin.css">
9+
<link rel="stylesheet" href="/css/jemdoc.css">
10+
<link rel="icon" href="/assets/favicon.png">
11+
12+
<title>404</title>
13+
</head>
14+
<body>
15+
<main class="outside">
16+
<div class="box">
17+
<aside class="layout-menu">
18+
<div class="menu-category">jemdoc</div>
19+
<div class="menu-item "><a href="/">Home</a></div>
20+
<div class="menu-category">topics</div>
21+
<div class="menu-item "><a href="/menu1/">Code blocks</a></div>
22+
<div class="menu-item "><a href="/menu2/">More goodies</a></div>
23+
<div class="menu-item "><a href="/menu3/">Tags</a></div>
24+
</aside>
25+
<div class="layout-content">
26+
27+
28+
<!-- Content appended here -->
29+
<div class="franklin-content">
30+
<div style="margin-top: 40px; font-size: 40px; text-align: center;">
31+
32+
<br>
33+
34+
<div style="font-weight: bold;">
35+
404
36+
</div>
37+
38+
<br>
39+
<br>
40+
41+
The requested page was not found
42+
43+
<br>
44+
<br>
45+
<br>
46+
<br>
47+
48+
<div style="margin-bottom: 300px; font-size: 24px">
49+
<a href="/">Click here</a> to go back to the homepage.
50+
</div>
51+
52+
</div>
53+
54+
<div class="page-foot">
55+
<a href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> Septimia Zenobia. Last modified: August 29, 2022.
56+
Website built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a> and the <a href="https://julialang.org">Julia programming language</a>.
57+
</div>
58+
</div><!-- CONTENT ENDS HERE -->
59+
</div>
60+
61+
62+
</div>
63+
</main>
64+
</body>
65+
</html>

__site/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e"
3+
NodeJS = "2bd173c7-0d6d-553b-b6af-13a54713934c"

__site/assets/favicon.png

1.26 KB
Loading

__site/assets/hamburger.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* ***** * ***** * ***** * ***** * *****
2+
** **** ** **** ** **** ** **** ** ****
3+
*** *** *** *** *** *** *** *** *** ***
4+
**** ** **** ** **** ** **** ** **** **
5+
***** * ***** * ***** * ***** * ***** *
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nothing
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
randn(2) = [-0.07058313895389791, 0.5314767537831963]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nothing

__site/assets/menu1/output/exdot.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dot(a, a) = 72
2+
72

__site/assets/menu1/output/exdot.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nothing

__site/assets/rndimg.jpg

18.1 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*---------1.3
2+
**--------1.3
3+
***-------1.3
4+
****------1.3
5+
*****-----1.3

0 commit comments

Comments
 (0)