Skip to content
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

profiles: What should happen with partial renders? #11985

Open
cscheid opened this issue Jan 29, 2025 · 1 comment
Open

profiles: What should happen with partial renders? #11985

cscheid opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
bug Something isn't working projects

Comments

@cscheid
Copy link
Collaborator

cscheid commented Jan 29, 2025

From an exchange in our internal Slack

to me it’s simply wrong doing but here is an example:

$ quarto create project website
_quarto.yml
project:
  type: website

website:
  title: "demo"
  announcement: 
    icon: info-circle
    dismissable: true
    content: "**Alert** - this is some information that you should pay attention to"
    type: primary
  navbar:
    left:
      - text: Home
        href: index.html
      - text: About
        href: about.html
    right:
      - about.qmd
      - icon: github
        href: https://github.com/
      - icon: twitter
        href: https://twitter.com/
format:
  html:
    theme:
      - cosmo
      - brand
    css: styles.css
_quarto-preview.yml
project:
  type: website

website:
  title: "demo"
  announcement: 
    icon: info-circle
    dismissable: true
    content: "**Preview** "
    type: danger
  navbar:
    left:
      - text: Home
        href: index.html
format:
  html:
    theme:
      - vapor
      - brand
    css: styles.css

Then:

quarto render

quarto render index.qmd --profile preview

You get a “working” website.

You don’t get the “preview” navigation, the styling and the announcement bar.
@cscheid cscheid self-assigned this Jan 29, 2025
@cscheid cscheid added projects bug Something isn't working labels Jan 29, 2025
@mcanouil
Copy link
Collaborator

If needed I have the example in:

Published at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working projects
Projects
None yet
Development

No branches or pull requests

2 participants