Skip to content

v3.0 - #21

Draft
VisruthSK wants to merge 17 commits into
mainfrom
v3.0
Draft

v3.0#21
VisruthSK wants to merge 17 commits into
mainfrom
v3.0

Conversation

@VisruthSK

@VisruthSK VisruthSK commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Use MathJax 4.1.3 with SRI and drop KaTeX from head.html, fix the malformed
SVG favicon link, and add the Stan logo as the navbar fallback. Ship the
workflow under inst/workflows and test that it matches the repository copy.
@VisruthSK VisruthSK added the build-website Build the website automatically label Oct 10, 2026
The head template now comes from pkgdown, and Font Awesome 7 is added through
template.includes. The navbar fork is pkgdown's own template plus the Stan
logo, and a test fails if they drift apart.
Upstream's head template only emits favicon links for files it builds itself,
so the SVG, 96px and web manifest links were lost. Restore the fork, which
also keeps MathJax 4.1.3 and Font Awesome 7 for the Bluesky icon.
Upstream's head covers the favicon links. MathJax stays at pkgdown's 3.2.2, and
Font Awesome 7 is added through template.includes for the Bluesky icon.
…gurable

The PR build posts a sticky comment with the preview URL and the commit it was
built from. PKGDOWN_RUN_DONT_RUN sets run_dont_run for the build (default TRUE).
@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Preview: https://mc-stan.org/pkgdown-config/pr/21
Built from 03c74fc

pkgdown only emits favicon links when the package has pkgdown/favicon, which
this site does not build. The head template is pkgdown's with the favicon
block always on and the curly quotes fixed. MathJax stays at 3.2.2.
The head template is the only template fork now. It keeps the favicon links
ungated and loads MathJax 4.1.3. The navbar logo is a CSS background, so the
navbar template is pkgdown's own. The drift test goes with the navbar fork.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-website Build the website automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant