Skip to content

quarto_publish_app() always publishes index.qmd if that exists in the directory #24

Open
@mine-cetinkaya-rundel

Description

@mine-cetinkaya-rundel

Here is a directory/repo with three files:

  • a-without-shiny.qmd: Quarto doc without Shiny
  • b-with-shiny.qmd: Quarto doc with Shiny
  • index.qmd: Quarto doc without Shiny

If I run quarto::quarto_publish_app("b-with-shiny.qmd", account = "minecr"), the deployed doc is called b-with-shiny but it actually contains the contents of index.qmd: https://minecr.shinyapps.io/b-with-shiny/.

I have a-without-shiny.qmd in this repo because my original guess was that it publishes the document that comes alphabetically first, but I think it just publishes index.qmd if it exists, otherwise it publishes the correct one. This seems like a bug to me, it should publish the document provided in the call, despite index.qmd being special.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions