Skip to content

Commit 19d18cb

Browse files
authored
Back to ssg (#19)
* switch to xranklin * Fix header * little better styling * try getting new files out for rebase
1 parent 89a8779 commit 19d18cb

File tree

393 files changed

+8653
-4240
lines changed

Some content is hidden

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

393 files changed

+8653
-4240
lines changed

.github/workflows/Deploy.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request_target:
6+
types: [opened, synchronize]
7+
branches: [main]
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
permissions: write-all
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set preview path for PRs
17+
run: echo 'PRID=${{ env.PREVIEWS_PREFIX}}${{ github.event.number}}' >> $GITHUB_ENV
18+
if: github.event_name == 'pull_request_target'
19+
20+
- name: Build and Deploy
21+
uses: tlienart/xranklin-build-action@main
22+
with:
23+
SITE_FOLDER: "./"
24+
BASE_URL_PREFIX: BioTutorials
25+
PREVIEW: ${{ env.PRID }}
26+
27+
- name: Comment PR preview URL
28+
uses: thollander/actions-comment-pull-request@v2
29+
with:
30+
message: "Preview at https://biojulia.github.io/BioTutorials/${{ env.PRID }}"
31+
if: github.event_name == 'pull_request_target'

.github/workflows/DocCleanup.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/documentation.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/pr_comment.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
.ipynb_checkpoints
1+
__site
2+
__cache
3+
node_modules/
24
Manifest.toml
3-
.envrc
5+
Claude.md
6+
.envrc
7+
.DS_Store
8+
CLAUDE.md

404.md

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

0 commit comments

Comments
 (0)