Skip to content

Commit 53475fc

Browse files
move static files to ./book
1 parent c3dd228 commit 53475fc

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
# Pull latest code on server
3131
ssh -i ~/.ssh/deploy_key $SERVER_USER@$SERVER_HOST "cd /home/quinn/cookbook && git pull origin master"
3232
33-
# Sync dependencies and restart service
33+
# Copy static files and sync dependencies
3434
ssh -i ~/.ssh/deploy_key $SERVER_USER@$SERVER_HOST "cd /home/quinn/cookbook && /home/quinn/.local/bin/uv sync && sudo systemctl restart cookbook"

book/01-introduction/00-ch0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is your reference of agent recipes for formal methods tasks. In this book,
1414

1515
We also can't help but notice the pure math gold rush and the unapologetic absence of vision or business model that comes with it.
1616

17-
```{figure} ./../../static/img/smbc.png
17+
```{figure} ./../static/img/smbc.png
1818
:name: fig-smbc-gold-rush
1919
:alt: SMBC comic about pure math gold rush
2020

book/myst.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ site:
3030
template: book-theme
3131
options:
3232
folders: true
33-
favicon: ./../static/img/forall.ico
34-
logo: ./../static/img/forall.svg
33+
favicon: ./static/img/forall.ico
34+
logo: ./static/img/forall.svg
File renamed without changes.
File renamed without changes.
File renamed without changes.

operations/cookbook.service

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ After=network.target
66
Type=simple
77
User=quinn
88
WorkingDirectory=/home/quinn/cookbook/book
9-
ExecStart=/bin/bash -c 'fuser -k 3000/tcp 2>/dev/null || true; sleep 2; /home/quinn/.local/bin/uv run jupyter book start --port 3000'
9+
ExecStart=/home/quinn/.local/bin/uv run jupyter book start --port 3000
1010
Restart=always
1111
RestartSec=10
1212
StandardOutput=journal
1313
StandardError=journal
14-
KillMode=mixed
15-
KillSignal=SIGTERM
1614

1715
[Install]
1816
WantedBy=multi-user.target

0 commit comments

Comments
 (0)