Skip to content

Commit 89cd20a

Browse files
committed
feat: Update website to quarto ✨
1 parent e8c234c commit 89cd20a

File tree

337 files changed

+44575
-25167
lines changed

Some content is hidden

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

337 files changed

+44575
-25167
lines changed

.github/workflows/deploy.yml

+34-47
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,44 @@
1-
name: Build and Deploy
2-
on: [push]
1+
name: deploy
2+
on:
3+
push:
4+
branches: [main]
35
jobs:
4-
build-and-deploy:
6+
publish:
7+
name: website
58
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
611
steps:
7-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v2
13+
- uses: julia-actions/setup-julia@v1
14+
with:
15+
version: 1.8
16+
arch: x64
17+
- uses: julia-actions/julia-buildpkg@v1
818

9-
- name: Cache node modules
10-
id: cache-npm
11-
uses: actions/cache@v3
12-
env:
13-
cache-name: cache-node-modules
19+
- uses: actions/setup-python@v4
1420
with:
15-
# npm cache files are stored in `~/.npm` on Linux/macOS
16-
path: ~/.npm
17-
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
18-
restore-keys: |
19-
${{ runner.os }}-build-
20-
${{ runner.os }}-
21+
python-version: "3.x"
22+
- run: pip install jupyter jupyter-client jupyter-cache
2123

22-
- name: Run apt update and install
23-
run: |
24-
sudo apt-get update
25-
sudo apt install texlive-latex-extra texlive-base texlive-fonts-extra pdf2svg imagemagick ghostscript
24+
- name: Install IJulia Conda
25+
run: julia -e 'using Pkg; Pkg.add("IJulia"); Pkg.add("Conda");'
2626

27-
- uses: actions-rs/toolchain@v1
27+
- name: Set up Quarto
28+
uses: quarto-dev/quarto-actions/setup@v2
2829
with:
29-
toolchain: stable
30+
version: pre-release
31+
tinytex: true
3032

