-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarto vignette titles are broken with quarto 1.6.x #2823
Comments
I believe it's caused by this: |
Quarto tests are also failing with the new release, this appears to be the same problem:
|
It's not clear from the comments whether the change in quarto-dev/quarto-cli#11224 will be permanent. Perhaps we should clarify before updating pkgdown to process the changed HTML. I'm assuming we don't want to be supporting multiple versions of quarto, so if we update to process the new HTML, we'd need to bump the required quarto version to 1.6.33. |
should I open an issue for quarto?
this might be an issue for some time since 1.6.x is still pre-release |
It took me some time to understand the problem and this is indeed quarto-dev/quarto-cli#11224 having side effect on the custom processing that pkgdown is doing Within pkgdown, pkgdown/inst/quarto/template.html Lines 25 to 48 in dfa28be
The custom template is applying which leads to this in the HTML before Quarto postprocessing <div class="meta">
<h1>My cool title</h1>
</div> However, as the custom template does not use and a title block will be created anyway by this new post-processing. The I don't know exactly why pkgdown does this title processing with specific custom template, but this is indeed a Quarto issue in the sense that it should not probably apply this eagerly
I'll do it
Quarto 1.6 is the latest release since last week. |
thanks!
oops, I missed that |
Can we make pkgdown work either way? This is causing pkgdown to fail on CRAN and it's likely easier to submit an updated pkgdown than get CRAN to update their quarto. |
@hadley We could fix this to work with quarto 1.6, but may then have to revert if this is "fixed" on the quarto CLI side. And if we want to fix, should we be supporting quarto 1.5 (where this test passes) as well as quarto 1.6? |
I am also not clear what specific quarto version that CRAN is installing in their systems for checks. Is that documented somewhere? |
Quarto devs are planning for a quick fix quarto-dev/quarto-cli#11224 (comment) so maybe we sit tight. |
Yes we have a fix that should sove the problem for pkgdown. We'll do a patch release.
Though I am like you and I don't know for sure if CRAN update Quarto at each stable release we do |
FYI we merge a fix in Quarto, including for a patch release. So next 1.6 and 1.7 will not have the problem that impact pkgdown. |
Thanks @cderv for the quick fix! Will leave this open until we confirm it's fixed in the next patch release of quarto. |
With the pre-release version of quarto the page title has a glitch, it's in a different div
<header id="title-block-header" class="quarto-title-block">)
instead of the previous<div class="page-header">
. This causes the Source link to be placed above the title:release version on
gh-pages
:same version rendered with quarto 1.6.37:
The
page-header
div is still there with the logo and the source code link, but the title is missing:<h1></h1>
It remains the same with specifying
The text was updated successfully, but these errors were encountered: