Skip to content

search.json not generated when all website pages use format: dashboard #14756

Description

@mschnetzer

Quarto's website search index (search.json) is never generated when every page in a type: website project uses format: dashboard, even with website.search: true explicitly set. Adding at least one non-dashboard page causes search.json to appear again, but it still only indexes the non-dashboard pages — dashboard pages themselves are never included.

Reproduction

_quarto.yml:

project:
  type: website

website:
  title: "Test"
  search: true

index.qmd:

---
title: home
format: dashboard
---

## Row

​```{r}
1+1
​```

Run quarto render. Expected: _site/search.json exists and indexes index.qmd. Actual: no search.json is created at all.

Adding a second dashboard page (format: dashboard) does not change this. Only adding a non-dashboard .qmd page causes search.json to reappear — but only that page's content is indexed, not the dashboards.

Environment: Quarto 1.9.38, macOS.

Any help appreciated, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions