rsconnect-python icon indicating copy to clipboard operation
rsconnect-python copied to clipboard

quarto: default name should default to directory name when using index.qmd

Open aronatkins opened this issue 1 year ago • 2 comments

mkdir VeryInteresting
cd VeryInteresting
echo "very interesting" > index.qmd
rsconnect deploy quarto index.qmd

The content name should default to "VeryInteresting" rather than "index".

aronatkins avatar Feb 01 '24 19:02 aronatkins

Alternatively, extract the title from the YAML preamble.

aronatkins avatar Mar 01 '24 22:03 aronatkins

When deploying with an _quarto.yml file, extract the title from that file, if available, falling back to the title in the index.qmd.

aronatkins avatar Mar 01 '24 22:03 aronatkins