Skip to content

Commit 79d6bcb

Browse files
authored
Merge pull request #8 from Arcadia-Science/ek/use-theme
Use notebook-pub-theme extension and add automated theme updates
2 parents b2a235f + 0b7041e commit 79d6bcb

27 files changed

+108
-35
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Check Theme Updates
2+
3+
on:
4+
schedule:
5+
- cron: '0 8 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
check:
10+
uses: Arcadia-Science/notebook-pub-theme/.github/workflows/check-theme-updates.yml@main
11+
secrets: inherit
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Publish Theme Change
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths: ['_extensions/**']
7+
workflow_dispatch:
8+
9+
jobs:
10+
publish:
11+
uses: Arcadia-Science/notebook-pub-theme/.github/workflows/publish-theme-change.yml@main
12+
secrets: inherit

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,5 @@ cython_debug/
176176
/.quarto/
177177
/_site/
178178
/*_files/
179+
180+
**/*.quarto_ipynb

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ execute:
2929
.PHONY: preview
3030
preview:
3131
quarto preview
32+
33+
.PHONY: update-theme
34+
update-theme:
35+
quarto update extension Arcadia-Science/notebook-pub-theme --no-prompt
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
title: Arcadia Pub Theme
2+
author: Arcadia Science
3+
version: 1.0.0
4+
quarto-required: ">=1.4.0"
5+
contributes:
6+
formats:
7+
html:
8+
css:
9+
- css/main.css
10+
- css/citation-box.css
11+
include-in-header:
12+
- file: includes/logo-animation.html
13+
- file: includes/author-reveal.html
14+
- file: includes/mini-title.html
15+
- file: includes/version-in-title.html
16+
- file: includes/citation-box.html
17+
page-layout: article
18+
title-block-banner: true
19+
toc: true
20+
toc-expand: 2

assets/arcadia.csl renamed to _extensions/Arcadia-Science/arcadia-pub-theme/assets/arcadia.csl

File renamed without changes.

assets/logo_movie.mp4 renamed to _extensions/Arcadia-Science/arcadia-pub-theme/assets/logo_movie.mp4

File renamed without changes.

assets/logo_text.png renamed to _extensions/Arcadia-Science/arcadia-pub-theme/assets/logo_text.png

File renamed without changes.

assets/logo_white.png renamed to _extensions/Arcadia-Science/arcadia-pub-theme/assets/logo_white.png

File renamed without changes.

assets/css/article.css renamed to _extensions/Arcadia-Science/arcadia-pub-theme/css/article.css

File renamed without changes.

0 commit comments

Comments
 (0)