A Quarto extension that provides shared styling and infrastructure for Arcadia Science notebook publications.
This extension provides all the styling for our notebook pubs. It includes our assets (citation style, logo files, etc), all of the CSS (fonts, page layout, etc.), and interactive components (mini-title sticky header, author reveal, citation box, logo animation, etc.).
This extension comes pre-packaged with our notebook pub template. Head there if you're trying to develop a notebook pub, or continue reading if you plan to make changes to the theme shared across all our notebook pubs.
Theme updates propagate automatically to all notebook pubs (including the template). Here's how to make and deploy changes:
Clone this repo and notebook-pub-test. Make sure you've installed Quarto.
Replace the test repo's extension with a symlink to your local theme:
cd notebook-pub-test
rm -rf _extensions/Arcadia-Science
ln -s /path/to/notebook-pub-theme/_extensions/Arcadia-Science _extensions/Arcadia-ScienceRun make preview and make changes to CSS, JS, or other extension files in notebook-pub-theme. The preview will hot reload.
When you're ready to deploy, you need to:
-
Decide on a version number. This repo uses semantic versioning.
-
Update the version in
_extensions/Arcadia-Science/arcadia-pub-theme/_extension.yml:version: X.Y.Z
-
Add an entry to
CHANGELOG.mddescribing what changed. -
Open a pull request with your changes and merge it.
-
Create a GitHub release from
main:gh release create vX.Y.Z --title "vX.Y.Z" --notes "Description of changes"
Each notebook pub checks for theme updates daily. When a new release is detected, a PR is automatically opened. You can also trigger the check manually from the Actions tab → "Check Theme Updates" → "Run workflow".
Review and merge each PR. When merged, the site is automatically re-rendered and deployed with the new theme.
Note
Theme updates don't create new content versions. The versioning system in notebook pubs (git tags like v1.0, v1.1) exists to track changes to scientific content—notebooks, figures, conclusions. Theme updates (CSS, fonts, layout) are orthogonal to the science and shouldn't create new versions. When a theme PR is merged, only the styling changes; the content versions remain unchanged.