31-
- run: |
32-
cargo install svgbob_cli
33-
cargo install stork-search --locked
34-
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
35-
- name: Install pdm
36-
run: pipx install pdm
37-
- uses: actions/setup-python@v2
38-
with:
39-
python-version: "3.9"
40-
- run: pdm install
41-
- uses: actions/setup-node@v2
42-
- name: Build
43-
run: |
44-
wget https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-amd64.deb -O /tmp/pandoc.deb
45-
sudo dpkg -i /tmp/pandoc.deb
46-
pandoc --version
47-
node --version
48-
svgbob_cli --version
49-
python --version
50-
npm install
51-
NODE_ENV=production pdm run npm run build
52-
- name: Deploy
53-
uses: JamesIves/[email protected]
33+
- name: Check Quarto install
34+
run: quarto check install
35+
36+
- name: Check Quarto kernels
37+
run: quarto check jupyter
38+
39+
- name: Publish to GitHub Pages
40+
uses: quarto-dev/quarto-actions/publish@v2
5441
with:
55-
branch: main
56-
folder: build
57-
single-commit: true
42+
target: gh-pages
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+11-124
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,11 @@
1-
.pdm.toml
2-
.svelte-kit
3-
build
4-
### Node
5-
# Logs
6-
logs
7-
*.log
8-
npm-debug.log*
9-
yarn-debug.log*
10-
yarn-error.log*
11-
lerna-debug.log*
12-
.pnpm-debug.log*
13-
14-
# Diagnostic reports (https://nodejs.org/api/report.html)
15-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16-
17-
# Runtime data
18-
pids
19-
*.pid
20-
*.seed
21-
*.pid.lock
22-
23-
# Directory for instrumented libs generated by jscoverage/JSCover
24-
lib-cov
25-
26-
# Coverage directory used by tools like istanbul
27-
coverage
28-
*.lcov
29-
30-
# nyc test coverage
31-
.nyc_output
32-
33-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
34-
.grunt
35-
36-
# Bower dependency directory (https://bower.io/)
37-
bower_components
38-
39-
# node-waf configuration
40-
.lock-wscript
41-
42-
# Compiled binary addons (https://nodejs.org/api/addons.html)
43-
build/Release
44-
45-
# Dependency directories
46-
node_modules/
47-
jspm_packages/
48-
49-
# Snowpack dependency directory (https://snowpack.dev/)
50-
web_modules/
51-
52-
# TypeScript cache
53-
*.tsbuildinfo
54-
55-
# Optional npm cache directory
56-
.npm
57-
58-
# Optional eslint cache
59-
.eslintcache
60-
61-
# Microbundle cache
62-
.rpt2_cache/
63-
.rts2_cache_cjs/
64-
.rts2_cache_es/
65-
.rts2_cache_umd/
66-
67-
# Optional REPL history
68-
.node_repl_history
69-
70-
# Output of 'npm pack'
71-
*.tgz
72-
73-
# Yarn Integrity file
74-
.yarn-integrity
75-
76-
# dotenv environment variables file
77-
.env
78-
.env.test
79-
.env.production
80-
81-
# parcel-bundler cache (https://parceljs.org/)
82-
.cache
83-
.parcel-cache
84-
85-
# Next.js build output
86-
.next
87-
out
88-
89-
# Nuxt.js build / generate output
90-
.nuxt
91-
dist
92-
93-
# Gatsby files
94-
.cache/
95-
# Comment in the public line in if your project uses Gatsby and not Next.js
96-
# https://nextjs.org/blog/next-9-1#public-directory-support
97-
# public
98-
99-
# vuepress build output
100-
.vuepress/dist
101-
102-
# Serverless directories
103-
.serverless/
104-
105-
# FuseBox cache
106-
.fusebox/
107-
108-
# DynamoDB Local files
109-
.dynamodb/
110-
111-
# TernJS port file
112-
.tern-port
113-
114-
# Stores VSCode versions used for testing VSCode extensions
115-
.vscode-test
116-
117-
# yarn v2
118-
.yarn/cache
119-
.yarn/unplugged
120-
.yarn/build-state.yml
121-
.yarn/install-state.gz
122-
.pnp.*
123-
124-
__pypackages__
1+
/.quarto/*
2+
/_site/*
3+
/_book/
4+
**/.jupyter_cache/
5+
.vdoc.jl
6+
*.ipynb
7+
/site_libs/*
8+
**/*_files/*
9+
/.quarto/
10+
/.luarc.json
11+
/node_modules

.luarc.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"Generator": [
3+
"Quarto",
4+
"This file provides type information for Lua completion and diagnostics.",
5+
"Quarto will automatically update this file to reflect the current path",
6+
"of your Quarto installation, and the file will also be added to .gitignore",
7+
"since it points to the absolute path of Quarto on the local system.",
8+
"Remove the 'Generator' key to manage this file's contents manually."
9+
],
10+
"Lua.runtime.version": "Lua 5.3",
11+
"Lua.workspace.checkThirdParty": false,
12+
"Lua.workspace.library": [
13+
"/Users/kd/Applications/quarto/share/lua-types"
14+
],
15+
"Lua.runtime.plugin": "/Users/kd/Applications/quarto/share/lua-plugin/plugin.lua",
16+
"Lua.completion.showWord": "Disable",
17+
"Lua.completion.keywordSnippet": "Both",
18+
"Lua.diagnostics.disable": [
19+
"lowercase-global",
20+
"trailing-space"
21+
]
22+
}
File renamed without changes.

.prettierrc

-10
This file was deleted.

404.qmd

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Page Not Found
3+
citation: false
4+
comments: false
5+
draft: true
6+
---
7+
8+
The page you requested cannot be found (perhaps it was moved or renamed).
9+
10+
You may want to try searching to find the page's new location or go to the [home](/) page to find all available blog posts.

0 commit comments

Comments
 (0)