Skip to content

docs: relocate book-vs-website key note so it is reachable from the Analytics anchor - #2186

Open
cderv wants to merge 3 commits into
prereleasefrom
book-website-key-note
Open

docs: relocate book-vs-website key note so it is reachable from the Analytics anchor#2186
cderv wants to merge 3 commits into
prereleasefrom
book-website-key-note

Conversation

@cderv

@cderv cderv commented Sep 11, 2026

Copy link
Copy Markdown
Member

quarto-dev/quarto-cli#14879 reported that book: plausible-analytics has no effect in a book project. The underlying config bug is fixed in quarto-dev/quarto-cli#14881, but the report also pointed at a real docs gap: the rule that book projects use book: instead of website: for these options was already documented in the book-vs-website key note, just not where a reader lands. The note sat under Social Metadata while Analytics is roughly 150 lines further down, so a reader arriving directly at the Analytics anchor never saw it.

This moves the note to a page-level intro so its generalizing sentence ("substitute book for website") actually holds for the whole page as written, and adds a short pointer inside Analytics for readers who land there via a deep link rather than reading top-down. The book-vs-website example also gains a plausible-analytics key so it concretely covers the reported case.

This note is accurate from 1.11 onward (the fix in quarto-dev/quarto-cli#14881), so it targets prerelease rather than main.

Related to quarto-dev/quarto-cli#14879, quarto-dev/quarto-cli#14881.

…nalytics anchor

The rule that book projects use `book:` instead of `website:` for these options was already documented, but the include lived under Social Metadata while Analytics sits roughly 150 lines further down. A reader landing directly on the Analytics anchor never saw it. Move the note to a page-level intro so the generalizing sentence actually applies page-wide as written, and add a short pointer inside Analytics for readers who land there via a deep link. Also add `plausible-analytics` to the book-vs-website example so it concretely covers the reported case.

Companion to quarto-dev/quarto-cli#14881, which fixes the underlying config bug reported in quarto-dev/quarto-cli#14879.
@github-actions

Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2186.quarto.org

🔄 Modified Documents

Comment thread docs/books/_book-vs-website-key.qmd Outdated
@github-actions

Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2186.quarto.org

🔄 Modified Documents

Comment thread docs/books/_book-vs-website-key.qmd Outdated
@github-actions

Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2186.quarto.org

🔄 Modified Documents

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant